You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,11 @@ The SDK is available through [npm](https://npmjs.com/package/optimizely-client-s
12
12
npm install optimizely-client-sdk --save
13
13
```
14
14
15
+
Or to use in a non CommonJS fashion:
16
+
17
+
1. Pull in `dist/optimizely.min.js` as a `<script>`
18
+
2. Use as global variable `window.optimizelyClient`
19
+
15
20
###Using the SDK
16
21
See the Optimizely X Full Stack testing [developer documentation](http://developers.optimizely.com/server/reference/index.html) to learn how to set up your first JavaScript project and use the SDK.
0 commit comments