Commit Graph

1068 Commits

Author SHA1 Message Date
Thomas Aylott 5feb745b02 fixes the case when coverage isn't turned on 2013-11-18 16:37:47 -05:00
Thomas Aylott eda56b7af2 new grunt test:coverage task 2013-11-18 16:37:47 -05:00
Thomas Aylott 8f96ec255b new grunt browserify:withCodeCoverageLogging task 2013-11-18 16:37:47 -05:00
Thomas Aylott ad0d9e4761 consoleLoggerMiddleware handles coverage logs 2013-11-18 16:37:47 -05:00
Thomas Aylott b5b60a6acf speed up server middleware slightly 2013-11-18 16:37:46 -05:00
Thomas Aylott cb6b7f37e7 fixes an issue where the list of files to test isn't complete 2013-11-18 16:37:46 -05:00
Thomas Aylott ef5a02c164 enable coverage logging from the worker 2013-11-18 16:37:46 -05:00
Thomas Aylott 646421f71f batch logs until the end unless ran with --debug 2013-11-18 16:37:46 -05:00
Thomas Aylott 4c881d8487 require coverify 2013-11-18 16:37:46 -05:00
Thomas Aylott 5aa901336c ignore logs and testing stuff 2013-11-18 16:37:46 -05:00
Thomas Aylott 61c1bf0a41 fixes browserify task transforms support 2013-11-18 16:37:46 -05:00
Tim Yung 8529f1b053 Remove Obsolete IE8 Compatibility Code
See the TODO comment. Synthetic events have shipped and this is no longer necessary.
2013-11-18 10:54:03 -08:00
Marshall Roch 381a3392c6 Rename receiveProps to receiveComponent
This renames receiveProps and changes it to take the next component to copy props from instead of just the props. That is,

  component.receiveComponent(nextComponent, transaction)

instead of

  component.receiveProps(nextComponent.props, transaction)

This is a precursor to adding contexts, which will also need to get propagated just like props. This change allows ReactCompositeComponent to override `receiveProps` and do something like

  this._pendingContext = nextComponent.context;
2013-11-18 10:53:58 -08:00
Pieter Vanderwerff 1e1d7fe770 Set docs menu item to active when viewing a “tips” page 2013-11-15 15:27:31 +13:00
Paul O’Shannessy e6010bf75e Merge pull request #362 from mcsheffrey/feat-documentation-cookbook
React Tips documentation
2013-11-14 14:59:41 -08:00
Paul O’Shannessy d1fa53ca03 Cleanup lint warnings from recent testing changes
Also, relaxed a rule for dot notation (and unrelaxed it in src).
2013-11-14 11:24:06 -08:00
Connor McSheffrey 26c142df82 Merge pull request #20 from zpao/tips
Updates to tips
2013-11-14 11:17:34 -08:00
Ben Newman b61eacd3c5 Explicitly require the assert module in vendor/constants.js. 2013-11-14 13:48:08 -05:00
Paul O’Shannessy 1324eb5556 "use strict" in shouldUpdateReactComponent 2013-11-14 10:37:33 -08:00
Paul O’Shannessy 9cb3a3a182 Remove modules cache with grunt clean 2013-11-14 10:37:07 -08:00
Ben Newman f9423241d9 Merge pull request #510 from subtleGradient/subtlegradient/run-the-browser-tests-on-saucelabs
Make it easy to run the browser tests on saucelabs.
2013-11-14 10:08:51 -08:00
Paul O’Shannessy c821887160 formatting and syntax on false in JSX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy 4367dad669 Update wording on AJAX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy 0ebd3d92ba Fix broken link, spacing on events tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy 80ab7bf4e1 s/Zuck/Rogers/ 2013-11-13 17:43:17 -08:00
Paul O’Shannessy 4a9ed4a204 Fix broken link on componentWillReceiveProps tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy f6f3d4262b fix broken link on controlled input tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy 75383c5c99 Children props tip tweak 2013-11-13 17:43:16 -08:00
Paul O’Shannessy 49261c9392 Fix broken link, formatting on px style tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy fe52e059b9 Tweak for self closing tag tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy 684e5922e8 Tweaks to if-else tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy 7c1cf0a2dc Small cleanup to style tips 2013-11-13 17:43:16 -08:00
Pete Hunt dab167c0e3 Merge pull request #460 from chenglou/opacity-1
fix doc & example transition opacity from .99 to 1
2013-11-13 17:31:08 -08:00
Thomas Aylott 326e3a33ac Merge pull request #529 from benjamn/upgrade-populist
Upgrade populist version to v0.1.5 for better error reporting
2013-11-13 14:50:36 -08:00
Ben Newman d44c07b9a7 Upgrade populist version to v0.1.5 for better error reporting. 2013-11-13 17:42:17 -05:00
Thomas Aylott 22829b5529 remove unnecessary task config 2013-11-13 16:49:08 -05:00
Thomas Aylott c4cd02efc5 fixes #513 2013-11-13 16:22:11 -05:00
Thomas Aylott d1fd4058da sauce labs browser configs for running manually 2013-11-13 16:22:11 -05:00
Thomas Aylott 08bd1f98e5 wait a little longer for the page to load 2013-11-13 16:22:11 -05:00
Thomas Aylott 2d6eb3d8fc don't log your password to the console 2013-11-13 16:22:11 -05:00
Thomas Aylott 4daeda1490 log individual test results when in --debug mode 2013-11-13 16:22:11 -05:00
Thomas Aylott c1925db067 cleanup 2013-11-13 16:22:11 -05:00
Thomas Aylott cd24cbdbf4 name local saucelabs tests too 2013-11-13 16:22:11 -05:00
Thomas Aylott d9b7e47824 sped up the webdriver tests 2013-11-13 16:22:11 -05:00
Thomas Aylott b845134151 user JSON encoding for browser logger
Fixes a strange issue in IE
2013-11-13 16:22:11 -05:00
Thomas Aylott 37bb9b76ab remove old browser logger 2013-11-13 16:22:10 -05:00
Thomas Aylott 39ba5f90b1 no need to pass jasmine through jsx 2013-11-13 16:22:10 -05:00
Thomas Aylott e3ced21c9d postDataToURL using ajax instead of DOM 2013-11-13 16:22:10 -05:00
Thomas Aylott 66a0f2e7bd Suppress encoding warning in Firefox 2013-11-13 16:22:10 -05:00
Thomas Aylott 7c8b70eedb better error handling for jasmine task 2013-11-13 16:22:10 -05:00