remove react-stampit
This commit is contained in:
@ -1,5 +1,4 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import stampit from 'react-stampit';
|
|
||||||
import { Row } from 'react-bootstrap';
|
import { Row } from 'react-bootstrap';
|
||||||
import { contain } from 'thundercats-react';
|
import { contain } from 'thundercats-react';
|
||||||
// import debugFactory from 'debug';
|
// import debugFactory from 'debug';
|
||||||
@ -20,7 +19,7 @@ export default contain(
|
|||||||
return props.params.dashedName !== nextProps.params.dashedName;
|
return props.params.dashedName !== nextProps.params.dashedName;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
stampit(React, {
|
React.createClass({
|
||||||
displayName: 'Hikes',
|
displayName: 'Hikes',
|
||||||
|
|
||||||
propTypes: {
|
propTypes: {
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import { Button, Col, Row, Panel } from 'react-bootstrap';
|
import { Button, Col, Row, Panel } from 'react-bootstrap';
|
||||||
import { Navigation } from 'react-router';
|
import { Navigation } from 'react-router';
|
||||||
import stampit from 'react-stampit';
|
|
||||||
import Vimeo from 'react-vimeo';
|
import Vimeo from 'react-vimeo';
|
||||||
import debugFactory from 'debug';
|
import debugFactory from 'debug';
|
||||||
|
|
||||||
const debug = debugFactory('freecc:hikes');
|
const debug = debugFactory('freecc:hikes');
|
||||||
|
|
||||||
export default stampit(React, {
|
export default React.createClass({
|
||||||
displayName: 'Lecture',
|
displayName: 'Lecture',
|
||||||
|
mixin: [Navigation],
|
||||||
|
|
||||||
propTypes: {
|
propTypes: {
|
||||||
currentHike: PropTypes.object,
|
currentHike: PropTypes.object,
|
||||||
@ -68,4 +68,4 @@ export default stampit(React, {
|
|||||||
</Col>
|
</Col>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}).compose(Navigation);
|
});
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import stampit from 'react-stampit';
|
|
||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
import { ListGroup, ListGroupItem, Panel } from 'react-bootstrap';
|
import { ListGroup, ListGroupItem, Panel } from 'react-bootstrap';
|
||||||
|
|
||||||
export default stampit(React, {
|
export default React.createClass({
|
||||||
displayName: 'HikesMap',
|
displayName: 'HikesMap',
|
||||||
|
|
||||||
propTypes: {
|
propTypes: {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import { Navigation, TransitionHook } from 'react-router';
|
import { Navigation, TransitionHook } from 'react-router';
|
||||||
import stampit from 'react-stampit';
|
|
||||||
import debugFactory from 'debug';
|
import debugFactory from 'debug';
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
@ -12,9 +11,13 @@ import {
|
|||||||
|
|
||||||
const debug = debugFactory('freecc:hikes');
|
const debug = debugFactory('freecc:hikes');
|
||||||
|
|
||||||
export default stampit(React, {
|
export default React.createClass({
|
||||||
state: { showInfo: false },
|
getInitialState: () => ({ showInfo: false }),
|
||||||
displayName: 'Question',
|
displayName: 'Question',
|
||||||
|
mixins: [
|
||||||
|
Navigation,
|
||||||
|
TransitionHook
|
||||||
|
],
|
||||||
|
|
||||||
propTypes: {
|
propTypes: {
|
||||||
currentHike: PropTypes.object,
|
currentHike: PropTypes.object,
|
||||||
@ -127,6 +130,4 @@ export default stampit(React, {
|
|||||||
</Col>
|
</Col>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
.compose(Navigation)
|
|
||||||
.compose(TransitionHook);
|
|
||||||
|
@ -91,7 +91,6 @@
|
|||||||
"react": "^0.13.3",
|
"react": "^0.13.3",
|
||||||
"react-bootstrap": "^0.23.7",
|
"react-bootstrap": "^0.23.7",
|
||||||
"react-router": "https://github.com/BerkeleyTrue/react-router#freecodecamp",
|
"react-router": "https://github.com/BerkeleyTrue/react-router#freecodecamp",
|
||||||
"react-stampit": "git+https://github.com/BerkeleyTrue/react-stampit.git#fcc",
|
|
||||||
"react-vimeo": "^0.0.3",
|
"react-vimeo": "^0.0.3",
|
||||||
"request": "~2.53.0",
|
"request": "~2.53.0",
|
||||||
"rx": "^2.5.3",
|
"rx": "^2.5.3",
|
||||||
|
Reference in New Issue
Block a user