Skip to content

Commit f2a4868

Browse files
committed
fix: #1822 - don't uglify non-min dist files
1 parent 542d605 commit f2a4868

23 files changed

+4244
-46
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ module.exports = function (grunt) {
7979

8080
// write output
8181
path = "build/js/standalone/selectize.js";
82+
path_dist = "dist/js/standalone/selectize.js";
8283
grunt.file.write(path, modules.join("\n\n"));
84+
grunt.file.write(path_dist, modules.join("\n\n"));
8385
grunt.log.writeln('Built "' + path + '".');
8486
});
8587

@@ -328,7 +330,6 @@ module.exports = function (grunt) {
328330
},
329331
files: {
330332
"dist/js/selectize.min.js": ["build/js/selectize.js"],
331-
"dist/js/standalone/selectize.js": ["build/js/standalone/selectize.js",],
332333
"dist/js/standalone/selectize.min.js": ["build/js/standalone/selectize.js",],
333334
},
334335
},

dist/css/selectize.bootstrap2.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
1919
visibility: visible !important;

dist/css/selectize.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.legacy.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
1919
visibility: visible !important;

dist/js/standalone/selectize.js

Lines changed: 4199 additions & 2 deletions
Large diffs are not rendered by default.

dist/less/selectize.bootstrap2.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
@import "selectize";
@@ -160,4 +160,4 @@
160160
}
161161
}
162162
}
163-
}
163+
}

dist/less/selectize.bootstrap3.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
@import "selectize";

dist/less/selectize.default.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
@import "selectize";
@@ -83,4 +83,4 @@
8383
border-top: 0 none;
8484
}
8585
}
86-
}
86+
}

dist/less/selectize.legacy.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
@import "selectize";
@@ -74,4 +74,4 @@
7474
border-bottom: 1px solid @selectize-color-dropdown-border-top;
7575
border-top: 1px solid @selectize-color-dropdown-border-top;
7676
}
77-
}
77+
}

dist/scss/selectize.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v0.13.5)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:

src/.wrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.js (v@@version)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
/*jshint curly:false */

src/less/.wrapper.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v@@version)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

19-
@@css
19+
@@css

src/less/selectize.bootstrap2.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v@@version)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
@import "selectize";
@@ -160,4 +160,4 @@
160160
}
161161
}
162162
}
163-
}
163+
}

src/less/selectize.bootstrap3.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* selectize.css (v@@version)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
4-
* Copyright (c) 2020 Selectize Team & contributors
4+
* Copyright (c) 2020-2022 Selectize Team & contributors
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
77
* file except in compliance with the License. You may obtain a copy of the License at:
@@ -13,7 +13,7 @@
1313
* governing permissions and limitations under the License.
1414
*
1515
* @author Brian Reavis <brian@thirdroute.com>
16-
* @author Ris Adams <selectize@risadams.com>
16+
* @author Ris Adams <selectize@risadams.com>
1717
*/
1818

1919
@import "selectize";

0 commit comments

Comments
 (0)