Skip to content

Commit

Permalink
fix: #1822 - don't uglify non-min dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
risadams committed Jul 9, 2022
1 parent 542d605 commit f2a4868
Show file tree
Hide file tree
Showing 23 changed files with 4,244 additions and 46 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ module.exports = function (grunt) {

// write output
path = "build/js/standalone/selectize.js";
path_dist = "dist/js/standalone/selectize.js";
grunt.file.write(path, modules.join("\n\n"));
grunt.file.write(path_dist, modules.join("\n\n"));
grunt.log.writeln('Built "' + path + '".');
});

Expand Down Expand Up @@ -328,7 +330,6 @@ module.exports = function (grunt) {
},
files: {
"dist/js/selectize.min.js": ["build/js/selectize.js"],
"dist/js/standalone/selectize.js": ["build/js/standalone/selectize.js",],
"dist/js/standalone/selectize.min.js": ["build/js/standalone/selectize.js",],
},
},
Expand Down
4 changes: 2 additions & 2 deletions dist/css/selectize.bootstrap2.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
visibility: visible !important;
Expand Down
6 changes: 3 additions & 3 deletions dist/css/selectize.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/css/selectize.legacy.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
visibility: visible !important;
Expand Down
4,201 changes: 4,199 additions & 2 deletions dist/js/standalone/selectize.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/less/selectize.bootstrap2.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@import "selectize";
Expand Down Expand Up @@ -160,4 +160,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions dist/less/selectize.bootstrap3.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@import "selectize";
Expand Down
6 changes: 3 additions & 3 deletions dist/less/selectize.default.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@import "selectize";
Expand Down Expand Up @@ -83,4 +83,4 @@
border-top: 0 none;
}
}
}
}
6 changes: 3 additions & 3 deletions dist/less/selectize.legacy.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@import "selectize";
Expand Down Expand Up @@ -74,4 +74,4 @@
border-bottom: 1px solid @selectize-color-dropdown-border-top;
border-top: 1px solid @selectize-color-dropdown-border-top;
}
}
}
2 changes: 1 addition & 1 deletion dist/scss/selectize.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v0.13.5)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand Down
4 changes: 2 additions & 2 deletions src/.wrapper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.js (v@@version)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

/*jshint curly:false */
Expand Down
6 changes: 3 additions & 3 deletions src/less/.wrapper.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v@@version)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@@css
@@css
6 changes: 3 additions & 3 deletions src/less/selectize.bootstrap2.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v@@version)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@import "selectize";
Expand Down Expand Up @@ -160,4 +160,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions src/less/selectize.bootstrap3.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* selectize.css (v@@version)
* Copyright (c) 2013–2015 Brian Reavis & contributors
* Copyright (c) 2020 Selectize Team & contributors
* Copyright (c) 2020-2022 Selectize Team & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
Expand All @@ -13,7 +13,7 @@
* governing permissions and limitations under the License.
*
* @author Brian Reavis <[email protected]>
* @author Ris Adams <[email protected]>
* @author Ris Adams <[email protected]>
*/

@import "selectize";
Expand Down
Loading

0 comments on commit f2a4868

Please sign in to comment.