Sha256: 6045c90aeeefe03d43d8d89bdbad519952137714ae4906efb092bfd2d9cf3941
Contents?: true
Size: 883 Bytes
Versions: 9
Compression:
Stored size: 883 Bytes
Contents
// ======================================================================== // SproutCore -- JavaScript Application Framework // Copyright ©2006-2008, Sprout Systems, Inc. and contributors. // Portions copyright ©2008 Apple, Inc. All rights reserved. // ======================================================================== /* evil:true */ sc_require('coders/object'); /** @class A DesignCoder encodes specifically the design for a set of views. @extends SC.ObjectCoder */ SC.DesignCoder = SC.ObjectCoder.extend({ extendMethodName: 'design', encodeMethodName: 'encodeDesign' }); /** Patch SC.View to respond to encodeDesign(). This will proxy to the paired designer, if there is one. If there is no paired designer, returns NO. */ SC.View.prototype.encodeDesign = function(coder) { return this.designer ? this.designer.encodeDesign(coder) : NO ; };
Version data entries
9 entries across 9 versions & 1 rubygems