Add fetch polyfill and remove debug

This commit is contained in:
Gaëtan Duchaussois 2016-11-23 18:19:06 +01:00
parent 9959291cff
commit a2c0852f33
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,4 @@
import fetch from 'fetch';
import Ember from 'ember';
import config from '../config/environment';
import jQuery from 'jquery';
@ -25,8 +26,6 @@ export default Ember.Component.extend({
headers: headers
}).then((response) => {
if (response.ok) {
console.debug("Requete OK");
//window.location.reload();
this.setChartDataConsign(id, target);
this.set("isSaving", false);
}

View file

@ -37,6 +37,7 @@
"ember-cli-uglify": "^1.2.0",
"ember-data": "^2.9.0",
"ember-export-application-global": "^1.0.5",
"ember-fetch": "1.3.0",
"ember-highcharts": "0.5.0",
"ember-load-initializers": "^0.5.1",
"ember-resolver": "^2.0.3",