aurelia-ui-toolkits / demo-kendo

Demo application for Aurelia-KendoUI-plugin
MIT License
3 stars 9 forks source link

area-charts-binding-to-grouped-data fails to render the chart #12

Closed adriatic closed 7 years ago

adriatic commented 7 years ago

http://aurelia-ui-toolkits.github.io/demo-kendo/#/samples/area-charts-binding-to-grouped-data

Error:

Unhandled rejection (SystemJS) XHR error (404 Not Found) loading http://aurelia-ui-toolkits.github.io/demo-kendo/src/stock-data-2011.json
    Error: XHR error (404 Not Found) loading http://aurelia-ui-toolkits.github.io/demo-kendo/src/stock-data-2011.json
    Error loading http://aurelia-ui-toolkits.github.io/demo-kendo/src/stock-data-2011.json!ht…ts.github.io/demo-kendo/jspm_packages/github/systemjs/plugin-json@0.1.2.js as "stock-data-2011.json!json" from https://gist-serve.jeroenvinke.nl/file-cache-bust/28004/8a0ec3066cf189f1e30c01bc648a73c0/app.js
JeroenVinke commented 7 years ago

Thanks, fixed by making it import of the json file relatively:

import electricity from 'stock-data-2011.json!json';

to

import electricity from './stock-data-2011.json!json';

adriatic commented 7 years ago

Was this an "original" bug? I would swear that I tested all charts some time ago

JeroenVinke commented 7 years ago

I was surprised as well, no idea how long this has been failing