Permalink
Browse files

Update MyClass.js

browser example simplified
  • Loading branch information...
1 parent c3ad218 commit 43088e2d290224a79688db7419b7f7bab17e2450 @warmuuh committed Apr 5, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 browser-example/MyClass.js
@@ -19,10 +19,10 @@ MyClass.prototype = {
},
- onNodeClick: function( e, /*@Autowired*/node )
+ onNodeClick: function( e )
/* @On("node", "click") */
{
- alert("you clicked the button: " + e.target.value + "\nNode:" + node); // + node);
+ alert("you clicked the button: " + e.target.value ); // + node);
}
};

0 comments on commit 43088e2

Please sign in to comment.