[javascript-dev] another example of weird javascript crosstalk
Emmanuel Jourdan
c74-mailinglists at e--j.com
Mon Jul 9 10:46:12 MDT 2007
- Previous message: [javascript-dev] another example of weird javascript crosstalk
- Next message: [javascript-dev] another example of weird javascript crosstalk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9 juil. 07, at 18:40, Ivica Ico Bukvic wrote: > That's it! Many thanks for keeping me sane! For some reason I > thought that > variable declarations within functions were local. Would > function.local=1; > have helped in this case, or would that simply prevent external > calls of > such functions but have no bearing whatsoever on shared data? Nope yourfunctionname.local = 1 sets the local property of a function to true… in other word, the function will be local to the file, so you can't call it from outside of the Max object (it'll says yourfunctionname is private in the Max window). ej
- Previous message: [javascript-dev] another example of weird javascript crosstalk
- Next message: [javascript-dev] another example of weird javascript crosstalk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
