Sha256: 63e7e4b19cad34d92c879bce7bf11390efd078a966dab10eabecccc9f85e541b
Contents?: true
Size: 882 Bytes
Versions: 17
Compression:
Stored size: 882 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
17 entries across 17 versions & 2 rubygems