Skip to content

Commit e142820

Browse files
author
Mike Ng
committed
Add new instructions to readme.
1 parent 0504877 commit e142820

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The SDK is available through [npm](https://npmjs.com/package/optimizely-client-s
1212
npm install optimizely-client-sdk --save
1313
```
1414

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+
1520
###Using the SDK
1621
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.
1722

0 commit comments

Comments
 (0)