-
21 Jun 2007 12:06 PM #1
[Solved] Ext Builder 0.1 Alpha1: Problem parsing "//"
[Solved] Ext Builder 0.1 Alpha1: Problem parsing "//"
Hello,
I'm having some trouble since swiching to the java version of "Ext Builder" / JS Builder from the Windows version (http://code.google.com/p/js-builder) to process our custom javascript.
Any lines with "//" are being truncated. For example:
becomes:Code:Ext.SSL_SECURE_URL = 'https://www.test.com';
or....Code:Ext.SSL_SECURE_URL = 'https:
becomes:Code:return this.replace(/\//g, " / ");
Code:return this.replace(/\
-
21 Jun 2007 3:56 PM #2
-
23 Jun 2007 7:25 PM #3
I just posted 0.1 Alpha 1a which fixes this problem
http://extjs.com/forum/showthread.php?p=38008#post38008
Enjoy!
-
25 Jun 2007 5:13 AM #4
This does indeed fix the problem I was experiencing... Thank you for the quick attention.
Jason
-
2 Jul 2007 10:37 PM #5
Hi Jon,
nice tool!
But I just ran into another little problem with //
I accidentally wrote a comment this way: /// , which was left by JSBuilder as / (unterminated regex).
What does /// mean?
a. Empty rexexp followed by division
b. comment containing /
To my knowledge empty regexps are not allowed.
-
3 Jul 2007 6:29 AM #6
I do believe you are correct on both accounts.
Currently I just look for //<space><comment> to strip out as I can not handle every type of inline comment that is created as most inline javascript comments that re used in Ext JS are just that a //<space><comment> so that is how i look and then strip the comments.
are you using the Java builder or the .net application?
-
3 Jul 2007 6:34 AM #7
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote