Skip to content
Snippets Groups Projects
Commit 4c5200e8 authored by Mathis Neumann's avatar Mathis Neumann
Browse files

jshint fixes

parent 7af23130
No related branches found
No related tags found
No related merge requests found
import Ember from 'ember';
import RESTAdapter from 'ember-data/adapters/rest';
import FixtureAdapter from 'ember-data-fixture-adapter';
// import FixtureAdapter from 'ember-data-fixture-adapter';
import ENV from 'iobserve-ui/config/environment';
export default RESTAdapter.extend({
......
import Ember from 'ember';
// requires flot.js to be included in vendor.js (via ember-cli-build.js)
const { Component, on, observer, computed, String, get} = Ember;
const { Component, on, observer, computed, get} = Ember;
export default Component.extend({
visualisationEvents: Ember.inject.service(),
......@@ -25,7 +25,7 @@ export default Component.extend({
this._super(...arguments);
},
style: computed('height', function () { // flot requires a fix height
return String.htmlSafe(`height: ${this.get('height')}px;`);
return Ember.String.htmlSafe(`height: ${this.get('height')}px;`);
}),
resize() {
const plot = this.get('plot');
......
......@@ -19,7 +19,7 @@ export default Ember.Service.extend({
});
// services not used in current view
const {services, serviceInstances, communications} = prepared;
const {services, /* serviceInstances,*/ communications} = prepared;
var network = {
nodes: [],
......
......@@ -62,7 +62,7 @@ export default Ember.Service.extend({
}
this.get('store').unloadRecord(oldRecord);
},
APPEND(changelog) {
APPEND(/*changelog*/) {
throw new Error('not yet implemented');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment