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

New Post: Global camel case support

$
0
0
Hi,

I mentioned this on my issue but thought I would start a discussion, what do we thing about adding the ability to add global camel case support.

I was thinking something like ScriptEngine.NameResolver = new CamelCaseNameResolver();

By default we would do everything as currently until you add the new resolver, it would simply lower case the first letter of a property/method name.

It would still allow attributes to override this if required.


Thoughts?

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>