Sha256: bc5d71aeedef79c36c0d5e0b9fae152777f93b5c0e29b3ec812de2038a68f4da

Contents?: true

Size: 220 Bytes

Versions: 108

Compression:

Stored size: 220 Bytes

Contents

// Non namespaced. At least they're not monkeypatching core javascript objects, ok?

var toSlug = function(string) {
  return string.trim().toLowerCase().replace(/[^-a-z0-9~\s.:;+=_]/g, '').replace(/[\s.:;=+]+/g, '-');
}

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
trusty-cms-7.0.9.1 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.11 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.10 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.9 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.8 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.7 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.6 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.5 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.4 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.3 app/assets/javascripts/admin/utilities.js
trusty-cms-6.3.1 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.2 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.1 app/assets/javascripts/admin/utilities.js
trusty-cms-7.0.0 app/assets/javascripts/admin/utilities.js
trusty-cms-6.3 app/assets/javascripts/admin/utilities.js
trusty-cms-6.2.1 app/assets/javascripts/admin/utilities.js
trusty-cms-6.2.2.1 app/assets/javascripts/admin/utilities.js
trusty-cms-6.2.0 app/assets/javascripts/admin/utilities.js
trusty-cms-6.1.2 app/assets/javascripts/admin/utilities.js
trusty-cms-6.1.1 app/assets/javascripts/admin/utilities.js