Skip to content

Commit 57ac6ef

Browse files
committed
update for React-at-Rest 2.0.0
1 parent 612b704 commit 57ac6ef

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# react-at-rest-examples
2-
Sample projects for working with the ReactAtRest framework (https://github.com/PayloadDev/react-at-rest).
2+
Sample projects for working with the [React-at-Rest framework](https://github.com/PayloadDev/react-at-rest).
33

44
Getting Started
55
---
@@ -9,4 +9,6 @@ Getting Started
99
3. Fire up the dev server with `npm run dev`
1010
4. Point your browser to `http://localhost:3001/`
1111

12-
12+
The Code
13+
---
14+
This repo contains sample code in both ES6 and CoffeeScript. Just look in the `/src` directory and use either as a starting point.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-at-rest-examples",
3-
"version": "1.0.0",
4-
"description": "Sample projects for working with the ReactAtRest framework.",
3+
"version": "2.0.0",
4+
"description": "Sample projects for working with the React-at-Rest framework.",
55
"main": "index.js",
66
"scripts": {
77
"build": "./node_modules/.bin/webpack",
@@ -13,9 +13,9 @@
1313
"json-server": "^0.8.6",
1414
"lodash": "^3.10.1",
1515
"object-assign": "^4.0.1",
16-
"react": "^15.0.1",
17-
"react-at-rest": "^1.2.2",
18-
"react-dom": "^15.0.1"
16+
"react": "^15.1.0",
17+
"react-at-rest": "^2.0.0",
18+
"react-dom": "^15.1.0"
1919
},
2020
"devDependencies": {
2121
"babel-core": "^6.4.0",

src/blog/comments.cjsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = class Comments extends DeliveryService
1616

1717

1818
bindResources: ->
19-
@subscribeAll @commentStore, null,
19+
@subscribeAll @commentStore,
2020
parentResourcesKey: 'posts'
2121
parentResourceId: @props.postId
2222

0 commit comments

Comments
 (0)