0
votes
1answer
33 views

Dynamically create object

I am developing a web-application and I am encountering some trouble : I have some tabs and each one contains input forms with different values. I need to switch beetween these tabs and see the ...
2
votes
0answers
69 views

improve a js object “framework”

I have this simple object setup in javascript - Full code on jsbin http://jsbin.com/uqacop/11/edit#javascript,live I'll break it up below, but the question(s) - Does it break? I mean, I'm sure ...
0
votes
0answers
28 views

Making one object the property of another whilst avoiding scope issues

After being inspired by some MVC style design patterns, I have been trying to separate data from views in my code and move toward a more sensibly organized object based approach. (please, don't bother ...
0
votes
0answers
106 views

Implementation of Javascript Classes and Inheritance

I've created a simple Javascript library to be able to create "classes" and extend them defining instance and static methods and variables. It consists in a simple function Class with two methods: ...
0
votes
0answers
107 views

“metaconstructors” for inheritance in js?

Edit - decl smokes dojo.declare - http://jsperf.com/dojo-declare-vs-decl The code has been updated a bit. decl now accepts object literals as well, although I still like "declaration functions" ...