Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Removed babel-polyfill and substituted with narrower imports #211

Merged
merged 1 commit into from
Nov 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import RadarChartBasic from './radar/RadarChartBasic'
import TreeChartBasic from './tree/TreeChartBasic'

import Home from './Home'
import 'babel-polyfill'

const styles = StyleSheet.create({
container: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
}
],
"dependencies": {
"babel-polyfill": "^6.23.0",
"lodash": "^4.12.0",
"paths-js": "^0.4.5",
"react-native-svg": "~5.5.1"
Expand Down
1 change: 0 additions & 1 deletion src/Bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import _ from 'lodash'
import Axis from './Axis'
import GridAxis from './GridAxis'
const Bar = require('paths-js/bar')
import 'babel-polyfill'

export default class BarChart extends Component {

Expand Down
1 change: 0 additions & 1 deletion src/Pie.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {Text as ReactText} from 'react-native'
import Svg,{ G, Path, Text, Circle} from 'react-native-svg'
import { Colors, Options, cyclic, identity, fontAdapt } from './util'
import _ from 'lodash'
import 'babel-polyfill'
const Pie = require('paths-js/pie')

export default class PieChart extends Component {
Expand Down
1 change: 0 additions & 1 deletion src/Radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {Text as ReactText} from 'react-native'
import Svg,{ G, Path, Line, Text} from 'react-native-svg'
import { Options, identity, styleSvg, fontAdapt } from './util'
const Radar = require('paths-js/radar')
import 'babel-polyfill'

function accessKeys(keys) {
let a = {}
Expand Down
1 change: 0 additions & 1 deletion src/Scatterplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { Options, styleSvg } from './util'
import Axis from './Axis'
import GridAxis from './GridAxis'
import _ from 'lodash'
import 'babel-polyfill'

const Stock = require('paths-js/stock')

Expand Down
1 change: 0 additions & 1 deletion src/Tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import Svg,{ Circle, G, Path, Text } from 'react-native-svg'
import { Options, styleSvg, fontAdapt } from './util'
import _ from 'lodash'
const Tree = require('paths-js/tree')
import 'babel-polyfill'

function children(x) {
if(x.collapsed) {
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import SmoothLine from './SmoothLine'
import StockLine from './StockLine'
import Scatterplot from './Scatterplot.js'

import 'core-js/es6/symbol'
import 'core-js/fn/symbol/iterator'

export {
Pie,
Tree,
Expand Down