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.0.0.pre.rc3 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.2.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.1.9 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.0.9 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.6.6 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.2.4 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.1.8 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.0.8 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.6.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.5.1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.4.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.6.4 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.0.7 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.1.7 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.2.3 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-6.0.0.pre.rc2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.1.6 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.0.6 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.2.2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-5.1.5 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee