Use browserify.

This commit is contained in:
Hyunje Alex Jun
2015-01-15 22:44:17 +00:00
parent c0cf399841
commit 74fc0daf49
10 changed files with 922 additions and 40 deletions

View File

@@ -3,17 +3,7 @@
*/
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
}
factory(jQuery);
})(function ($) {
'use strict';