Skip to content

Commit

Permalink
0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jtblin committed Dec 7, 2015
1 parent d20feaa commit 9baf56d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-chart.js",
"version": "0.8.7",
"version": "0.8.8",
"main": [
"./dist/angular-chart.js",
"./dist/angular-chart.css"
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(
typeof angular ? angular : require('angular'),
typeof Chart ? Chart : require('chart.js'));
typeof angular !== 'undefined' ? angular : require('angular'),
typeof Chart !== 'undefined' ? Chart : require('chart.js'));
} else if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['angular', 'chart'], factory);
Expand Down
Binary file modified dist/angular-chart.js.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/angular-chart.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/angular-chart.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/charts.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h1>
<p>
<a class="btn btn-default btn-lg" href="https://github.com/jtblin/angular-chart"><i class="icon-github"></i>Code on Github</a>
<a class="btn btn-success btn-lg" href="../dist/angular-chart.js.tar.gz" download="angular-chart.js.tar.gz">
<i class="fa fa-download"></i> Download <small>(0.8.7)</small>
<i class="fa fa-download"></i> Download <small>(0.8.8)</small>
</a>
</p>
</div>
Expand Down Expand Up @@ -188,7 +188,7 @@ <h1>Directives</h1>
</tab>
<tab heading="Markup">
<pre><code data-language="html">&lt;canvas id=&quot;bar&quot; class=&quot;chart chart-bar&quot;
chart-data=&quot;data&quot; chart-labels=&quot;labels&quot;&gt;
chart-data=&quot;data&quot; chart-labels=&quot;labels&quot;&gt; chart-series=&quot;series&quot;
&lt;/canvas&gt;</code></pre>
</tab>
<tab heading="Javascript">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-chart.js",
"version": "0.8.7",
"version": "0.8.8",
"description": "An angular.js wrapper for Chart.js",
"main": "dist/angular-chart.js",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/coverage.js

Large diffs are not rendered by default.

0 comments on commit 9baf56d

Please sign in to comment.