That's easy. If you deploy the "add-script" key, you can basically place the corresponding script file anywhere you want (as long as its URI is accessible to the running app). A good place is your app's source/resource/<namespace> path. This way it doesn't get linted at all (resources are not lint checked). Add a #asset(<namespace>/path/to/deferred.js) to your main class, so the file gets copied to the build version as well. This way you can use the same add-script directive for both source and build.
T. > Hello everyone, > > I have kinda newbish question. I would like to attach library > https://github.com/heavylifters/deferred-js to my qooxdoo application > build. It's support for promise object which I really miss in qooxdoo. > It's mostly old fashioned javascript using prototype feature. > > For now i had used "add-script" in config.json which makes the library > accessible and fully working. However checking with Lint gives ugly > notices which i would like to go away. > > So is there some other way than rewriting whole library to qooxdoo class > system ? I was trying to use Manifest.json, but it's probably not the > right way, because I cannot tell there which file to load, or can I ? > > Thanks for the help. > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
