kswedberg / jquery-tmbundle

TextMate bundle for jQuery
http://www.learningjquery.com
561 stars 228 forks source link

Snippets / plugin (method extras) - Cannot read property 'defaults' of undefined #18

Closed jorgecasar closed 13 years ago

jorgecasar commented 13 years ago

I got an error

Uncaught TypeError: Cannot read property 'defaults' of undefined

in line 79:

opts = \$.extend( true, {}, \$.fn.cluetip.defaults, opts, options || {} );

and I solve it by putting $1 instead of cluetip because of line 105:

\$.extend(\$.fn.$1, { defaults: settings });

Thanks!

kswedberg commented 13 years ago

thanks a lot for the report!

jorgecasar commented 13 years ago

You are welcome, thanks for you code and your fast response.

Keep in touch.