What I want to do is, set a variable as "Scheduler/Get" if the mode is Debug and "GI/Scheduler/Get" if the mode is Release.
I know that in C# code, I should do something like this:
string x = "";
#if DEBUG
x = "Scheduler/Get";
#else
x = "GI/Scheduler/Get";
#endif
The problem is that I want to do it in a javascript method inside my view. Is that possible?
Thank you