Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Unassigned: Camel case for properties/methods [59]

$
0
0
Hi,

I am exposing existing .NET objects to my script now following .NET conventions I am using PascalCase for my names, is there any nice way that these can become camel cased once exposed to js?

I don't want to have to pollute my objects with methods of both cases or move to camel casing, it would be nice if there was an attribute I could put on methods or some sort of global flag to say treat eveyrthing as camel case.


Ideas?


Thanks
Stefan
Comments: Sorry I don't mean not documented just not in front of me.

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles



Latest Images