aurelia-chart
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -69,3 +69,3 @@ define(["exports", "aurelia-framework", "../observers/model-observer", "chartjs"], function (exports, _aureliaFramework, _observersModelObserver, _chartjs) { | ||
this.propertyChanged = function (propertyName, newValue, oldValue) { | ||
if (_this._isSetup && _this.shouldUpdate == true) { | ||
if (_this._isSetup && _isObserving) { | ||
_this.refreshChart(); | ||
@@ -72,0 +72,0 @@ _this._modelObserver.unsubscribe(); |
@@ -74,3 +74,3 @@ "use strict"; | ||
this.propertyChanged = function (propertyName, newValue, oldValue) { | ||
if (_this._isSetup && _this.shouldUpdate == true) { | ||
if (_this._isSetup && _isObserving) { | ||
_this.refreshChart(); | ||
@@ -77,0 +77,0 @@ _this._modelObserver.unsubscribe(); |
@@ -42,3 +42,3 @@ import {inject, customAttribute, bindable} from 'aurelia-framework' | ||
propertyChanged = (propertyName, newValue, oldValue) => { | ||
if(this._isSetup && this.shouldUpdate == true) | ||
if(this._isSetup && _isObserving) | ||
{ | ||
@@ -45,0 +45,0 @@ this.refreshChart(); |
@@ -74,3 +74,3 @@ System.register(["aurelia-framework", "../observers/model-observer", "chartjs"], function (_export) { | ||
this.propertyChanged = function (propertyName, newValue, oldValue) { | ||
if (_this._isSetup && _this.shouldUpdate == true) { | ||
if (_this._isSetup && _isObserving) { | ||
_this.refreshChart(); | ||
@@ -77,0 +77,0 @@ _this._modelObserver.unsubscribe(); |
{ | ||
"name": "aurelia-chart", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"registry": "jspm", | ||
@@ -5,0 +5,0 @@ "description": "A simple element to handle showing charts (uses chart js behind the scenes)", |
@@ -42,3 +42,3 @@ import {inject, customAttribute, bindable} from 'aurelia-framework' | ||
propertyChanged = (propertyName, newValue, oldValue) => { | ||
if(this._isSetup && this.shouldUpdate == true) | ||
if(this._isSetup && _isObserving) | ||
{ | ||
@@ -45,0 +45,0 @@ this.refreshChart(); |
Sorry, the diff of this file is not supported yet
1759836