jeffmo
332a782d28
Add --es6module and --non-strict-es6module flags to jsx bin
2015-02-13 17:51:35 -05:00
jeffmo
34bb8e85a2
Bump jstransform version to 9.1.0 to include new flow updates
2015-02-13 17:40:52 -05:00
Jim
5512d0d4d0
Merge pull request #3132 from jsfb/warn-less-for-owner-necessary
...
Only monitor components that are likely stateful (inputs and composites)
2015-02-13 13:55:06 -08:00
Brian Hsu
7e609c6903
Fixed Copyright year for three files and react.js licence to BSD-license.
2015-02-13 12:15:49 -08:00
Paul O’Shannessy
2a3f43184a
Merge pull request #3123 from chicoxyzzy/remove-jshint
...
ESLint coverage
2015-02-13 11:39:11 -08:00
Paul O’Shannessy
5714510ea4
Merge pull request #3134 from briankung/update-safe_yaml
...
Fix for the jekyll docs build process
2015-02-13 11:22:47 -08:00
Jim
f18dfdc00d
Only monitor components that are likely stateful (inputs and composites)
2015-02-12 17:22:42 -08:00
chico
862f7d6a41
fix linting
2015-02-13 02:45:50 +03:00
chico
96677d5da5
update eslint rules
2015-02-13 02:44:32 +03:00
chico
e02a303e3e
.eslint in src is not necessary anymore
2015-02-13 02:44:32 +03:00
chico
1511fff598
eslint
2015-02-13 02:43:42 +03:00
Brian Kung
892200ae38
Bumps safe_yaml to 1.0.4 (was 1.0.3) to fix bug
...
safe_yaml 1.0.3 has some issues with Ruby 2.2.0:
https://github.com/dtao/safe_yaml/issues/67
2015-02-12 17:40:57 -06:00
Paul O’Shannessy
fffe135931
Merge pull request #3133 from zpao/more-lint
...
More lint rules, fixes
2015-02-12 15:37:22 -08:00
Paul O’Shannessy
7e5eb4b2b2
Add indent lint rule, fix code
2015-02-12 14:31:55 -08:00
Paul O’Shannessy
52b32d83d0
Remove newline at beginning of file
2015-02-12 14:28:54 -08:00
Paul O’Shannessy
12808e81c1
Fix license header to use BSD
2015-02-12 14:28:32 -08:00
Paul O’Shannessy
af8ad59a5b
Add space-before-blocks rules, fix code
2015-02-12 14:28:01 -08:00
Sebastian Markbåge
a411f3e0dc
Merge pull request #3130 from sebmarkbage/identifiablewarnings
...
Moar warnings with solid prefixes!
2015-02-12 13:47:53 -08:00
Sebastian Markbage
f5038829d8
Moar warnings with solid prefixes!
...
This ensures that we have a prefix that can be easily identified in logs
so that we can filter out warnings based on their prefix.
This also turns the remaining two monitorCodeUse callers into warnings.
We'll probably still use monitorCodeUse until we know if we want to
deprecate but most releases should only have warnings.
2015-02-12 13:37:19 -08:00
Paul O’Shannessy
d2fcdfc7df
Merge pull request #3126 from Sourdoughh/patch-1
...
Update to CLA, CONTRIBUTING.md
2015-02-11 16:46:53 -08:00
Jason Ly
462f3ca245
Update to CLA, CONTRIBUTING.md
2015-02-11 13:56:25 -08:00
Christopher Chedeau
6c549d2899
update image perf
2015-02-11 12:45:58 -08:00
Sebastian Markbåge
032fb6ce11
Merge pull request #3107 from sebmarkbage/fragments
...
Warn if a non-object value is used in ReactFragment.create
2015-02-11 11:58:46 -08:00
Paul O’Shannessy
c07657fde1
Merge pull request #3114 from chicoxyzzy/master
...
rename `Id` suffix to `ID` to apply naming conventions
2015-02-11 11:35:17 -08:00
Paul O’Shannessy
ea29768a2b
Merge pull request #3118 from rkho/patch-1
...
Updated CONTRIBUTING.md: Mention of "facebook.com" was not a link
2015-02-11 11:34:48 -08:00
Christopher Chedeau
83e4409a72
Tweaks on Advanced Performance
2015-02-11 11:14:59 -08:00
Christopher Chedeau
ab512af57f
Advanced Performance Doc
2015-02-11 10:53:57 -08:00
chico
fbe88c7e46
fix Microdata properties' commentaries
2015-02-11 15:50:59 +03:00
Jim
130a164c8d
Merge pull request #3117 from jsfb/use-warning-module
...
Flip console.warn to use warning module.
2015-02-10 17:08:12 -08:00
Jim
4e5543965d
Flip console.warn to use warning module so users can intercept all warnings by shimming the warning module.
...
The two remaining console.warns are:
/Users/jsproch/react/src/test/mock-modules.js:
19 return mocks.generateFromMetadata(mocks.getMetadata(exports));
20 } catch (err) {
21: console.warn(err);
22 return exports;
23 }
/Users/jsproch/react/src/vendor/core/warning.js:
39 var argIndex = 0;
40 var message = 'Warning: ' + format.replace(/%s/g, () => args[argIndex++]);
41: console.warn(message);
42 try {
43 // --- Welcome to debugging React ---
2015-02-10 15:23:24 -08:00
Richard Kho
9c19135c34
Updated CONTRIBUTING.md: Mention of "facebook.com" was not a link
...
Updated the mention of "facebook.com" on line 3 of the CONTRIBUTING.md file to link to Facebook. Previously, this mention was just in plain text.
Changed from `facebook.com` to `[facebook.com](https://facebook.com )`
No other content has been changed. Content has not been removed from this file in any way.
2015-02-10 14:44:23 -08:00
chico
58d705110e
rename Id suffix to ID to apply naming conventions
2015-02-10 21:40:30 +03:00
Paul O’Shannessy
f6f0bab237
Merge pull request #3103 from zpao/lifecyle-warn-not-throw
...
Warn when calling setState & other methods at wrong time
2015-02-10 09:58:34 -08:00
Sebastian Markbage
093ab00085
Warn if a non-object value is used in ReactFragment.create
...
I made this mistake while upgrading a few callers.
I'm leaving this as warning so that it is always safe to wrap any existing
child in React.addons.createFragment without breaking prod.
This makes upgrading easier.
2015-02-10 09:44:14 -08:00
Paul O’Shannessy
01ef83feef
Merge pull request #3105 from matiassingers/jasmine-call-count-consistency
...
Jasmine spies call count property consistency
2015-02-09 18:17:16 -08:00
Matias Singers
b9310a8fa5
Consistently use calls.length instead of callCount for Jasmine spies
2015-02-10 10:11:22 +08:00
Paul O’Shannessy
5967915ec4
Warn when calling setState & other methods at wrong time
...
Currently we use an invariant to prevent this code pattern. That is really
aggressive for something that doesn't actually put React in a bad state. This
diff replaces invariants with warnings and makes those code paths no-ops.
2015-02-09 17:04:13 -08:00
Sebastian Markbåge
7b0ce2c11f
Merge pull request #3100 from sebmarkbage/fragments
...
Dead code
2015-02-09 14:58:21 -08:00
Sebastian Markbage
18c9a6e54a
Dead code
...
Missed this because lint was off
2015-02-09 14:57:07 -08:00
Sebastian Markbåge
0fdd2a74e2
Merge pull request #3030 from sebmarkbage/fragments
...
Make keyed object fragments an opaque type
2015-02-09 14:50:46 -08:00
Paul O’Shannessy
d59a039ebd
Merge pull request #3097 from zpao/upgrade-eslint
...
Upgrade to newer eslint, use esprima-fb
2015-02-09 14:32:28 -08:00
Paul O’Shannessy
1455001caa
Merge pull request #2998 from rickbeerendonk/docs-conferences
...
Add Conferences section to the Community Resources on the website
2015-02-09 14:32:04 -08:00
Paul O’Shannessy
dae1dc6292
Upgrade to newer eslint, use esprima-fb
...
Eslint now allows us to use a different parser, which allows us to use
esprima-fb explicitly. This means we don't have to wait for espree to add
things like rest-param parsing. Though we do need eslint to upgrade its rules
to handle that AST.
I had hoped to enable parsing of our tests but we can't do that until we
change esprima-fb's XJS nodes to JSX.
While I was here, I also enabled the no-unused-vars rule since eslint
understands template strings. I also made the single quote enforcement
actually fail instead of just warn.
2015-02-09 14:27:28 -08:00
Sebastian Markbage
56f51156ba
Make keyed object fragments an opaque type
...
This triggers a warning if you try to pass a keyed object as a child.
You now have to wrap it in React.addons.createFragment(object) which
creates a proxy (in dev) which warns if it is accessed. The purpose of
this is to make these into opaque objects so that nobody relies on its
data structure.
After that we can turn it into a different data structure such as a
ReactFragment node or an iterable of flattened ReactElements.
2015-02-09 14:24:56 -08:00
Rick Beerendonk
1b86246d64
Remove zerowidth space at the beginning of file
2015-02-09 22:17:33 +01:00
Paul O’Shannessy
44634c062a
Merge pull request #3082 from hzoo/patch-1
...
Add React.js Conf Keynote talk (with playlist)
2015-02-09 10:17:37 -08:00
Paul O’Shannessy
358e70cedd
Merge pull request #3089 from iamdanfox/fix-markdown-parsing-error-3075
...
Fix markdown parsing error
2015-02-09 10:12:17 -08:00
Paul O’Shannessy
cb833710af
Merge pull request #2968 from ClimbsRocks/patch-5
...
Reordered 'Using Props' before 'Component Properties'
2015-02-09 10:08:44 -08:00
Paul O’Shannessy
a6a64d1ed4
Merge pull request #2854 from cedrics/add-iframe-component
...
Adds a composite component for an iframe to handle load events
2015-02-09 09:59:01 -08:00
Dan Fox
462ab93d83
Fix markdown parsing error
...
closes #3075
2015-02-08 11:31:48 +00:00