Timeline for Extending DOM elements with prototype for easier function execution
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 7, 2013 at 4:14 | comment | added | EasyBB |
I understand now. Though I am now getting in FF something about property only has a getter or something like that
|
|
Nov 7, 2013 at 4:13 | vote | accept | EasyBB | ||
Nov 6, 2013 at 23:34 | comment | added | EasyBB | Ok thank you, I'll read on it. If all is well then I'll mark this as the accepted answer. | |
Nov 6, 2013 at 18:20 | comment | added | m_x | no, see... Object.defineProperties | |
Nov 6, 2013 at 16:14 | comment | added | EasyBB |
Ok so I have to use Object.defineProperty(o being the object, foo being the property of o and value is the properties value and then enumerable false makes it non-enumerable. Do I have to do this to each property, hence defineProperty and not defineProperties
|
|
Nov 6, 2013 at 10:23 | history | edited | Flambino | CC BY-SA 3.0 |
added a "var" keyword for clarity
|
Nov 6, 2013 at 9:05 | history | answered | m_x | CC BY-SA 3.0 |