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

ember-cli-chartist

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-chartist - npm Package Compare versions

Comparing version

to
0.2.5-beta1

dist/assets/dummy.css

9

app/components/chartist-chart.js

@@ -48,3 +48,4 @@ import Ember from 'ember';

responsiveOptions: UNDEF,
updateOnData: true,
// This is where the business happens. This will only run if checkForReqs

@@ -63,2 +64,8 @@ // doesn't find any problems.

onData: function () {
if (this.get('updateOnData')) {
this.get('chart').update(this.get('data'));
}
}.observes('data'),
// Before trying to do anything else, let's check to see if any necessary

@@ -65,0 +72,0 @@ // attributes are missing or if anything else is fishy about attributes

6

package.json
{
"name": "ember-cli-chartist",
"version": "0.2.4",
"version": "0.2.5-beta1",
"description": "Ember Addon for Chartist.js",

@@ -29,3 +29,3 @@ "directories": {

"broccoli-ember-hbs-template-compiler": "^1.6.1",
"ember-cli": "0.1.5",
"ember-cli": "^0.1.9",
"ember-cli-content-security-policy": "^0.3.0",

@@ -37,3 +37,3 @@ "ember-cli-dependency-checker": "0.0.7",

"ember-cli-qunit": "0.1.2",
"ember-cli-sass": "^3.0.3",
"ember-cli-sass": "3.0.3",
"ember-data": "1.0.0-beta.12",

@@ -40,0 +40,0 @@ "ember-export-application-global": "^1.0.0",

@@ -123,2 +123,12 @@ # Chartist.js for Ember-CLI Projects

#### Other configuration
There are other ways to configure chartist-chart components that are specific to the addon.
**updateOnData**: By default, when the data associated with a chartist-chart is changed, the chart will be updated to reflect the data. That can be turned off by setting updateOnData to false. Note: If you use this option, you will have to manually draw and redraw the chart using Chartist methods.
```
{{chartist-chart updateOnData=false}}
```
### Custom CSS

@@ -175,6 +185,2 @@

updateChart: function () {
this.get('chart').update(this.get('data'));
}.observes('data'),
ratio: 'ct-minor-seventh',

@@ -181,0 +187,0 @@ options: {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display