Sha256: dd8cf2bbc2708da2877646f1ebd9f80adb0debdc57f4b0d13b0209dfbedf270d
Contents?: true
Size: 1.4 KB
Versions: 5
Compression:
Stored size: 1.4 KB
Contents
(function() { var rootPath = '../../../../extjs/', bootstrap; bootstrap = this.TestBootstrap = { rootPath: rootPath, disableCaching: window.location.search.match('(\\?|&)disableCacheBuster=true') === null, cacheBuster: function() { return ((this.disableCaching) ? ('?' + (new Date()).getTime()) : ''); }, loadScript: function(path) { document.write('<script type="text/javascript" src="' + rootPath + path + this.cacheBuster() + '"></script>'); }, loadSpecs: function(callback) { bootstrap.afterAllSpecsAreLoaded = callback; bootstrap.pendingSpecs = 0; bootstrap.loadedSpecs = 0; Ext.Array.each(ExtSpecs, function(spec) { bootstrap.pendingSpecs++; Ext.Loader.injectScriptElement(spec + bootstrap.cacheBuster(), bootstrap.afterSpecLoad, bootstrap.afterSpecLoad, bootstrap); }); }, afterSpecLoad: function() { bootstrap.loadedSpecs++; if (bootstrap.loadedSpecs == bootstrap.pendingSpecs) { bootstrap.afterAllSpecsAreLoaded(); } } }; bootstrap.loadScript('../testreporter/deploy/testreporter/jasmine.js'); bootstrap.loadScript('../platform/core/test/unit/data.js'); bootstrap.loadScript('ext.js'); })();
Version data entries
5 entries across 5 versions & 1 rubygems