Adding core.js polyfill for IE11 Promises support. Fixes #609.

pull/662/head
Jordan Wright 2017-06-19 11:15:28 -05:00
parent 80c68194a6
commit dd905ecb3a
3 changed files with 37 additions and 22 deletions

View File

@ -46,7 +46,8 @@ gulp.task('build', function() {
vendor_directory + 'jquery.iframe-transport.js',
vendor_directory + 'sweetalert2.min.js',
vendor_directory + 'bootstrap-datetime.js',
vendor_directory + 'select2.min.js'
vendor_directory + 'select2.min.js',
vendor_directory + 'core.min.js'
])
.pipe(concat('vendor.js'))
.pipe(rename({
@ -60,7 +61,9 @@ gulp.task('build', function() {
.pipe(rename({
suffix: '.min'
}))
.pipe(uglify())
.pipe(uglify().on('error', function(e){
console.log(e);
}))
.pipe(gulp.dest(dest_js_directory + 'app/'));
return gulp.src([

File diff suppressed because one or more lines are too long

10
static/js/src/vendor/core.min.js vendored Normal file

File diff suppressed because one or more lines are too long