Skip to content

Commit 84d1eb7

Browse files
committed
changes to support react 0.13
1 parent 7c8877f commit 84d1eb7

File tree

4,978 files changed

+14398
-954467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,978 files changed

+14398
-954467
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ vendor/
44
examples/node_modules
55
examples/libs
66
api/
7-
coverage-report/
7+
coverage-report/
8+
tests/node_modules

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ You probably will use three configs:
6262
`components_prefix`: like the above rule, that is a prefix to your components. Can be the same as the react_prefix, but we keep it separated like:
6363
```javascript
6464
module.exports = {
65-
libs: {
66-
React: require('react')
67-
},
68-
components: {
69-
MyComponent: require('mycomponent')
70-
}
65+
libs: {
66+
React: require('react')
67+
},
68+
components: {
69+
MyComponent: require('mycomponent')
70+
}
7171
}
7272
```
7373

@@ -135,5 +135,9 @@ src_files | array | list of source files necessary to run your code. If you use
135135
react_prefix | string | (optional) If exists a path to access React object, pass the prefix in here (ex: `App.libs`).
136136
components_prefix | string | (optional) If exists a path to access your components, pass the prefix in here (ex: `App.components`).
137137

138+
## Change Log
139+
**[1.0.2] - 2015-03-23**
140+
- Support for react 0.13 API changes
141+
138142

139143
> Written with [StackEdit](https://stackedit.io/).

examples/backend.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function get($d)
1010
$response = '';
1111
switch ($d) {
1212
case 'reactjs::basepath':
13-
$response = '/var/www/laravel-reactjs/examples/js/';
13+
$response = '/var/www/html/laravel-reactjs/examples/js/';
1414
break;
1515
case 'reactjs::src_files':
1616
$response = ['bundle.js'];
@@ -46,7 +46,6 @@ public function get($d)
4646
echo 'window.message = "' . $message . '";';
4747
echo 'console.error(window.message);';
4848
echo '</script>';
49-
sherpa($code);
5049
});
5150

5251

0 commit comments

Comments
 (0)