Sha256: eb192a5c20024d709ec9af2f3e776d0738240674137608d71c3fdc1264a869bb
Contents?: true
Size: 491 Bytes
Versions: 10
Compression:
Stored size: 491 Bytes
Contents
function loadScript(scriptURL) { var newScript = document.createElement("script"); newScript.src = scriptURL; document.body.appendChild(newScript); } function setCookie (name, value, expires, path, domain, secure) { var rateCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); document.cookie = rateCookie; }
Version data entries
10 entries across 10 versions & 1 rubygems