Skip to content

Commit

Permalink
defining lineThickness in ko bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry A. Grechka committed May 12, 2016
1 parent f2bf73a commit 4ad76ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/idd/idd.ko.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
if(ko) { //add Knockout bindings. Requires that IDD loaded after Knockout
var lineThickness = 3;

ko.bindingHandlers.iddPlotName = {
update: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
var value = valueAccessor();
Expand Down

0 comments on commit 4ad76ba

Please sign in to comment.