Skip to content

Commit

Permalink
Updated for WinJS 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jseanxu committed Sep 12, 2015
1 parent a26aab7 commit f9b599e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ npm install react-winjs --save

## Usage

Include [WinJS 4.2](http://try.buildwinjs.com/#get) on your page. For example:
Include [WinJS 4.3](http://try.buildwinjs.com/#get) on your page. For example:

```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/css/ui-dark.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/ui.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/css/ui-dark.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/ui.js"></script>
```

Then require `react-winjs` and use it:
Expand Down
6 changes: 3 additions & 3 deletions examples/address-book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

<script src="http://fb.me/react-0.13.3.js"></script>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/css/ui-light.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/css/ui-light.css" />

<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/ui.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/ui.js"></script>

<link rel="stylesheet" href="main.css" />
</head>
Expand Down
6 changes: 3 additions & 3 deletions examples/movies/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

<script src="http://fb.me/react-0.13.3.js"></script>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/css/ui-light.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/ui.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/css/ui-light.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/ui.js"></script>

<style>
#app {
Expand Down
6 changes: 3 additions & 3 deletions examples/showcase/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

<script src="http://fb.me/react-0.13.3.js"></script>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/css/ui-light.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.2.0/js/ui.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/css/ui-light.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/base.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/winjs/4.3.0/js/ui.js"></script>


<style>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-winjs",
"version": "2.0.0",
"version": "2.3.0",
"description": "React wrapper around WinJS's controls",
"main": "react-winjs.js",
"scripts": {
Expand All @@ -18,7 +18,7 @@
"license": "MIT",
"peerDependencies": {
"react": "0.13.x",
"winjs": "4.2.x"
"winjs": "4.3.x"
},
"devDependencies": {
"grunt": "^0.4.5",
Expand Down

0 comments on commit f9b599e

Please sign in to comment.