gruss Marco,
Mit Hilfe von http://www.dustindiaz.com/namespace-your-javascript/
ich finde, die von Dustin Diaz vorgestellte loesung ist noch nicht
ganz ausgereift. zur erzeugung wasserdichter namespaces empfehle ich
den einsatz eines echten konstruktors, der nur minimal manipuliert
werden muss - guckst Du hier weiter unten unter "Singleton"-muster:
https://forum.selfhtml.org/?t=149031&m=967955
by(t)e by(t)e - peterS. - pseliger@gmx.net
--
»Because objects in JavaScript are so flexible, you will want to think differently about class hierarchies.
Deep hierarchies are inappropriate. Shallow hierarchies are efficient and expressive.« - Douglas Crockford
ie:( fl:) br:> va:( ls:& fo:) rl:| n3;} n4:} ss:} de:µ js:} mo:? zu:]
»Because objects in JavaScript are so flexible, you will want to think differently about class hierarchies.
Deep hierarchies are inappropriate. Shallow hierarchies are efficient and expressive.« - Douglas Crockford
ie:( fl:) br:> va:( ls:& fo:) rl:| n3;} n4:} ss:} de:µ js:} mo:? zu:]