-
6 Feb 2013 10:46 AM #1
Problem with warnings
Problem with warnings
When i do the building i get this warning lines in the console
[WRN] [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initializer => ] ] :: ( /Applications/MAMP/htdocs/myapp/ext/src/ux/grid/filter/DateFilter.js => 133 : 25 )
[INF] Processing class inheritance graph
[INF] Processing instantiation refereces to classes and aliases
[WRN] [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initializer => ] ] :: ( /Applications/MAMP/htdocs/myapp/ext/src/ux/grid/filter/DateFilter.js => 133 : 25 )
Did i miss any requires or Ext.requires in my App.js file?
Thanks
-
6 Feb 2013 12:22 PM #2
What in "Trailing comma is not legal in an ECMA-262 object" makes you wonder you missed "requires"?
Does the application fails?UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
6 Feb 2013 1:29 PM #3
-
6 Feb 2013 1:38 PM #4
Is not Sencha's "compiler", is YUI compressor the one generating the warning.
And there is a reason:
/Applications/MAMP/htdocs/myapp/ext/src/ux/grid/filter/DateFilter.js
Trailing comma is not legal in an ECMA-262 object initializer
You should start to learn what is abstracted in cmd, you have a case of "leaky abstraction":
http://www.joelonsoftware.com/articles/LeakyAbstractions.html
For now just ignore the warnings.UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!


Reply With Quote