Sha256: 812f8afa22f85cf16d46b94603a2e6085490d16ca9d9ef6f2896ae8a9d638988
Contents?: true
Size: 1.82 KB
Versions: 39
Compression:
Stored size: 1.82 KB
Contents
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // Portions ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // ========================================================================== sc_require('system/string'); SC.supplement(String.prototype, { /** @see SC.String.capitalizeEach */ capitalizeEach: function() { return SC.String.capitalizeEach(this, arguments); }, /** @see SC.String.titleize */ titleize: function(str) { return SC.String.titleize(this, arguments); }, /** @see SC.String.classify */ classify: function(str) { return SC.String.classify(this, arguments); }, /** @see SC.String.humanize */ humanize: function(str) { return SC.String.humanize(this, arguments); }, /** @see SC.String.escapeForRegExp */ escapeForRegExp: function(str) { return SC.String.escapeForRegExp(this, arguments); }, /** @see SC.String.removeDiacritics */ removeDiacritics: function(str) { return SC.String.removeDiacritics(this, arguments); }, /** @see SC.String.trim */ trim: function(str) { return SC.String.trim(this, arguments); }, /** @see SC.String.trimLeft */ trimLeft: function (str) { return SC.String.trimLeft(this, arguments); }, /** @see SC.String.trimRight */ trimRight: function (str) { return SC.String.trimRight(this, arguments); }, /** @see SC.String.pluralize */ pluralize: function(str) { return SC.String.pluralize(this, arguments); }, /** @see SC.String.singularize */ singularize: function(str) { return SC.String.singularize(this, arguments); } });
Version data entries
39 entries across 39 versions & 1 rubygems