This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function () { | |
var section = $('.warranty-cta'); | |
if (section) { | |
evolv.context.update({ service_section: "true" }); | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sendEvent(tag, url){ | |
try { | |
window.evolv.client.emit(tag); | |
} catch (e) { | |
console.log(e); | |
} | |
} | |
function pageMatch(page) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Running Variants locally without the editor | |
Authored by Richard Cowin | |
Disable content security policy with Resource Override | |
This will allow for local host | |
window.applyVariants(‘http://localhost:8000/t-and-c/’, [‘v1’]); | |
*/ | |
window.applyVariants = function applyVariants(folder, variants, poll) { |
OlderNewer