mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
commit
abad169f4b
@ -63,7 +63,8 @@ module.exports = function(grunt) {
|
||||
|
||||
uglify: {
|
||||
options: {
|
||||
banner: '<%= banner %>'
|
||||
banner: '<%= banner %>',
|
||||
report: 'min'
|
||||
},
|
||||
bootstrap: {
|
||||
src: ['<%= concat.bootstrap.dest %>'],
|
||||
|
@ -659,7 +659,7 @@ JSZip.prototype = (function () {
|
||||
if ( !this.files.hasOwnProperty(name) ) { continue; }
|
||||
var file = this.files[name];
|
||||
|
||||
var compressionName = file.compression || options.compression.toUpperCase();
|
||||
var compressionName = file.options.compression || options.compression.toUpperCase();
|
||||
var compression = JSZip.compressions[compressionName];
|
||||
if (!compression) {
|
||||
throw new Error(compressionName + " is not a valid compression method !");
|
||||
|
Loading…
Reference in New Issue
Block a user