Skip to content

Scope binding

Compare
Choose a tag to compare
@EnoF EnoF released this 18 Apr 06:47
· 21 commits to master since this release

In this release EnoFJS has improved significantly on performance. This was gained by not modifying the scope for each and every function. That means that functions passed on to a function which will modify the scope, will have no reference to the private, protected or public any more.

bindScope

var array = [];
array.map(this.private.foo.bindScope(this));