31
35
* are expected to be indexed. Use object notation for
37
38
* This method is in the 'dump' module, which is not bundled with
46
47
var i, len, s = [], type = L.type(o);
48
49
// Cast non-objects to string
49
50
// Skip dates because the std toString is what we want
51
52
// an element will cause an unhandled exception in FF 2.x
56
57
} else if (o.nodeType && o.tagName) {
57
58
return o.tagName + '#' + o.id;