Update twemoji to v2.0.5

// FREEBIE
This commit is contained in:
lilia 2016-03-09 13:13:16 -08:00
parent 662020ce68
commit ec6948bc32
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
"intl-tel-input": "~4.0.1", "intl-tel-input": "~4.0.1",
"blueimp-load-image": "~1.13.0", "blueimp-load-image": "~1.13.0",
"blueimp-canvas-to-blob": "~2.1.1", "blueimp-canvas-to-blob": "~2.1.1",
"twemoji": "~1.2.1", "twemoji": "~2.0.5",
"emojijs": "https://github.com/iamcal/js-emoji.git", "emojijs": "https://github.com/iamcal/js-emoji.git",
"autosize": "~3.0.6" "autosize": "~3.0.6"
}, },

View file

@ -471,7 +471,7 @@ var twemoji = (function (
'"' '"'
); );
attrib = options.attributes(icon, variant); attrib = options.attributes(icon, variant);
for (attrname in attrib) { for (attrname in attrib) {
if ( if (
attrib.hasOwnProperty(attrname) && attrib.hasOwnProperty(attrname) &&
// don't allow any handlers to be set + don't allow overrides // don't allow any handlers to be set + don't allow overrides