Skip to content

Commit

Permalink
4.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Jul 9, 2022
1 parent 757e179 commit c6d9a20
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions dist/jQuery.tagify.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react.tagify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/tagify.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Tagify (v 4.13.0) - tags input component
* Tagify (v 4.13.1) - tags input component
* By Yair Even-Or
* https://github.com/yairEO/tagify
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -1052,8 +1052,8 @@ var templates = {
</tags>`;
},

tag(tagData, tagify) {
var _s = this.settings;
tag(tagData, _ref) {
let _s = _ref.settings;
return `<tag title="${tagData.title || tagData.value}"
contenteditable='false'
spellcheck='false'
Expand Down Expand Up @@ -3364,7 +3364,7 @@ Tagify.prototype = {
}, extraData)); // if( this.settings.readonly )
// tagData.readonly = true

tagElm = this.parseTemplate('tag', [templateData]); // crucial for proper caret placement when deleting content. if textNodes are allowed as children of
tagElm = this.parseTemplate('tag', [templateData, this]); // crucial for proper caret placement when deleting content. if textNodes are allowed as children of
// a tag element, a browser bug casues the caret to misplaced inside the tag element (especcially affects "readonly" tags)

removeTextChildNodes(tagElm); // while( tagElm.lastChild.nodeType == 3 )
Expand Down
8 changes: 4 additions & 4 deletions dist/tagify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Tagify (v 4.13.0) - tags input component
* Tagify (v 4.13.1) - tags input component
* By Yair Even-Or
* https://github.com/yairEO/tagify
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -1058,8 +1058,8 @@
</tags>`;
},

tag(tagData, tagify) {
var _s = this.settings;
tag(tagData, _ref) {
let _s = _ref.settings;
return `<tag title="${tagData.title || tagData.value}"
contenteditable='false'
spellcheck='false'
Expand Down Expand Up @@ -3370,7 +3370,7 @@
}, extraData)); // if( this.settings.readonly )
// tagData.readonly = true

tagElm = this.parseTemplate('tag', [templateData]); // crucial for proper caret placement when deleting content. if textNodes are allowed as children of
tagElm = this.parseTemplate('tag', [templateData, this]); // crucial for proper caret placement when deleting content. if textNodes are allowed as children of
// a tag element, a browser bug casues the caret to misplaced inside the tag element (especcially affects "readonly" tags)

removeTextChildNodes(tagElm); // while( tagElm.lastChild.nodeType == 3 )
Expand Down
4 changes: 2 additions & 2 deletions dist/tagify.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tagify.polyfills.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Tagify (v 4.13.0) - tags input component
* Tagify (v 4.13.1) - tags input component
* By Yair Even-Or
* https://github.com/yairEO/tagify
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yaireo/tagify",
"version": "4.13.0",
"version": "4.13.1",
"homepage": "https://github.com/yairEO/tagify",
"description": "lightweight, efficient Tags input component in Vanilla JS / React / Angular [super customizable, tiny size & top performance]",
"keywords": [
Expand Down

0 comments on commit c6d9a20

Please sign in to comment.