Skip to content

Commit

Permalink
Live config change
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Sep 9, 2015
1 parent f4f71fb commit bc6f781
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/class/view_render.js
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,7 @@ module.exports = function(Hawkejs, Blast) {
parent_pieces,
element_id,
parent,
config,
value,
html,
id;
Expand Down Expand Up @@ -1436,11 +1437,13 @@ module.exports = function(Hawkejs, Blast) {
this.live_bindings[id] = [];
}

this.live_bindings[id].push({
config = {
element_id: element_id,
callback: ''+callback,
path: path
});
};

this.live_bindings[id].push(config);
});

/**
Expand Down

0 comments on commit bc6f781

Please sign in to comment.