",
117行:height : 475,
为height : 380,
143行:var category = ["Github emoji", "Twemoji", "Font awesome", "Editor.md logo"];
为var category = ["Github emoji"];
var emojiCategories = ["github-emoji", "twemoji", "font-awesome", logoPrefix];
var emojiCategories = ["github-emoji"];
注释:
1、
//var head = "
";
//
//for (var i = 0; i<4; i++) {
//var active = (i === 0) ? " class=\"active\"" : "";
//head += "- " + category[i] + "
";
//}
//
//head += "
";
//tab.append(head);
2、
//for (var x = 0; x < 4; x++) {
//var display = (x === 0) ? "" : "display:none;";
//container += "
";
//}
并且在 上篇文章中 [http://www.wangyd.com/post/141](http://www.wangyd.com/post/141 "http://www.wangyd.com/post/141") ,自动创建时,替换了表情的源地址。