scriptsharp icon indicating copy to clipboard operation
scriptsharp copied to clipboard

Script# Project - a C# to JavaScript compiler, to power your HTML5 and Node.js web development.

Results 104 scriptsharp issues
Sort by recently updated
recently updated
newest added

I just came across this scenario with a piece of code of ours. The following (valid) C# code: ``` csharp int number = somevar - -10; // legitimately subtracting a...

Fixed
Compiler

Hello, First let me just say great work so far, awesome tool :) I have a query regarding auto implemented properties. Currently as I understand it auto properties are not...

Hello, please support the jQuery setting jQuery.support.cors (see http://api.jquery.com/jQuery.support). I need this to force Cross Domain Calls on certain IE browsers. Cheers Andreas Edit: Current workaround is `Script.Eval("jQuery.support.cors = true;");`

Libs
Fixed

Hi there, I've upgraded my Script# project to 0.8 (previously using 0.7.6). Unfortunately the comments are now not being generated in the JavaScript file. The code used to be public...

I have a project created using 0.7.4 and I'm now trying to upgrade this to 0.7.5, but setting the resource files to "public" causes issues because it's trying to declare...

Fixed

**What:** Script test hangs after successful completion, reporting results and browser closing **Where:** ScriptSharp.Testing version=0.7.5 + NUnit 2.6.1 **When Started:** After implementation of the test web server switched from the...

Fixed
Bug

Hi. I'm having an issue with a file being truncated when generated. the Script# code is like: namespace A.B.C { Public enum foo1{} ``` Public enum foo2{} Public Class Foo{}...

Fixed
Bug

I have classes with the same name but in different folders/namespaces. The new compiler doesn't seem to like it: The type 'BigBrainScript.Registration.ViewModels.SessionOptionViewModel' conflicts with with 'BigBrainScript.CampBuilder.ViewModels.SessionOptionViewModel' as they have the...

Q&A Discussion

Currently, when passing a function as an argument to another method a `ss.Delegate` object is created for each call. This will cause an unpredictable behavior when comparing methods received as...

Scripts
Fixed
Suggestion

The following piece of ScriptSharp code is getting translated into javascript which doesn't retain the correct logic: //C# code SyncData sync = (!Script.IsUndefined(GlobalVariables.SyncData)) ? GlobalVariables.SyncData : null; //Javascript var sync...

Fixed
Compiler
Bug