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