Last active
August 29, 2015 14:03
-
-
Save yllus/3009fda28a3644a77f41 to your computer and use it in GitHub Desktop.
Sportsnet.ca - New Viafoura/Backplane code
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
| <div class="viafoura"> | |
| <div class="vf-comments vf-widget" data-widget="comments"></div> | |
| </div> | |
| <script src="http://cdn.gigya.com/js/backplane2.js"></script> | |
| <script> | |
| Backplane(function(){ | |
| janrain.engage.signin.setBackplaneChannel(Backplane.getChannelID()); | |
| }); | |
| Backplane.init({ | |
| serverBaseURL: "https://backplane1.janrainbackplane.com/v2", | |
| busName: "rogers-dev", | |
| channelExpires: "", | |
| block: 20 | |
| }); | |
| //janrain.settings.tokenAction = 'event'; | |
| //janrain.settings.tokenUrl = 'http://backplane1-2.janraindemo.com/token.html'; // sportsnet needs to input their own or whitelist this | |
| janrain.settings.type = 'modal'; | |
| //janrain.settings.appId = 'ckmeknpmiihlaobompag'; // sportsnet needs to input this | |
| //janrain.settings.appUrl = 'https://janraindemo.rpxnow.com'; | |
| </script> | |
| <script> | |
| (function (v, s) { | |
| v.type = 'text/javascript'; | |
| v.async = !0; | |
| v.src = '//cdn.viafoura.net/vf.js'; | |
| s.parentNode.insertBefore(v, s); | |
| }(document.createElement('script'), document.getElementsByTagName('script')[0])); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment