/** * @author yoyo.liu */ (function () { var css_files = [ "css/index.css", "css/app.css", "css/my.css", "css/canlendar.css", "css/ui-calendar.css", "css/top.css", "css/step.css", "css/mystep.css", "css/lunbo-tanchuang.css", ]; if (typeof (exports) != "undefined") { exports.files = css_files; } else { var i; for (i = 0; i < css_files.length; i++) { addTag('link', { "rel": "stylesheet", "href": css_files[i] }); } window.addTag = addTag; } function addTag(name, attributes) { var el = document.createElement(name), attrName; for (attrName in attributes) { el.setAttribute(attrName, attributes[attrName]); } document.write(outerHTML(el)); document.close(); } function outerHTML(node) { // if IE, Chrome take the internal method otherwise build one return node.outerHTML || (function (n) { var div = document.createElement('div'), h; div.appendChild(n); h = div.innerHTML; div = null; return h; })(node); } })();