| Page 1 of 1 | [ 3 posts ] |
|
(I posted the same in Gallery Forums, which I realized is the wrong forum, hence reposting here)
Hi, I am YUI newbie (actually also a JS and a Firefox extenion newbie) and trying to evaluate if YUI can be used inside a Firefox extension and I have the following questions : 1. Has it been done before? If yes, any pointers will be appreciated. If not, any suggestions on how to proceed. I am thinking of using the NodeJS support as a starting point and guess YUI.Get and YUI.Log need to be written to work with Firefox Extension APIs. 2. There's a project 'nodejs-yui3' and yui3 also has some NodeJS files? Which one is most uptodate for usage within NodeJS? 3. How to build a version of YUI that works in NodeJS? 4. Any instructions on how to deploy the build files on a local web server? Can the entire contents of build directory be copied 'as is' and will work? If these questions have been asked before and responded, my apologies. Thanks, Sunil |
|
I don't know about Firefox extensions, but I can answer for NodeJS. Use npm to install yui3 and yui3-core. Then you can do this:
var YUI = require('yui3').YUI; YUI().use(..., function(Y) {...}); |
Juan Ignacio DopazoYUI Contributor
|
I haven't used YUI in Firefox extensions, but I have tested it in Chrome extensions. Chrome extensions are very similar to the ones created from the Mozilla Add-on Builder. So using the Add-on Builder and YUI should be straightforward.
|
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group