0
Fork 0
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:
Je 2015-07-14 00:33:38 +08:00
parent b3b113908a
commit aac169f764

View file

@ -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;