Closed sleemanj closed 4 years ago
guest commented:
line 3007: var obj = new plugin(this, args);
guest commented:
The error occurs in combination with the Plugin: CSS
guest commented:
I can confirm that this is an issue in Firefox 22.
I wasn't able to investigate very deeply, but it seems as though there's a conflict with using
CSS
as an object name. I tried changing the name of the plugin (at least temporarily) and it seems to work fine now.Directory/file name changes:
plugins/CSS/
->plugins/CSSDropdowns/
plugins/CSS/CSS.js
->plugins/CSSDropdowns/CSSDropdowns.js
Plugin changes:
function CSS(
->function CSSDropdowns(
CSS.prototype.
->CSSDropdowns.prototype.
Configuration changes:
'CSS'
->'CSSDropdowns'
in thexinha_plugins
configuration section
Thanks, I can reproduce the issue and I think your solution is the right approach. It might be worth also adding some explicit checks for the "CSS" plugin name for backwards-compatibility. I'll commit this ASAP.
gogo
to ejucovy
new
to assigned
Xinha does not work anymore in Firefox 22 AND Chrome 28
I get the Error: TypeError: Illegal constructor
Reported by guest, migrated from http://trac.xinha.org/ticket/1609