On 05/15/2012 10:47 AM, Tobias Oetiker wrote: > Hi Derrell, > > Today Martin Wittemann wrote: > >> I would try to pul all files ace offers in to the resource folder >> of that library. Maybe you can even include these files via your >> version control system and update them directly. Having them >> there, you can offer a method which uses the script loader to >> load the files from the resource folder and offer a callback / >> event as soon as everything is ready to run. I guess you have >> already tried that or thought about such an approach? > maybe my QxJqPlot contrib can give you some ideas ... > > http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/QxProtovis/
What QxJqPlot shows (corrected link: http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/QxJqPlot) is: * you have all the ace files in the resource path of the library * you have an interface class (qxjqplot.Plot in the example) that #require's the resources (#require(jqPlot/*) in the example) * the interface class takes care of loading the resources (in the 'construct' member in the case of qxjqplot.Plot) T. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
