Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Feb 24, 2015
1 parent 61f0a8c commit 8deb686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/createRoutesFromReactChildren.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* jshint -W084 */

var React = require('react');
var assign = require('react/lib/Object.assign');
var warning = require('react/lib/warning');
Expand Down
2 changes: 2 additions & 0 deletions modules/locations/StaticLocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class StaticLocation {

// TODO: Include these in the above class definition
// once we can use ES7 property initializers.
// https://github.com/babel/babel/issues/619

StaticLocation.prototype.push = throwCannotModify;
StaticLocation.prototype.replace = throwCannotModify;
StaticLocation.prototype.pop = throwCannotModify;
Expand Down

0 comments on commit 8deb686

Please sign in to comment.