Sha256: 4c2bbb2916eeb533cbdfa0bad34c94193173acc98e17a82226646f4a3046cfe1
Contents?: true
Size: 863 Bytes
Versions: 4
Compression:
Stored size: 863 Bytes
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) // ========================================================================== /** Patch SC.Object to respond to design */ SC.Object.prototype.emitDesign = function() { // get design... var ret = SC.ObjectCoder.encode(this); return ret ; }; /** Patch SC.Object to respond to encodeDesign(). This will proxy to the paired designer, if there is one. If there is no paired designer, returns NO. */ SC.Object.prototype.encodeDesign = function(coder) { return this.designer ? this.designer.encodeDesign(coder) : NO ; };
Version data entries
4 entries across 4 versions & 1 rubygems