Sha256: e96ce523b97ab66fae69b0b6eb172466546f60bc7c83b1e77f4af34c4ef024aa

Contents?: true

Size: 755 Bytes

Versions: 39

Compression:

Stored size: 755 Bytes

Contents

// ==========================================================================
// Project:   SproutCore Costello - Property Observing Library
// 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');

/** 
  @namespace
  Extends String by adding a few helpful methods.
*/
SC.mixin(String.prototype,
/** @scope String.prototype */ {

  /**
    @see SC.String.fmt
  */
  fmt: function() {
    return SC.String.fmt(this, arguments);
  },

  /**
    @see SC.String.w
  */
  w: function() {
    return SC.String.w(this);
  }

});

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.11.0.rc3 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.11.0.rc2 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.11.0.rc1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.3.1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.2 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.0 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.0.rc.3 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.0.rc.2 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.10.0.rc.1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.9.2 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.9.1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.9.0 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.8.2.1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.8.1 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.8.0 lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.7.1.beta-java lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.7.1.beta lib/frameworks/sproutcore/frameworks/runtime/ext/string.js
sproutcore-1.6.0.1-java lib/frameworks/sproutcore/frameworks/runtime/ext/string.js