I use gojs in my MVC project, it's work well in my development ENV(windows 10/MVC/.NET 4.5), but throw error in production ENV(windows server 2008/MVC/.NET4.5), now I'm sure it's not gojs problem, it's my production ENV issue, see below document link and error message.
It's obviously my server not support the break statement without switch/case, but I didn't use JScript in my project, still running well in windows10, even I use JScript dll in my project, the production ENV throw same error, now I'm confuse how to solve this issue.
DOC link: https://msdn.microsoft.com/en-us/0bw81z75(v=vs.90)
Message: Can't have 'break' outside of loop: break a
Error code: JS1019
Severity: 0
Subcategory: run-time
File: /Content/gojs/js/go.js
Start line: 1350
Start column: 316
End line: 1350
End column: 323
Exception
Message: BundleTransformer.MicrosoftAjax.MicrosoftAjaxParsingException: Message: Can't have 'break' outside of loop: break aError code: JS1019
Severity: 0
Subcategory: run-time
File: /Content/gojs/js/go.js
Start line: 1350
Start column: 316
End line: 1350
End column: 323