Commit Graph

5 Commits

Author SHA1 Message Date
Nick O'Leary 45ff86eae5 Do not rely on the HTML file to identify where nodes are registered from 2016-04-28 11:23:42 +01:00
Gabe Johnson b909e32201 Prevent RED.node.registerNode from overriding a constructor's prototype (#865)
* prevent registry.registerNodeConstructor from overriding a constructors protoype

* fix for node < v5.0.0

* exercise another code path

* altering __proto__ for node < v0.12

* move inheritance code to helper function
2016-04-07 22:18:28 +01:00
Nick O'Leary db686388b9 Fix registry test for Node 5 2016-03-16 11:05:10 +00:00
Nick O'Leary 45f67191ba Improve node registry test coverage 2016-01-06 17:01:11 +00:00
Nick O'Leary 9f5e6a4b37 Update tests for runtime/api separation 2016-01-06 17:01:11 +00:00