@samitouri / QOS-React-2 / commits / adfb5f1eae

Update npm-react error to point to autoflow

Paul O’Shannessy committed Dec 17, 2013 at 11:18 UTC adfb5f1eaeef9ef4c9a7d29d46d6c74213e95241
1 file changed +5 -3
npm-react/ReactJSErrors.js
+5 -3
@@ -1,10 +1,12 @@
1 +'use strict';
2 +
3 var copyProperties = require('./lib/copyProperties');
4
5 var WARNING_MESSAGE = (
6 'It looks like you\'re trying to use jeffbski\'s React.js project.\n' +
7 'The `react` npm package now points to the React JavaScript library for ' +
8 'building user interfaces, not the React.js project for managing asynchronous ' +
7 - 'control flow. If you\'re looking for that library, please npm install reactjs.'
9 + 'control flow. If you\'re looking for that library, please npm install autoflow.'
10 );
11
12 function error() {
@@ -15,7 +17,7 @@ function error() {
17
18 function ReactJSShim() {
19 error();
18 -};
20 +}
21
22 ReactJSShim.logEvents = error;
23 ReactJSShim.resolvePromises = error;
@@ -35,4 +37,4 @@ var ReactJSErrors = {
37 }
38 };
39
38 -module.exports = ReactJSErrors;
\ No newline at end of file
40 +module.exports = ReactJSErrors;