[API] Load bundles from imperative registry
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
/*global define*/
|
||||
|
||||
define(function () {
|
||||
'use strict';
|
||||
|
||||
function BundleRegistry() {
|
||||
this.bundles = {};
|
||||
}
|
||||
@@ -38,5 +40,9 @@ define(function () {
|
||||
return this.bundles[path];
|
||||
};
|
||||
|
||||
BundleRegistry.prototype.list = function () {
|
||||
return Object.keys(this.bundles);
|
||||
};
|
||||
|
||||
return BundleRegistry;
|
||||
});
|
||||
Reference in New Issue
Block a user