I use gojs work with .net MVC, it’s work well in develop env. , but when I publish my project to production env, gojs throw an js error, and I’m not sure how to solve it.
And I searched for this error, maybe it’s env issue? windows 2008 + sqlserver 2008 + .net 4.0
ERROR:
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: 1342
Start column: 112
End line: 1342
End column: 119
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: BundleTransformer.MicrosoftAjax.MicrosoftAjaxParsingException: 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: 1342
Start column: 112
End line: 1342
End column: 119