So I am delving deeper (or trying to) into the google maps API, but they provide a REALLY shitty class reference. It's horribly incomplete and limited.Is there any way I can enumerate the methods of an object at runtime via javascript? This would help greatly in avoiding the need to freaking backtrace through every line of code, when I really just want to use the functionality they already have in place.
12/12/2005 2:46:07 AM
nevermind, found a solution.for reference this is handy as hell:EnumItenter the id of the object you want, and it will enumerate the whole damn thing. works in ie and firefox
12/12/2005 3:07:25 AM
"object" in javascript are extremely groovy. member variables and methods are pretty much the same thing... you can give a class a member variable, and you can give it methods... and then you can instantiate it as an object, and use those variables, and its methods... but you can change the variables... but you can also change the methods! and you can add new variables and methods too!also, have some fun with the "prototype" keyword.
12/12/2005 9:05:45 AM