Created
July 15, 2016 19:49
-
-
Save jasonmarlin/7d0e3afdf9b5094a5d5141f535048746 to your computer and use it in GitHub Desktop.
Small change to CN embed so it will work locally
This file contains 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
<script type="text/javascript">!function(n,e,t){var s,c;s=function(){var e=n.location.hostname,s=location.search.match(/CNS_SB=([^&\s]+)[&\s]?/)||[],c=e+"/cns"+(s.length?"-sandbox/"+s[1]:"")+"/services.min.js";return t||"//"+c}(),n.cns=n.cns||{async:function(n,e){this.queue[n]||(this.queue[n]=[]),"function"==typeof e&&this.queue[n].push(e)},queue:{}},c=e.createElement("script"),c.async=!0,c.src=s,e.body.appendChild(c)}(window,document ,'http://localhost:3000/cns/services.min.js'); </script> | |
<script type="text/javascript" src="<?= ars::$assets ?>/js/ars.ads.us.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment