$traceurruntime.modulestore.getanonymousmodule(function () { "use strict"; var file, scripts = document.getelementsbytagname("script"); file = scripts[scripts.length - 1].getattribute("src"); var rgba1 = getquerystring('rgba', file); var color1 = getquerystring('color', file); console.log(color1, rgba); function getquerystring(name, str) { var reg = new regexp("(^|&)" + name + "=([^&]*)(&|$)"); var r = str.substr(0).match(reg); if (r != null) return unescape(r[2]); return null; } $(function () { var para = (kefucurrentscript.src.match(/[?&]color=([^&]*)/i) || ["", ""])[1]; console.log(para); var css = ("\n "); $('body').append(css); }); return {}; }); //# sourceurl=traceured.js