Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

2 the same objects

$
0
0
Hey guys,
Have a problem. I try to create 2 the same objects, but separated:
window.Obj1 = can.extend(true, {}, new Position('#null2', { }));
window.Obj2 = can.extend(true, {}, new Position('#null3', { }));


The problem is: When i try to access config,methods of Obj2,I have from Obj1 only. It is not separated. Where is the problem?
Thanks for help.

Viewing all articles
Browse latest Browse all 3491

Trending Articles