MCPcopy Index your code
hub / github.com/RubyLouvre/anu / proxy

Function proxy

test/babel.js:830–835  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

828 var newType = t.DEPRECATED_KEYS[_type];
829
830 function proxy(fn) {
831 return function () {
832 console.trace("The node type " + _type + " has been renamed to " + newType);
833 return fn.apply(this, arguments);
834 };
835 }
836
837 t[_type] = t[_type[0].toLowerCase() + _type.slice(1)] = proxy(t[newType]);
838 t["is" + _type] = proxy(t["is" + newType]);

Callers 1

_loopFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected