Commit e8e54687 authored by Wikiki's avatar Wikiki

[Prerelease] Bumped version number

parent d119e204
<a name="1.0.10"></a>
## [1.0.10](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.9...1.0.10) (2018-05-31)
### Bug Fixes
* options on attach method ([942d936](https://github.com/Wikiki/bulma-tagsinput/commit/942d936))
<a name="1.0.9"></a>
## [1.0.9](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.8...1.0.9) (2018-05-31)
......
......@@ -2,7 +2,7 @@
"name": "bulma-tagsinput",
"description": "Bulma.io extension to add interaction on input tags",
"main": "tagsinput.sass",
"version": "1.0.9",
"version": "1.0.10",
"authors": [
"Wikiki <wikiki@protonmail.com> (https://wikiki.github.io)"
],
......
......@@ -52,16 +52,16 @@ class Tagify {
* @method
* @return {Array} Array of all TagsInput instances
*/
static attach(selector = 'input[type="tags"]') {
let tagsinputlInstances = new Array();
static attach(selector = 'input[type="tags"]', options = {}) {
let tagsinputsInstances = new Array();
const tagsinputs = document.querySelectorAll(selector);
[].forEach.call(tagsinputs, tagsinput => {
setTimeout(() => {
tagsinputlInstances.push(new Tagify(tagsinput));
tagsinputsInstances.push(new Tagify(tagsinput, options));
}, 100);
});
return tagsinputlInstances;
return tagsinputsInstances;
}
init() {
......
This diff is collapsed.
{
"name": "bulma-tagsinput",
"version": "1.0.9",
"version": "1.0.10",
"description": "Bulma.io extension to add interaction on input tags",
"main": "dist/bulma-tagsinput.sass",
"scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment