Nikhil Kothari

Results 117 comments of Nikhil Kothari

Based on the referenced SO question, wouldn't this work? (likely somewhere at the bottom of the runtime script, after types have been registered, prototype has been set etc.) ``` StringBuilder.prototype.toString...

Hear you both on this (then hangs head in shame :)) Need to fix this situation... in particular, starting with releases and docs in short term. That said, there could...

Your example in the other issue was actually useful... for anyone else who comes across this. For the benefit of others, the string passed in into Script.Literal must be a...

ecd28d71fa944ec7ecda920ee07650d9c371288c allows for JSON object for specifying graphs. This might be more interesting that making repeated calls to TF APIs for each op.

Try declaring both partials as implementing IBah.

I think I understand your scenario. Its clearly a bug, but wanted to send you a workaround, in case it helped unblock you. Potentially, there is a way to share...

Yes - looks leftover from previous implementation that didn't get cleaned up. There are couple more occurrences that need to be addressed in this: https://github.com/nikhilk/scriptsharp/blob/cc/src/Core/Scripts/Runtime/Format.js I will get to them,...

Better workaround: ``` Script.SetField(jQuery.Support, "cors", true) ``` Almost, never (pretty much a rule with very few exceptions) use Script.Eval. Even if you have to use Script.Eval, consider Script.Literal instead. And...

This requires a handful of changes in the right places, but shouldn't be majorly complex. Most of the core infrastructure for symbol renaming should extend to parameters already. Do you...

I am assuming DataContract/DataMember would be ignored as far as script# is concerned right? Assuming, yes, that certainly makes sense, and helps creating shared types. It would be great to...