angular-restmod icon indicating copy to clipboard operation
angular-restmod copied to clipboard

Missing _ in builder.extend

Open chrisjensen opened this issue 8 years ago • 0 comments

Builder file is missing an _

this[_name] = Utils.override(this[name], _fun);

This goes unnoticed in the browser because name resolves to a global variable which results in the call being Utils.override(undefined, _fun) (which works).

However, when running in headless tests on node, it results in an undefined variable exception.

chrisjensen avatar Mar 10 '17 07:03 chrisjensen