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

Version Path
web_resource_bundler-0.0.23 spec/test_data/public/marketing.js
web_resource_bundler-0.0.22 spec/test_data/public/marketing.js
web_resource_bundler-0.0.21 spec/test_data/public/marketing.js
web_resource_bundler-0.0.20 spec/test_data/public/marketing.js
web_resource_bundler-0.0.19 spec/test_data/public/marketing.js
web_resource_bundler-0.0.18 spec/test_data/public/marketing.js
web_resource_bundler-0.0.16 spec/test_data/public/marketing.js
web_resource_bundler-0.0.15 spec/test_data/public/marketing.js
web_resource_bundler-0.0.14 spec/public/marketing.js
web_resource_bundler-0.0.13 spec/public/marketing.js