Fix: Small bugs

This commit is contained in:
surunzi
2016-08-26 21:19:39 +08:00
parent b4dc48edc7
commit 7f904922e4
7 changed files with 107 additions and 74 deletions

View File

@@ -1,5 +1,13 @@
let mark = [];
function exports(css)
{
for (let i = 0, len = mark.length; i < len; i++)
{
if (mark[i] === css) return;
}
mark.push(css);
var container = exports.container || document.head,
style = document.createElement('style');