Getting an error with effect.js in Chrome "Illegal Constructor"

515 views
Skip to first unread message

Evan Carroll

unread,
Jan 6, 2015, 6:53:43 PM1/6/15
to prototype-s...@googlegroups.com
This is triggering an error in Chrome 39

            new Element('span', {style: tagifyStyle}).update(
              character == ' ' ? String.fromCharCode(160) : character),
              child);

>  Uncaught TypeError: Illegal constructor

mike

unread,
Jan 10, 2015, 10:18:33 AM1/10/15
to prototype-s...@googlegroups.com
Seems in you code, error, what is `child`?
You might post code with error in jsfiddle?


07.01.2015 у 02:53 Evan Carroll напісаў:
--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scripta...@googlegroups.com.
To post to this group, send email to prototype-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/prototype-scriptaculous.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages