[TxMt] Better JavaScript functions

Gavin Kistner gavin at refinery.com
Mon Sep 19 13:04:26 UTC 2005


On Sep 19, 2005, at 6:57 AM, Andreas Wahlin wrote:
>> Yup, that would create a local variable pointing to the  
>> functionName object. (The exact same functionality as using  
>> simply: function functionName(arguments){ ... }
>
> How do you make those declarations public?

http://phrogz.net/JS/Classes/OOPinJS.html

That page shows 'private' functions, 'privileged' functions, and  
public functions. If the examples don't answer your question, feel  
free to contact me off-list (as I fear we're straying far from  
TextMate topics. ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20050919/2c30c43f/attachment.html>


More information about the textmate mailing list