Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
bulk export sfx support, 0.13.6
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 13, 2015
1 parent 4e00229 commit 70744ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "systemjs-builder",
"version": "0.13.5",
"version": "0.13.6",
"description": "SystemJS Build Tool",
"main": "index.js",
"dependencies": {
Expand Down
9 changes: 8 additions & 1 deletion templates/sfx-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,14 @@

var declaration = entry.declare.call(global, function(name, value) {
module.locked = true;
exports[name] = value;

if (typeof name == 'object') {
for (var p in name)
exports[p] = name[p];
}
else {
exports[name] = value;
}

for (var i = 0, l = module.importers.length; i < l; i++) {
var importerModule = module.importers[i];
Expand Down

0 comments on commit 70744ea

Please sign in to comment.