return a new function for each getter

- defines the getters onto a proto
- the function returned has its __proto__ set to our proto

fixes #32
This commit is contained in:
Sean McArthur 2014-07-08 20:43:54 -07:00
parent 3073fa3110
commit 42918337e5
4 changed files with 34 additions and 6 deletions

View file

@ -9,6 +9,7 @@
"indent": 4,
"newcap": true,
"noarg": true,
"proto": true,
"quotmark": "single",
"undef": true,
"unused": "vars",