Refactoring tool feature requests- Explicit xo4a: flag everywhere that anonymous functions mention this and make the user choose the translation that captures his intention.
- Packaged contructors: rewrite the pattern
pkg.Foo = function Foo(x) { this.x_ = x; };
pkg.Foo.prototype.getX = function() { return this.x_; };into
(function () {
function Foo(x) { this.x_ = x; }
Foo.prototype.getX = function() { return this.x_; };
pkg.Foo = Foo;
})();
|