Skip to content

Commit

Permalink
feat:merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
z2014 committed Sep 2, 2019
2 parents 03f4f0f + 723497d commit 5822b43
Show file tree
Hide file tree
Showing 9 changed files with 706 additions and 14,209 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
language: node_js
node_js:
- "7"
- "8"
- "10"
env:
- REACT=16.x
script:
- npm test
- npm run coverage
- npm test
- npm run coverage
before_install:
npm install --save react@15.4.0 react-dom@15.4.0
- npm install
- npm install react react-dom
after_script:
npm install coveralls && nyc report --reporter=text-lcov | coveralls
5 changes: 3 additions & 2 deletions docs/components/preview.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//original code by FormidableLabs
//https://github.com/FormidableLabs/component-playground/blob/master/src/components/preview.jsx

import React, { Component, PropTypes } from "react";
import React, { Component } from "react";
import PropTypes from "prop-types";
import { render } from "react-dom";
import ReactDOMServer from "react-dom/server";
import { transform } from "babel-standalone";
Expand Down Expand Up @@ -125,4 +126,4 @@ class Preview extends Component {

}

export default Preview;
export default Preview;
Loading

0 comments on commit 5822b43

Please sign in to comment.