Skip to content

Commit 73f54cd

Browse files
paulkolbovichrisadams
authored andcommitted
fix source path in build_standalone Grunt task
1 parent aaa4c6b commit 73f54cd

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = function (grunt) {
6969
modules.push(source);
7070
}
7171

72-
path = "build/js/selectize.js";
72+
path = "dist/js/selectize.js";
7373
source = grunt.file
7474
.read(path)
7575
.replace(/define\((.*?)factory\);/, "define('selectize', $1factory);");
@@ -281,7 +281,7 @@ module.exports = function (grunt) {
281281
},
282282
},
283283
},
284-
connect: {
284+
connect: {
285285
server: {
286286
options: {
287287
port: 4000,

dist/js/selectize.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,7 @@
912912
* input / select element.
913913
*/
914914
onChange: function() {
915+
this.$input.trigger('input');
915916
this.$input.trigger('change');
916917
},
917918

@@ -1304,8 +1305,8 @@
13041305

13051306
/**
13061307
* Resets the number of max items to the given value
1307-
*
1308-
* @param {number} value
1308+
*
1309+
* @param {number} value
13091310
*/
13101311
setMaxItems: function(value){
13111312
if(value === 0) value = null; //reset to unlimited items.
@@ -1883,7 +1884,7 @@
18831884

18841885
/**
18851886
* Clears all options.
1886-
*
1887+
*
18871888
* @param {boolean} silent
18881889
*/
18891890
clearOptions: function(silent) {

dist/js/selectize.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/standalone/selectize.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)