We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f6e7e commit 755d3d6Copy full SHA for 755d3d6
source/quo.coffee
@@ -73,9 +73,9 @@ Quo = do ->
73
target[key] = source[key] for key of source
74
target
75
76
- $$.toType = (obj) -> $$.toType = (obj) ->
77
- match = OBJECT_PROTOTYPE.toString.call(obj).match(/\s([a-z|A-Z])/)
78
- if match then match[1].toLowerCase() else 'object'
+ $$.toType = (obj) ->
+ match = OBJECT_PROTOTYPE.toString.call(obj).match(/\s([a-z|A-Z]+)/)
+ if match.length > 1 then match[1].toLowerCase() else "object"
79
80
$$.each = (elements, callback) ->
81
i = undefined
@@ -184,8 +184,10 @@ Quo = do ->
184
185
$$.fn.indexOf = EMPTY_ARRAY.indexOf
186
187
- $$.version = "3.0.6"
+ $$.version = "3.0.7"
188
189
$$
190
191
@Quo = @$$ = Quo
192
+
193
+module?.exports = Quo
0 commit comments