0

I'm currently trying to make the jquery tokeninput plugin zepto compatible.

according to the zepto documentation in version 1.0 there should be a function called $.type() (i'm using the latest 1.0rc) but whenever i try to call this function i recieve the following error:

Object function (a,b){return w.init(a,b)} has no method 'type'

has someone has a quick answer/fix for that?

thx

Horst
  • 407
  • 5
  • 17
  • There is no `$.type()` method in 1.0rc1 ([fiddle](http://jsfiddle.net/YDdde/)). It might have been forgotten, or maybe the plan is to only add it in the stable 1.0 release. – Frédéric Hamidi Feb 27 '13 at 16:13
  • thanks for the answer. this has helped me to find another solution quite quickly! i'll post the "rewritten" plugin soon. – Horst Feb 28 '13 at 06:33

1 Answers1

0

in my case typeof() did the job for my needs.

since zepto is finally out in version 1.0 it has $.type support as well.

Horst
  • 407
  • 5
  • 17