mirror of
https://github.com/twitter/twemoji.git
synced 2024-11-19 02:14:30 +00:00
modified reset during the loop
This commit is contained in:
parent
fe1c85aef0
commit
c42a15bca1
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "twemoji",
|
"name": "twemoji",
|
||||||
"description": "A Unicode standard based way to implement emoji across all platforms.",
|
"description": "A Unicode standard based way to implement emoji across all platforms.",
|
||||||
"version": "v1.3.0",
|
"version": "v1.3.1",
|
||||||
"main": "./twemoji.amd.js",
|
"main": "./twemoji.amd.js",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
".git",
|
".git",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"name": "twemoji",
|
"name": "twemoji",
|
||||||
"license": ["MIT", "CC-BY-4.0"],
|
"license": ["MIT", "CC-BY-4.0"],
|
||||||
"description": "A Unicode standard based way to implement emoji across all platforms.",
|
"description": "A Unicode standard based way to implement emoji across all platforms.",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"name": "twemoji",
|
"name": "twemoji",
|
||||||
"license": ["MIT", "CC-BY-4.0"],
|
"license": ["MIT", "CC-BY-4.0"],
|
||||||
"description": "A Unicode standard based way to implement emoji across all platforms.",
|
"description": "A Unicode standard based way to implement emoji across all platforms.",
|
||||||
|
@ -604,7 +604,7 @@ function createTwemoji(re) {
|
|||||||
var
|
var
|
||||||
allText = grabAllTextNodes(node, []),
|
allText = grabAllTextNodes(node, []),
|
||||||
length = allText.length,
|
length = allText.length,
|
||||||
modified = false,
|
modified,
|
||||||
fragment,
|
fragment,
|
||||||
subnode,
|
subnode,
|
||||||
text,
|
text,
|
||||||
@ -617,6 +617,7 @@ function createTwemoji(re) {
|
|||||||
variant,
|
variant,
|
||||||
src;
|
src;
|
||||||
while (length--) {
|
while (length--) {
|
||||||
|
modified = false;
|
||||||
fragment = document.createDocumentFragment();
|
fragment = document.createDocumentFragment();
|
||||||
subnode = allText[length];
|
subnode = allText[length];
|
||||||
text = subnode.nodeValue;
|
text = subnode.nodeValue;
|
||||||
|
@ -327,7 +327,7 @@ define(function () {
|
|||||||
var
|
var
|
||||||
allText = grabAllTextNodes(node, []),
|
allText = grabAllTextNodes(node, []),
|
||||||
length = allText.length,
|
length = allText.length,
|
||||||
modified = false,
|
modified,
|
||||||
fragment,
|
fragment,
|
||||||
subnode,
|
subnode,
|
||||||
text,
|
text,
|
||||||
@ -340,6 +340,7 @@ define(function () {
|
|||||||
variant,
|
variant,
|
||||||
src;
|
src;
|
||||||
while (length--) {
|
while (length--) {
|
||||||
|
modified = false;
|
||||||
fragment = document.createDocumentFragment();
|
fragment = document.createDocumentFragment();
|
||||||
subnode = allText[length];
|
subnode = allText[length];
|
||||||
text = subnode.nodeValue;
|
text = subnode.nodeValue;
|
||||||
|
@ -326,7 +326,7 @@ var twemoji = (function (
|
|||||||
var
|
var
|
||||||
allText = grabAllTextNodes(node, []),
|
allText = grabAllTextNodes(node, []),
|
||||||
length = allText.length,
|
length = allText.length,
|
||||||
modified = false,
|
modified,
|
||||||
fragment,
|
fragment,
|
||||||
subnode,
|
subnode,
|
||||||
text,
|
text,
|
||||||
@ -339,6 +339,7 @@ var twemoji = (function (
|
|||||||
variant,
|
variant,
|
||||||
src;
|
src;
|
||||||
while (length--) {
|
while (length--) {
|
||||||
|
modified = false;
|
||||||
fragment = document.createDocumentFragment();
|
fragment = document.createDocumentFragment();
|
||||||
subnode = allText[length];
|
subnode = allText[length];
|
||||||
text = subnode.nodeValue;
|
text = subnode.nodeValue;
|
||||||
|
@ -327,7 +327,7 @@ var twemoji = (function (
|
|||||||
var
|
var
|
||||||
allText = grabAllTextNodes(node, []),
|
allText = grabAllTextNodes(node, []),
|
||||||
length = allText.length,
|
length = allText.length,
|
||||||
modified = false,
|
modified,
|
||||||
fragment,
|
fragment,
|
||||||
subnode,
|
subnode,
|
||||||
text,
|
text,
|
||||||
@ -340,6 +340,7 @@ var twemoji = (function (
|
|||||||
variant,
|
variant,
|
||||||
src;
|
src;
|
||||||
while (length--) {
|
while (length--) {
|
||||||
|
modified = false;
|
||||||
fragment = document.createDocumentFragment();
|
fragment = document.createDocumentFragment();
|
||||||
subnode = allText[length];
|
subnode = allText[length];
|
||||||
text = subnode.nodeValue;
|
text = subnode.nodeValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user