Skip to content

Instantly share code, notes, and snippets.

@Serpent6877
Serpent6877 / controllers.application.js
Created April 3, 2018 21:33
ember-highchart-test
import Ember from 'ember';
export default Ember.Controller.extend({
applicationController: Ember.inject.controller('application'),
config: Ember.computed.reads('applicationController.config'),
stats: Ember.computed.reads('applicationController.model.stats'),
chartOptions: Ember.computed("hashrate", {
get() {
var e = this,
t = e.getWithDefault("model.minerCharts"),