Skip to content

Commit b180b08

Browse files
committed
Removed named module as this causes portability issues when using r.js
config should specify location of module
1 parent 9db76df commit b180b08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
} else if (typeof exports !== 'undefined') {
438438
exports.CrossStorageClient = CrossStorageClient;
439439
} else if (typeof define === 'function' && define.amd) {
440-
define('CrossStorageClient', [], function() {
440+
define([], function() {
441441
return CrossStorageClient;
442442
});
443443
} else {

lib/hub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
} else if (typeof exports !== 'undefined') {
262262
exports.CrossStorageHub = CrossStorageHub;
263263
} else if (typeof define === 'function' && define.amd) {
264-
define('CrossStorageHub', [], function() {
264+
define([], function() {
265265
return CrossStorageHub;
266266
});
267267
} else {

0 commit comments

Comments
 (0)