Commit a640ac95 authored by Wikiki's avatar Wikiki

Merge tag 'ES6Transpilation' into develop

Replace IIFE output by UMD
parents 9e676cf3 f5d2d7a1
var bulmaTagsinput = (function () {
'use strict';
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define('bulmaTagsinput', factory) :
(global.bulmaTagsinput = factory());
}(this, (function () { 'use strict';
if (typeof Object.assign != 'function') {
// Must be writable: true, enumerable: false, configurable: true
......@@ -363,4 +366,4 @@ document.addEventListener( 'DOMContentLoaded', function () {
return Tagify;
}());
})));
This diff is collapsed.
......@@ -106,7 +106,7 @@ gulp.task('build:scripts', function() {
]
})]
}, {
format: gutil.env.jsFormat ? gutil.env.jsFormat : 'iife',
format: gutil.env.jsFormat ? gutil.env.jsFormat : 'umd',
name: camelCase(package.name)
}
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment