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

Adding babel-polyfill import to many charts to fix #62 for Android #85

Merged
merged 1 commit into from
Feb 15, 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: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
}
],
"dependencies": {
"babel-polyfill": "^6.23.0",
"lodash": "^4.12.0",
"paths-js": "^0.4.5",
"react-native-svg": "~4.5.0"
Expand Down
1 change: 1 addition & 0 deletions src/Bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { Colors, Options, fontAdapt, cyclic, color, identity } from './util'
import _ from 'lodash'
import Axis from './Axis'
const Bar = require('paths-js/bar')
import 'babel-polyfill'

export default class BarChart extends Component {

Expand Down
1 change: 1 addition & 0 deletions src/Pie.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ 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: 1 addition & 0 deletions src/Radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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: 1 addition & 0 deletions src/Scatterplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import Svg,{ Circle, G } from 'react-native-svg'
import { Options, styleSvg } from './util'
import Axis from './Axis'
import _ from 'lodash'
import 'babel-polyfill'

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

Expand Down
1 change: 1 addition & 0 deletions src/Tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ 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