app/assets/javascripts/ultimate/jquery.base.js.coffee in ultimate-helpers-0.1.0.1 vs app/assets/javascripts/ultimate/jquery.base.js.coffee in ultimate-helpers-0.2.0
- old
+ new
@@ -60,26 +60,5 @@
$.isHTML = (content, strong = false) ->
return false unless _.isString(content)
matches = content.match($.regexp.HTML)
return false unless matches?
not strong or matches[1] is matches[2]
-
- # TODO replace usages to underscore methods and using distribution
- unless $.isRegExp
- $.isRegExp = (candidate) ->
- deprecate '$.isRegExp', '_.isRegExp'
- typeof candidate is "object" and typeof candidate.test is "function"
-
- unless $.isBoolean
- $.isBoolean = (v) ->
- deprecate '$.isBoolean', '_.isBoolean'
- typeof v is "boolean"
-
- unless $.isString
- $.isString = (v) ->
- deprecate '$.isString', '_.isString'
- typeof v is "string"
-
- if typeof $.isEmptyString is "undefined"
- $.isEmptyString = (v) ->
- deprecate '$.isEmptyString', '_.isBlank'
- regexpSpace.test v