Jquery plugin can not be initialized?

86 views
Skip to first unread message

Vladimir Marek

unread,
Nov 28, 2013, 5:55:09 AM11/28/13
to penta...@googlegroups.com
:loadplugins
Sourcing file: /home/neuron/.pentadactyl/plugins/jQuery.js:5: SyntaxError: syntax error

:version
Pentadactyl hg6975 (created 2013/11/03 00:00:03) running on:
Mozilla/5.0 (X11; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0

I looked into the plugin and there is

var INFO = <plugin> ... </plugin>;

Looking at other plugins, they seem to use

var INFO = ["plugin", ... ];

I tried to rework the former into the later, but I can't still load the plugin, now the error is at line

let code = atob(String.replace(<![CDATA[

Do you have any better experience with the jquery plugin? Can I somehow use normal jQuery source instead of the binary blob, or was it modified somehow to work with pentadactyl? I know that the plugin works for me in my office, but I have way older version of firefox there.

Thank you
--
  Vlad

maiko...@gmail.com

unread,
Jun 16, 2015, 1:14:14 PM6/16/15
to penta...@googlegroups.com
The error changes using latest dev build.  ".pentadactyl/plugins/jQuery-dev.js: 62: TypeError: jQuery is not a function"

Any thoughts?

BR

Vladimir Marek

unread,
Jun 16, 2015, 3:35:19 PM6/16/15
to penta...@googlegroups.com, maiko...@gmail.com
The error changes using latest dev build.  ".pentadactyl/plugins/jQuery-dev.js: 62: TypeError: jQuery is not a function"

Any thoughts?
 
I have given up on jquery plugin, cracking this nut would sadly take me too much time :-(

--
  Vlad

wsha...@gmail.com

unread,
Jun 17, 2015, 1:29:34 PM6/17/15
to penta...@googlegroups.com, maiko...@gmail.com
The change in error is probably due to Firefox dropping support for some methods related to arrays and iterators recently. A lot of the plugins on 5digits.org have not been updated to address these changes to Firefox.
Reply all
Reply to author
Forward
0 new messages