Sha256: dcc81f2371fde95389a990227c899dfa9aaaa9c902d2744e4752e79fbccebf38

Contents?: true

Size: 309 Bytes

Versions: 228

Compression:

Stored size: 309 Bytes

Contents

String::beginsWith = (t, i) ->
  if i is false
    t is @substring(0, t.length)
  else
    t.toLowerCase() is @substring(0, t.length).toLowerCase()

String::endsWith = (t, i) ->
  if i is false
    t is @substring(@length - t.length)
  else
    t.toLowerCase() is @substring(@length - t.length).toLowerCase()

Version data entries

228 entries across 228 versions & 2 rubygems

Version Path
alchemy_cms-7.1.12 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.15 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.1.10 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.11 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.10 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.9 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.14 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.13 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.8 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.7 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.12 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.11 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.6 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.10 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.4 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.9 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.3 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.1.1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee