Sha256: 0beeaa72bf7e7e138fac72ee511480a5e7edc49e3bef99e65e1269a496addd2e
Contents?: true
Size: 794 Bytes
Versions: 18
Compression:
Stored size: 794 Bytes
Contents
// ======================================================================== // SproutCore -- JavaScript Application Framework // Copyright ©2006-2008, Sprout Systems, Inc. and contributors. // Portions copyright ©2008 Apple Inc. All rights reserved. // ======================================================================== /** Patch SC.Object to respond to design */ SC.Object.prototype.emitDesign = function() { // get design... var ret = SC.DesignCoder.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
18 entries across 18 versions & 1 rubygems