mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Add support for the AMD
This commit is contained in:
parent
b3b113908a
commit
aac169f764
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
|||
if ( typeof exports === 'object' ) {
|
||||
module.exports = Squire;
|
||||
} else if ( typeof define === 'function' && define.amd ) {
|
||||
define( function() {
|
||||
define( function () {
|
||||
return Squire;
|
||||
} );
|
||||
});
|
||||
} else {
|
||||
win.Squire = Squire;
|
||||
|
||||
|
|
Loading…
Reference in a new issue