-
April 5th, 2014, 03:54 PM
#1
Bad syntax in Lightstreamer 6.1.1 1640
concerning this Version:
* Lightstreamer JavaScript Client
* Version 6.1.1 build 1640
* Contains: Lightstreamer/LightstreamerClient, Lightstreamer/Subscription, Lightstreamer/DynaGrid, Lightstreamer/StaticGrid
* Globals (namespaced)
Line 41, Col. 9: "break a"
Our ASP.NET MVC4.5 BundleMinifier says: "run-time error JS1019: Can't have 'break' outside of loop: break a".
Obviously it won't recognize the label. Maybe it's possible to omit the label and put the following two statements in the try-block.
Line 395, Col. 273: "break a"
It's just a suggestion, but I think it have to be "return a".
-
April 7th, 2014, 09:44 AM
#2
Hi,
The labeled break is not contained in our source code, as we prefer to avoid such statements in our sources, but is introduced by the closure compiler we use to minify the library.
Do you have any chance to exclude our file from the BundleMinifier execution?
-
April 7th, 2014, 12:57 PM
#3
Anyway, let me stress the fact that the syntax as is is correct, thus you might want to fill a bug report to microsoft.
I took a look to their documentation and saw that the error is there too even if the documentation for the break keyword is correctly written:
JS1019: http://msdn.microsoft.com/en-US/en-e...a9cax(v=vs.90)
break (see the remarks section): http://msdn.microsoft.com/en-us/0bw81z75(v=vs.90)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 01:59 PM.
Bookmarks