This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var PackageLoader = function() { | |
| this.cb = Math.random(0, 100000000000); | |
| this.current = 0; | |
| this.batches = []; | |
| // Load kicks off the entire loading process. | |
| this.load = function(config, loadMap, onload) { | |
| var scope = this; | |
| for(label in loadMap) { | |
| scope.batches.push(new PackageBatch(label, loadMap[label])); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var PackageLoader = function() { | |
| this.cb = Math.random(0, 100000000000); | |
| this.current = 0; | |
| this.batches = []; | |
| // Load kicks off the entire loading process. | |
| this.load = function(config, loadMap, onload) { | |
| var scope = this; | |
| for(label in loadMap) { | |
| scope.batches.push(new PackageBatch(label, loadMap[label])); |