Open GoogleCodeExporter opened 9 years ago
It seems that by backporting the "typecheck" function from 2.0, and calling
that instead of "isFunction", then it makes it work. I suspect that'll mean it
works in 2.0.
// Backported from jstore 2.0, jquery.isFunction doesn't work for native code.
var typecheck = function(type, compare) {
return !type ? false : type.constructor.toString().match(new RegExp(compare + '\\(\\)', 'i')) !== null;
};
and..
// Safari
if (typecheck($('object', $(doc))[0].f_get_cookie, 'function')) this.db = $('object', $(doc))[0];
Original comment by david.sh...@gmail.com
on 31 Mar 2011 at 4:51
Original issue reported on code.google.com by
wcco...@gmail.com
on 5 Jul 2010 at 4:46