0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-01-03 05:00:13 -05:00

Merge branch 'npm' of https://github.com/shiawuen/Squire into shiawuen-npm

This commit is contained in:
Neil Jenkins 2015-05-09 17:27:27 +07:00
commit c524772a63
4 changed files with 18 additions and 4 deletions

6
.npmignore Normal file
View file

@ -0,0 +1,6 @@
Makefile
.jshintrc
.gitignore
.editorconfig
bower.json
source/

View file

@ -3609,7 +3609,11 @@ if ( top !== win ) {
win.onEditorLoad = null; win.onEditorLoad = null;
} }
} else { } else {
win.Squire = Squire; if ( typeof exports === 'object' ) {
module.exports = Squire;
} else {
win.Squire = Squire;
}
} }
}( document ) ); }( document ) );

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,11 @@ if ( top !== win ) {
win.onEditorLoad = null; win.onEditorLoad = null;
} }
} else { } else {
win.Squire = Squire; if ( typeof exports === 'object' ) {
module.exports = Squire;
} else {
win.Squire = Squire;
}
} }
}( document ) ); }( document ) );