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-6.1.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.14 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.1.4 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-7.0.0.pre.a app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.13 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.1.3 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.1.2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.1.1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.1.0 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.12 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.11 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.10 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.3.8 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.9 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.3.7 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.8 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.3.6 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.7 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.6 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee