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-4.1.0.beta app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.0.1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.6.4 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.0.0 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.6.3 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.6.2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.0.0.rc2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.0.0.rc1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.6.1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-4.0.0.beta app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.6.0 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.5.0 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.4.2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.5.0.rc2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.5.0.rc1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.4.1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.3.3 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.3.2 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.4.0 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
alchemy_cms-3.4.0.rc1 app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee