项目作者: splitio

项目描述 :
Example Applications to demo Split JS browser SDK.
高级语言: HTML
项目地址: git://github.com/splitio/example-javascript-browser.git
创建时间: 2017-04-13T17:15:36Z
项目社区:https://github.com/splitio/example-javascript-browser

开源协议:Other

下载


Example Demo Page to show Split JavaScript SDK and JavaScript Browser SDK

These are two single pages that show how to set up the JavaScript SDK and the JavaScript Browser SDK. Follow the instructions below to make the changes needed using the information obtained from Split user interface.

Get started

  • Log in to the Split user interface, go to the “Admin Tab”, copy an SDK key of type “Client-side”, and assign it to the authorizationKey config param in either the index-js-sdk.html file or index-js-browser-sdk.html file, in order to try the JavaScript SDK or JavaScript Browser SDK respectively.
  • Create a feature flag and assign its name to the variable featureFlagName in the HTML file.
  • Open the HTML file in your browser.