New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo page doesn't work on Opera 12 (Linux) #2

Closed
crunchorn opened this Issue Jul 30, 2012 · 3 comments

Comments

Projects
None yet
3 participants
@crunchorn

crunchorn commented Jul 30, 2012

Opening demo page in current version of Opera throws following error:

Uncaught exception: DOMException: SYNTAX_ERR

Error thrown at line 311, column 6 in <anonymous function: Gauge.prototype.render>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    grd.addColorStop(1, this.options.colorStop);
called from line 217, column 4 in update() in http://bernii.github.com/gauge.js/:
    demoGauge.render();
Uncaught exception: DOMException: SYNTAX_ERR

Error thrown at line 311, column 6 in <anonymous function: Gauge.prototype.render>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    grd.addColorStop(1, this.options.colorStop);
called from line 130, column 8 in <anonymous function: ValueUpdater.prototype.update>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    this.render();
called from line 422, column 8 in <anonymous function: run>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    if (elem.update())
called from line 31, column 10 in <anonymous function>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    return callback(currTime + timeToCall);
Uncaught exception: DOMException: SYNTAX_ERR

Error thrown at line 311, column 6 in <anonymous function: Gauge.prototype.render>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    grd.addColorStop(1, this.options.colorStop);
called from line 130, column 8 in <anonymous function: ValueUpdater.prototype.update>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    this.render();
called from line 422, column 8 in <anonymous function: run>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    if (elem.update())
called from line 31, column 10 in <anonymous function>() in http://bernii.github.com/gauge.js/dist/gauge.js:
    return callback(currTime + timeToCall);

Environment

browser: Opera/9.80 (X11; Linux x86_64; U; pl) Presto/2.10.289 Version/12.00 (Core 2.10.289)
os: Ubuntu x64 12.04

@j-hernandez

This comment has been minimized.

Show comment
Hide comment
@j-hernandez

j-hernandez Jul 31, 2012

Confirmed in Opera 12 on Win7

j-hernandez commented Jul 31, 2012

Confirmed in Opera 12 on Win7

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Aug 6, 2012

Also confirmed in Firefox 14 and Firefox 17.

The problem is that the colorStart and colorStop in the demo page are being updated to e.g. "6FADCF" instead of "#6FADCF". Without the # the string is not a valid colour specification.

ghost commented Aug 6, 2012

Also confirmed in Firefox 14 and Firefox 17.

The problem is that the colorStart and colorStop in the demo page are being updated to e.g. "6FADCF" instead of "#6FADCF". Without the # the string is not a valid colour specification.

@ghost ghost assigned bernii Aug 15, 2012

@bernii

This comment has been minimized.

Show comment
Hide comment
@bernii

bernii Aug 15, 2012

Owner

thanks guys, fixed

Owner

bernii commented Aug 15, 2012

thanks guys, fixed

@bernii bernii closed this Aug 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment