first needed modifications to support react

This commit is contained in:
Tobias Lins 2017-11-02 21:49:06 +01:00
parent 24b389b12c
commit 4733c51cda
4 changed files with 3500 additions and 1 deletions

1
dist/frappe-charts.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,7 @@ export default [
plugins: [
postcss({
extensions: [ '.less' ],
extract: 'dist/frappe-charts.min.css',
plugins: [
nested(),
cssnext({ warnForDuplicates: false }),

View File

@ -21,7 +21,7 @@ export default class BaseChart {
}) {
this.raw_chart_args = arguments[0];
this.parent = document.querySelector(parent);
this.parent = typeof parent === 'String' ? document.querySelector(parent) : parent;
this.title = title;
this.subtitle = subtitle;

3497
yarn.lock Normal file

File diff suppressed because it is too large Load Diff