Browse Source

first needed modifications to support react

tags/1.2.0
Tobias Lins 7 years ago
parent
commit
4733c51cda
4 changed files with 3500 additions and 1 deletions
  1. +1
    -0
      dist/frappe-charts.min.css
  2. +1
    -0
      rollup.config.js
  3. +1
    -1
      src/scripts/charts/BaseChart.js
  4. +3497
    -0
      yarn.lock

+ 1
- 0
dist/frappe-charts.min.css
File diff suppressed because it is too large
View File


+ 1
- 0
rollup.config.js View File

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


+ 1
- 1
src/scripts/charts/BaseChart.js 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
- 0
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save