mirror of
https://github.com/twitter/twemoji.git
synced 2024-06-15 03:35:16 +00:00
Fix a typo in twemoji-generator.js
This commit is contained in:
parent
685ed18255
commit
cffbcca977
@ -73,7 +73,7 @@ Queue([
|
|||||||
res.on('data', chunks.push.bind(chunks));
|
res.on('data', chunks.push.bind(chunks));
|
||||||
// once done ...
|
// once done ...
|
||||||
res.on('end', function () {
|
res.on('end', function () {
|
||||||
console.log('analizing EmojiSources VS our assets ... ');
|
console.log('analyzing EmojiSources VS our assets ... ');
|
||||||
// store all missing assets in one object
|
// store all missing assets in one object
|
||||||
var missing = {};
|
var missing = {};
|
||||||
// will be used to store an array with all missing
|
// will be used to store an array with all missing
|
||||||
@ -114,7 +114,7 @@ Queue([
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
// and per each folder
|
// and per each folder
|
||||||
Object.keys(assets)
|
Object.keys(assets)
|
||||||
@ -749,7 +749,7 @@ function createTwemoji(re) {
|
|||||||
'"'
|
'"'
|
||||||
);
|
);
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user