nathansearles / slidesjs

SlidesJS is obsolete and no longer maintained.
https://nathansearles.github.io/slidesjs/
1.71k stars 356 forks source link

Syntax error #528

Open Daijobou opened 11 years ago

Daijobou commented 11 years ago

http://closure-compiler.appspot.com/home can't compile source of Slides. :(

Number of errors: 4

JSC_PARSE_ERROR: Parse error. missing name after . operator at line 210 character 13 return _this.goto(($(e.currentTarget).attr("data-slidesjs-item") * 1) + 1);

JSC_PARSE_ERROR: Parse error. missing name after . operator at line 277 character 17 Plugin.prototype.goto = function(number) {

JSC_PARSE_ERROR: Parse error. missing ) in parenthetical at line 310 character 1 };

JSC_PARSE_ERROR: Parse error. syntax error at line 624 character 0 }).call(this);

Daijobou commented 11 years ago

This command-line parameter helps --language_in=ECMASCRIPT5

Source: http://code.google.com/p/closure-compiler/issues/detail?id=525