Skip to content

Commit

Permalink
Released 0.12.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Apr 16, 2015
1 parent b9cd3f6 commit 3dc07d4
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 28 deletions.
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -2,7 +2,7 @@
"name": "selectize",
"keywords": ["select", "ui", "form", "input", "control", "autocomplete", "tagging", "tag"],
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
"version": "0.12.0",
"version": "0.12.1",
"license": "Apache License, Version 2.0",
"readmeFilename": "README.md",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/selectize.bootstrap2.css
@@ -1,5 +1,5 @@
/**
* selectize.bootstrap2.css (v0.12.0) - Bootstrap 2 Theme
* selectize.bootstrap2.css (v0.12.1) - Bootstrap 2 Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/css/selectize.bootstrap3.css
@@ -1,5 +1,5 @@
/**
* selectize.bootstrap3.css (v0.12.0) - Bootstrap 3 Theme
* selectize.bootstrap3.css (v0.12.1) - Bootstrap 3 Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/css/selectize.css
@@ -1,5 +1,5 @@
/**
* selectize.css (v0.12.0)
* selectize.css (v0.12.1)
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/css/selectize.default.css
@@ -1,5 +1,5 @@
/**
* selectize.default.css (v0.12.0) - Default Theme
* selectize.default.css (v0.12.1) - Default Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/css/selectize.legacy.css
@@ -1,5 +1,5 @@
/**
* selectize.legacy.css (v0.12.0) - Default Theme
* selectize.legacy.css (v0.12.1) - Default Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
9 changes: 4 additions & 5 deletions dist/js/selectize.js
@@ -1,5 +1,5 @@
/**
* selectize.js (v0.12.0)
* selectize.js (v0.12.1)
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down Expand Up @@ -1212,7 +1212,7 @@
var events = silent ? [] : ['change'];

debounce_events(this, events, function() {
this.clear();
this.clear(silent);
this.addItems(value, silent);
});
},
Expand Down Expand Up @@ -1882,7 +1882,7 @@
}

if (!self.options.hasOwnProperty(value)) return;
if (inputMode === 'single') self.clear();
if (inputMode === 'single') self.clear(silent);
if (inputMode === 'multi' && self.isFull()) return;

$item = $(self.render('item', self.options[value]));
Expand Down Expand Up @@ -2640,8 +2640,6 @@
var field_optgroup_label = settings.optgroupLabelField;
var field_optgroup_value = settings.optgroupValueField;

var optionsMap = {};

/**
* Initializes selectize from a <input type="text"> element.
*
Expand Down Expand Up @@ -2681,6 +2679,7 @@
var init_select = function($input, settings_element) {
var i, n, tagName, $children, order = 0;
var options = settings_element.options;
var optionsMap = {};

var readData = function($el) {
var data = attr_data && $el.attr(attr_data);
Expand Down
6 changes: 3 additions & 3 deletions dist/js/selectize.min.js

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions dist/js/standalone/selectize.js
Expand Up @@ -608,7 +608,7 @@
}));

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

debounce_events(this, events, function() {
this.clear();
this.clear(silent);
this.addItems(value, silent);
});
},
Expand Down Expand Up @@ -2491,7 +2491,7 @@
}

if (!self.options.hasOwnProperty(value)) return;
if (inputMode === 'single') self.clear();
if (inputMode === 'single') self.clear(silent);
if (inputMode === 'multi' && self.isFull()) return;

$item = $(self.render('item', self.options[value]));
Expand Down Expand Up @@ -3249,8 +3249,6 @@
var field_optgroup_label = settings.optgroupLabelField;
var field_optgroup_value = settings.optgroupValueField;

var optionsMap = {};

/**
* Initializes selectize from a <input type="text"> element.
*
Expand Down Expand Up @@ -3290,6 +3288,7 @@
var init_select = function($input, settings_element) {
var i, n, tagName, $children, order = 0;
var options = settings_element.options;
var optionsMap = {};

var readData = function($el) {
var data = attr_data && $el.attr(attr_data);
Expand Down
6 changes: 3 additions & 3 deletions dist/js/standalone/selectize.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/less/selectize.bootstrap2.less
@@ -1,5 +1,5 @@
/**
* selectize.bootstrap2.css (v0.12.0) - Bootstrap 2 Theme
* selectize.bootstrap2.css (v0.12.1) - Bootstrap 2 Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/less/selectize.bootstrap3.less
@@ -1,5 +1,5 @@
/**
* selectize.bootstrap3.css (v0.12.0) - Bootstrap 3 Theme
* selectize.bootstrap3.css (v0.12.1) - Bootstrap 3 Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/less/selectize.default.less
@@ -1,5 +1,5 @@
/**
* selectize.default.css (v0.12.0) - Default Theme
* selectize.default.css (v0.12.1) - Default Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion dist/less/selectize.legacy.less
@@ -1,5 +1,5 @@
/**
* selectize.legacy.css (v0.12.0) - Default Theme
* selectize.legacy.css (v0.12.1) - Default Theme
* Copyright (c) 2013–2015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -12,7 +12,7 @@
],
"main": "dist/js/selectize.js",
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
"version": "0.12.0",
"version": "0.12.1",
"author": "Brian Reavis <brian@thirdroute.com>",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion selectize.jquery.json
@@ -1,6 +1,6 @@
{
"name": "selectize",
"version": "0.12.0",
"version": "0.12.1",
"title": "Selectize.js",
"author": {
"name": "Brian Reavis",
Expand Down

0 comments on commit 3dc07d4

Please sign in to comment.