Skip to content

Commit 3dc07d4

Browse files
committed
Released 0.12.1.
1 parent b9cd3f6 commit 3dc07d4

16 files changed

+26
-28
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "selectize",
33
"keywords": ["select", "ui", "form", "input", "control", "autocomplete", "tagging", "tag"],
44
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
5-
"version": "0.12.0",
5+
"version": "0.12.1",
66
"license": "Apache License, Version 2.0",
77
"readmeFilename": "README.md",
88
"repository": {

dist/css/selectize.bootstrap2.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap2.css (v0.12.0) - Bootstrap 2 Theme
2+
* selectize.bootstrap2.css (v0.12.1) - Bootstrap 2 Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.bootstrap3.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap3.css (v0.12.0) - Bootstrap 3 Theme
2+
* selectize.bootstrap3.css (v0.12.1) - Bootstrap 3 Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.css (v0.12.0)
2+
* selectize.css (v0.12.1)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.default.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.default.css (v0.12.0) - Default Theme
2+
* selectize.default.css (v0.12.1) - Default Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.legacy.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.legacy.css (v0.12.0) - Default Theme
2+
* selectize.legacy.css (v0.12.1) - Default Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/js/selectize.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.js (v0.12.0)
2+
* selectize.js (v0.12.1)
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
@@ -1212,7 +1212,7 @@
12121212
var events = silent ? [] : ['change'];
12131213

12141214
debounce_events(this, events, function() {
1215-
this.clear();
1215+
this.clear(silent);
12161216
this.addItems(value, silent);
12171217
});
12181218
},
@@ -1882,7 +1882,7 @@
18821882
}
18831883

18841884
if (!self.options.hasOwnProperty(value)) return;
1885-
if (inputMode === 'single') self.clear();
1885+
if (inputMode === 'single') self.clear(silent);
18861886
if (inputMode === 'multi' && self.isFull()) return;
18871887

18881888
$item = $(self.render('item', self.options[value]));
@@ -2640,8 +2640,6 @@
26402640
var field_optgroup_label = settings.optgroupLabelField;
26412641
var field_optgroup_value = settings.optgroupValueField;
26422642

2643-
var optionsMap = {};
2644-
26452643
/**
26462644
* Initializes selectize from a <input type="text"> element.
26472645
*
@@ -2681,6 +2679,7 @@
26812679
var init_select = function($input, settings_element) {
26822680
var i, n, tagName, $children, order = 0;
26832681
var options = settings_element.options;
2682+
var optionsMap = {};
26842683

26852684
var readData = function($el) {
26862685
var data = attr_data && $el.attr(attr_data);

dist/js/selectize.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/standalone/selectize.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@
608608
}));
609609

610610
/**
611-
* selectize.js (v0.12.0)
611+
* selectize.js (v0.12.1)
612612
* Copyright (c) 2013–2015 Brian Reavis & contributors
613613
*
614614
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
@@ -1821,7 +1821,7 @@
18211821
var events = silent ? [] : ['change'];
18221822

18231823
debounce_events(this, events, function() {
1824-
this.clear();
1824+
this.clear(silent);
18251825
this.addItems(value, silent);
18261826
});
18271827
},
@@ -2491,7 +2491,7 @@
24912491
}
24922492

24932493
if (!self.options.hasOwnProperty(value)) return;
2494-
if (inputMode === 'single') self.clear();
2494+
if (inputMode === 'single') self.clear(silent);
24952495
if (inputMode === 'multi' && self.isFull()) return;
24962496

24972497
$item = $(self.render('item', self.options[value]));
@@ -3249,8 +3249,6 @@
32493249
var field_optgroup_label = settings.optgroupLabelField;
32503250
var field_optgroup_value = settings.optgroupValueField;
32513251

3252-
var optionsMap = {};
3253-
32543252
/**
32553253
* Initializes selectize from a <input type="text"> element.
32563254
*
@@ -3290,6 +3288,7 @@
32903288
var init_select = function($input, settings_element) {
32913289
var i, n, tagName, $children, order = 0;
32923290
var options = settings_element.options;
3291+
var optionsMap = {};
32933292

32943293
var readData = function($el) {
32953294
var data = attr_data && $el.attr(attr_data);

dist/js/standalone/selectize.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/less/selectize.bootstrap2.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap2.css (v0.12.0) - Bootstrap 2 Theme
2+
* selectize.bootstrap2.css (v0.12.1) - Bootstrap 2 Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/less/selectize.bootstrap3.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap3.css (v0.12.0) - Bootstrap 3 Theme
2+
* selectize.bootstrap3.css (v0.12.1) - Bootstrap 3 Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/less/selectize.default.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.default.css (v0.12.0) - Default Theme
2+
* selectize.default.css (v0.12.1) - Default Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/less/selectize.legacy.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.legacy.css (v0.12.0) - Default Theme
2+
* selectize.legacy.css (v0.12.1) - Default Theme
33
* Copyright (c) 2013–2015 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"main": "dist/js/selectize.js",
1414
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
15-
"version": "0.12.0",
15+
"version": "0.12.1",
1616
"author": "Brian Reavis <brian@thirdroute.com>",
1717
"repository": {
1818
"type": "git",

selectize.jquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "selectize",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"title": "Selectize.js",
55
"author": {
66
"name": "Brian Reavis",

0 commit comments

Comments
 (0)