Skip to content

Commit

Permalink
Fixed issue #66 - problem with correct parsing dom attributes on muta…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
Mikhus committed Sep 27, 2016
1 parent 807a2fc commit 500d9b3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "canvas-gauges",
"version": "2.0.6",
"version": "2.0.7",
"homepage": "https://github.com/Mikhus/canvas-gauges",
"authors": [
"Mykhailo Stadnyk <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion gauge.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gauge.min.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/DomObserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ export default class DomObserver {
}).join('');
let options = {};

options[prop] = node.getAttribute(record.attributeName);
options[prop] = DomObserver.parse(
node.getAttribute(record.attributeName));

instance.update && instance.update(options);
}
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": "canvas-gauges",
"version": "2.0.6",
"version": "2.0.7",
"description": "Minimalistic HTML5 Canvas Gauges",
"main": "gauge.min.js",
"directories": {
Expand Down

0 comments on commit 500d9b3

Please sign in to comment.