- # Code contained some property named "public" which is a reserved keyword.
- # YUI Compressor failed to report any error when ran by Jammit as opposed to Closure Compiler which gave the following :
- stdin:34: ERROR - Parse error. invalid property id
- public: false
- ^
- stdin:34: ERROR - Parse error. syntax error
- public: false
- ^
- stdin:35: ERROR - Parse error. syntax error
- });
- ^
- stdin:89: ERROR - Parse error. missing formal parameter
- setPublic: function(public) {
- ^
- stdin:90: ERROR - Parse error. syntax error
- this.set({
- ^
- stdin:91: ERROR - Parse error. syntax error
- public: public
- ^
- stdin:92: ERROR - Parse error. syntax error
- });
- ^
- stdin:95: ERROR - Parse error. missing ) in parenthetical
- getPublic: function() {
- ^
- stdin:97: ERROR - Parse error. syntax error
- },
- ^
- stdin:98: ERROR - Parse error. syntax error
- set: function(attributes, options) {
- ^
- stdin:99: ERROR - Parse error. missing ; before statement
- if (attributes && attributes['_id']) {
- stdin:102: ERROR - Parse error. syntax error
- }
- stdin:103: ERROR - Parse error. missing ; before statement
- if (attributes && attributes['location']) {
- stdin:104: ERROR - Parse error. syntax error
- this.guessType();
- ^
- stdin:105: ERROR - Parse error. syntax error
- }
- stdin:107: ERROR - Parse error. syntax error
- }
- stdin:108: ERROR - Parse error. syntax error
- });
- ^
- stdin:109: ERROR - Parse error. syntax error
- }).call(this);
- ^
- stdin:277: ERROR - Parse error. missing name after . operator
- this.public = this.$('.link-public-button');
- ^
- stdin:280: ERROR - Parse error. missing name after . operator
- this.public.css({
- ^
- stdin:281: ERROR - Parse error. syntax error
- color: 'green'
- ^
- stdin:282: ERROR - Parse error. syntax error
- });
- ^
- stdin:285: ERROR - Parse error. missing name after . operator
- this.public.css({
- ^
- stdin:286: ERROR - Parse error. syntax error
- color: 'black'
- ^
- stdin:287: ERROR - Parse error. syntax error
- });
- ^