New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-chart

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-chart - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

6

dist/amd/attributes/chart-attribute.js

@@ -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 && _isObserving) {
if (_this._isSetup && _this._isObserving) {
_this.refreshChart();

@@ -93,3 +93,3 @@ _this._modelObserver.unsubscribe();

if (this.shouldUpdate == true) {
if (this._isObserving) {
this.subscribeToChanges();

@@ -125,3 +125,3 @@ }

this._modelObserver.throttle = this.throttle || 100;
this._modelObserver.observe(this.data.datasets, this.refreshChart);
this._modelObserver.observe(this.data, this.refreshChart);
}

@@ -128,0 +128,0 @@ }, {

@@ -74,3 +74,3 @@ "use strict";

this.propertyChanged = function (propertyName, newValue, oldValue) {
if (_this._isSetup && _isObserving) {
if (_this._isSetup && _this._isObserving) {
_this.refreshChart();

@@ -98,3 +98,3 @@ _this._modelObserver.unsubscribe();

if (this.shouldUpdate == true) {
if (this._isObserving) {
this.subscribeToChanges();

@@ -130,3 +130,3 @@ }

this._modelObserver.throttle = this.throttle || 100;
this._modelObserver.observe(this.data.datasets, this.refreshChart);
this._modelObserver.observe(this.data, this.refreshChart);
}

@@ -133,0 +133,0 @@ }, {

@@ -28,3 +28,3 @@ import {inject, customAttribute, bindable} from 'aurelia-framework'

if(this.shouldUpdate == true)
if(this._isObserving)
{ this.subscribeToChanges(); }

@@ -43,3 +43,3 @@ }

propertyChanged = (propertyName, newValue, oldValue) => {
if(this._isSetup && _isObserving)
if(this._isSetup && this._isObserving)
{

@@ -79,4 +79,4 @@ this.refreshChart();

this._modelObserver.throttle = this.throttle || 100;
this._modelObserver.observe(this.data.datasets, this.refreshChart);
this._modelObserver.observe(this.data, 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 && _isObserving) {
if (_this._isSetup && _this._isObserving) {
_this.refreshChart();

@@ -98,3 +98,3 @@ _this._modelObserver.unsubscribe();

if (this.shouldUpdate == true) {
if (this._isObserving) {
this.subscribeToChanges();

@@ -130,3 +130,3 @@ }

this._modelObserver.throttle = this.throttle || 100;
this._modelObserver.observe(this.data.datasets, this.refreshChart);
this._modelObserver.observe(this.data, this.refreshChart);
}

@@ -133,0 +133,0 @@ }, {

{
"name": "aurelia-chart",
"version": "0.2.2",
"version": "0.2.3",
"registry": "jspm",

@@ -5,0 +5,0 @@ "description": "A simple element to handle showing charts (uses chart js behind the scenes)",

@@ -28,3 +28,3 @@ import {inject, customAttribute, bindable} from 'aurelia-framework'

if(this.shouldUpdate == true)
if(this._isObserving)
{ this.subscribeToChanges(); }

@@ -43,3 +43,3 @@ }

propertyChanged = (propertyName, newValue, oldValue) => {
if(this._isSetup && _isObserving)
if(this._isSetup && this._isObserving)
{

@@ -79,4 +79,4 @@ this.refreshChart();

this._modelObserver.throttle = this.throttle || 100;
this._modelObserver.observe(this.data.datasets, this.refreshChart);
this._modelObserver.observe(this.data, this.refreshChart);
};
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc