Skip to content

Commit

Permalink
Update JsFiddle
Browse files Browse the repository at this point in the history
  • Loading branch information
dawiddylowicz committed Nov 7, 2017
1 parent 74ac196 commit faca295
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ And the CSS styles:

#### Example app

[JsFiddle example here.](https://jsfiddle.net/4xqtt6fL/67/)
[JsFiddle example here.](https://jsfiddle.net/4xqtt6fL/70/)
Simple example using script tags.

#### 4.2 NPM style import
Expand Down
14 changes: 9 additions & 5 deletions release_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ An example `<version>` could be `2.0.0`
* Commit and merge the release branch into master

## Update JSFiddle Demo
* Make sure the `dist/` folder is updated and commited
* Make sure a TAG is created for this version you want to update to
* Open the JSFiddle and udpate its resources to the following, (replace `NEW_TAG`):
* `https://cdn.rawgit.com/onfido/onfido-sdk-ui/NEW_TAG/dist/style.css`
* `https://cdn.rawgit.com/onfido/onfido-sdk-ui/NEW_TAG/dist/onfido.min.js`
* Make sure the `dist/` folder is updated and commited (by `npm run build`)
* Make sure git tag is created for this version (i.e. `2.0.0`)
* See if these exist:
* `https://raw.githubusercontent.com/onfido/onfido-sdk-ui/<tag>/dist/style.css`
* `https://raw.githubusercontent.com/onfido/onfido-sdk-ui/<tag>/dist/onfido.min.js`
* If they exist, copy each of them and paste on https://rawgit.com
* Open the JSFiddle and update its resources to the following:
* `https://cdn.rawgit.com/onfido/onfido-sdk-ui/<tag>/dist/style.css`
* `https://cdn.rawgit.com/onfido/onfido-sdk-ui/<tag>/dist/onfido.min.js`
* Follow the migration notes and update the code if necessary
* Test the happy path

Expand Down

0 comments on commit faca295

Please sign in to comment.