Skip to content

Commit

Permalink
Fix globals builds.
Browse files Browse the repository at this point in the history
Globals should be defined as "default" member from requireModule().
  • Loading branch information
dgeb committed Mar 17, 2015
1 parent f004edc commit 2200fef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-support/globalize-orbit-common-jsonapi.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
window.OC.JSONAPISource = requireModule("orbit-common/jsonapi-source");
window.OC.JSONAPISerializer = requireModule("orbit-common/jsonapi-serializer");
window.OC.JSONAPISource = requireModule("orbit-common/jsonapi-source")["default"];
window.OC.JSONAPISerializer = requireModule("orbit-common/jsonapi-serializer")["default"];
2 changes: 1 addition & 1 deletion build-support/globalize-orbit-common-local-storage.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
window.OC.LocalStorageSource = requireModule("orbit-common/local-storage-source");
window.OC.LocalStorageSource = requireModule("orbit-common/local-storage-source")["default"];
2 changes: 1 addition & 1 deletion build-support/globalize-orbit-common.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
window.OC = requireModule("orbit-common");
window.OC = requireModule("orbit-common")["default"];
2 changes: 1 addition & 1 deletion build-support/globalize-orbit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var Orbit = requireModule("orbit");
var Orbit = requireModule("orbit")["default"];

// Globalize loader properties for use by other Orbit packages
Orbit.__define__ = define;
Expand Down

0 comments on commit 2200fef

Please sign in to comment.