RiverJS on Github
Report Home
lib/grammer/jchange.js
Maintainability
82.45
Lines of code
12
Difficulty
6.46
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
define('river.grammer.jChange', function() { function change (str) { var fn = this.scope[str]; var scope = this.scope; this.node.onchange = function(){ fn.call({},this.value); scope.apply(); }; } return change; });