     @
 
 String::strip = ->
-  @.replace(/^\s+|\s+$/g, '')
+  @replace(/^\s+|\s+$/g, '')
 
 String::titleize = ->
   @replace(/_/g, ' ').replace /\b[a-z]/g, (char) -> char.toUpperCase()


  "#{(@ / 1000000000).toFixed(2).replace(/[0.]+$/, '')} GB"

Object.defineProperty Object.prototype, 'tap',
  enumerable: false
  value: (func) ->
    if typeof func is 'function'

  @replace /_/g, '-'

String::isBlank = ->
  @trim() is ''

String::phoneFormat = ->
  if /^1?\d{10}$/.test @
