Fixes a bug with user defined attribute names overwriting builtins.
If you define an attribute on a model with the same name as a built-in instance method the attribute's automatically created get/set methods will overwriting the built-in causing much hilarity. Adds a unit test for the bug.
Showing
with
40 additions
and
6 deletions
test/unit/model/overwriting-builtins.test.js
0 → 100644
-
Please register or sign in to post a comment