Chris Leonello avatar Chris Leonello committed 3e31640

Experimented with different loaders. Problems when trying to chain loaders within loaders.

Comments (0)

Files changed (1)

src/jquery.jqplot.js

  * are concated together in the distribution.
  * 
  */
- 
+
 (function(){
     var getRootNode = function(){
         // figure out the path to this loader
     };
 
 
+// if (window.$LAB === undefined) {
+//     var _script = document.createElement('script');
+//     _script.type = "text/javascript";
+//     _script.src = "LAB.min.js";
+//     document.getElementsByTagName("head")[0].appendChild(_script);
+//     _script = null;
+// }
+
+// var $_loader = $LAB.sandbox();
+
+// var bp = getRootNode().root;
+// console.log(bp);
+
+// $_loader.setOptions({BasePath:bp})
+// .script('jqplot.core.js').wait()
+// .script('jqplot.linearTickGenerator.js')
+// .script('jqplot.linearAxisRenderer.js')
+// .script('jqplot.axisTickRenderer.js')
+// .script('jqplot.axisLabelRenderer.js')
+// .script('jqplot.tableLegendRenderer.js')
+// .script('jqplot.lineRenderer.js')
+// .script('jqplot.lineRenderer.js')
+// .script('jqplot.markerRenderer.js')
+// .script('jqplot.divTitleRenderer.js')
+// .script('jqplot.canvasGridRenderer.js')
+// .script('jqplot.linePattern.js')
+// .script('jqplot.shadowRenderer.js')
+// .script('jqplot.shapeRenderer.js')
+// .script('jqplot.themeEngine.js')
+// .script('jsdate.js')
+// .script('jqplot.sprintf.js')
+// .script('jqplot.effects.core').wait()
+// .script('jqplot.effects.blind.js');
+
+
+// if (!window.LazyLoad) {
+//     var _script = document.createElement('script');
+//     _script.type = "text/javascript";
+//     _script.src = "lazyload-min.js";
+//     document.getElementsByTagName("head")[0].appendChild(_script);
+//     _script = null;
+// }
+
+// LazyLoad.js(['jqplot.core.js', 'jqplot.linearTickGenerator.js', 'jqplot.linearAxisRenderer.js', 'jqplot.axisTickRenderer.js', 'jqplot.axisLabelRenderer.js', 'jqplot.tableLegendRenderer.js', 'jqplot.lineRenderer.js', 'jqplot.markerRenderer.js', 'jqplot.divTitleRenderer.js', 'jqplot.canvasGridRenderer.js', 'jqplot.linePattern.js', 'jqplot.shadowRenderer.js', 'jqplot.shapeRenderer.js', 'jqplot.sprintf.js', 'jsdate.js', 'jqplot.themeEngine.js', 'jqplot.toImage.js', 'jqplot.effects.core.js', 'jqplot.effects.blind.js']);
+
+
     var files = ['jqplot.core.js', 'jqplot.linearTickGenerator.js', 'jqplot.linearAxisRenderer.js', 'jqplot.axisTickRenderer.js', 'jqplot.axisLabelRenderer.js', 'jqplot.tableLegendRenderer.js', 'jqplot.lineRenderer.js', 'jqplot.markerRenderer.js', 'jqplot.divTitleRenderer.js', 'jqplot.canvasGridRenderer.js', 'jqplot.linePattern.js', 'jqplot.shadowRenderer.js', 'jqplot.shapeRenderer.js', 'jqplot.sprintf.js', 'jsdate.js', 'jqplot.themeEngine.js', 'jqplot.toImage.js', 'jqplot.effects.core.js', 'jqplot.effects.blind.js'];
     var rn = getRootNode().root;
     for (var i=0; i<files.length; i++) {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.