Skip to content

Commit a15c706

Browse files
committed
Merge pull request #18 from pixeldrew/master
Removed named module as this causes portability issues when using r.js
2 parents 9db76df + b180b08 commit a15c706

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)