This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/npm-react/package.json b/npm-react/package.json | |
index 3377a1d..ce7832f 100644 | |
--- a/npm-react/package.json | |
+++ b/npm-react/package.json | |
@@ -27,6 +27,9 @@ | |
"envify": "^2.0.0" | |
}, | |
"browserify": { | |
- "transform": ["envify"] | |
+ "transform": ["envify"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -U 8 build_old/JSXTransformer.js build/JSXTransformer.js | |
--- build_old/JSXTransformer.js 2014-10-14 21:38:49.000000000 -0700 | |
+++ build/JSXTransformer.js 2014-10-14 21:49:52.000000000 -0700 | |
@@ -1,436 +1,765 @@ | |
/** | |
* JSXTransformer v0.12.0-alpha | |
*/ | |
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,modu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- build_old/react.js 2014-10-14 21:38:43.000000000 -0700 | |
+++ build/react.js 2014-10-14 21:49:41.000000000 -0700 | |
@@ -1,12 +1,198 @@ | |
/** | |
* React v0.12.0-alpha | |
*/ | |
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
+!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- build_old/JSXTransformer.js 2014-10-14 21:38:49.000000000 -0700 | |
+++ build/JSXTransformer.js 2014-10-14 21:49:52.000000000 -0700 | |
@@ -1,436 +1,765 @@ | |
/** | |
* JSXTransformer v0.12.0-alpha | |
*/ | |
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
-/*! | |
- * The buffer module from node.js, for the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- build_old/JSXTransformer.js 2014-10-14 21:38:49.000000000 -0700 | |
+++ build/JSXTransformer.js 2014-10-14 22:04:13.000000000 -0700 | |
@@ -1,436 +1,765 @@ | |
/** | |
* JSXTransformer v0.12.0-alpha | |
*/ | |
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
-/*! | |
- * The buffer module from node.js, for the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cu.import("resource://gre/modules/Services.jsm"); | |
Services.prompt.alert( | |
Services.wm.getMostRecentWindow("navigator:browser"), | |
"title", | |
"message" | |
); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] lint /Users/poshannessy/FB/code/react | |
> eslint src | |
src/addons/ReactRAFBatchingStrategy.js | |
18:4 error 'requestAnimationFrame' is read only no-undef | |
src/addons/transitions/ReactCSSTransitionGroupChild.js | |
67:6 warning Expected an assignment or function call and instead saw an expression no-unused-expressions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index 11a64df..3cf2e94 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -72,7 +72,8 @@ | |
"scripts": { | |
"test": "jest", | |
"jest": "jest", | |
- "lint": "eslint src" | |
+ "lint": "eslint src", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Caveats | |
Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's | |
equivalent configuration file: | |
source $(brew --prefix nvm)/nvm.sh | |
Node installs will be lost upon upgrading nvm. Add the following above | |
the source line to move install location and prevent this: | |
export NVM_DIR=~/.nvm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/.eslintrc b/src/.eslintrc | |
index c9b9b50..2f75489 100644 | |
--- a/src/.eslintrc | |
+++ b/src/.eslintrc | |
@@ -1,7 +1,11 @@ | |
--- | |
-settings: | |
+ecmaFeatures: | |
jsx: true | |
- ecmascript: 6 |