urin/jquery.balloon.js

Uncaught SyntaxError: Use of const in strict mode.

onet4 opened this issue · 1 comments

onet4 commented

Hello, looks like a nice plugin. However, it does not seem to be functioning at all.

I just download the zip http://www.jqueryscript.net/download/Easy-User-friendly-Tooltip-Plugin-For-jQuery-balloon-js.zipfile from here and opened the index.html to see the demo.

I don't see a balloon unfortunately.

There is an error in the console.

Uncaught SyntaxError: Use of const in strict mode. 

I commented out the line in the script source code (jquery.balloon.js).

'use strict';

It resolved the error but I don't see any balloons.

The downloaded script from the above link was v1.0.0 and I tried v1.0.3 downloaded from GitHub but it has the same issue.

urin commented

use strict was removed at c948f0c.
Could you try the latest one?