Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fixes #17 easier way to edit data-binded properties
Browse files Browse the repository at this point in the history
added properties to Node prototyp
  • Loading branch information
timstuyckens committed Nov 25, 2013
1 parent be8c35c commit 690d8e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/js/devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ chrome.devtools.panels.elements.createSidebarPane(pluginTitle,function(sidebar)

});

chrome.devtools.inspectedWindow.eval("Node.prototype.editVM=function(prop,value){ko.bindingProvider.instance.getBindings(this,ko.contextFor(this))[prop](value);}");

var localStorageValue=undefined;
try{
localStorageValue = localStorage["shouldPanelBeShown"];
Expand Down

0 comments on commit 690d8e4

Please sign in to comment.