Skip to content

Commit 8deb686

Browse files
committed
Small tweaks
1 parent 61f0a8c commit 8deb686

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/createRoutesFromReactChildren.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* jshint -W084 */
2-
32
var React = require('react');
43
var assign = require('react/lib/Object.assign');
54
var warning = require('react/lib/warning');

modules/locations/StaticLocation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ class StaticLocation {
2727

2828
// TODO: Include these in the above class definition
2929
// once we can use ES7 property initializers.
30+
// https://github.com/babel/babel/issues/619
31+
3032
StaticLocation.prototype.push = throwCannotModify;
3133
StaticLocation.prototype.replace = throwCannotModify;
3234
StaticLocation.prototype.pop = throwCannotModify;

0 commit comments

Comments
 (0)