Sha256: 4ac215b2943464e1ade475e2af26013118da4a15d853728542105e74e2886c31
Contents?: true
Size: 869 Bytes
Versions: 17
Compression:
Stored size: 869 Bytes
Contents
// ======================================================================== // SproutCore -- JavaScript Application Framework // Copyright ©2006-2008, Sprout Systems, Inc. and contributors. // Portions copyright ©2008 Apple Inc. All rights reserved. // ======================================================================== sc_require('coders/object'); /** @class A LocalizationCoder encodes specifically the localization for views. @extends SC.ObjectCoder */ SC.LocalizationCoder = SC.ObjectCoder.extend({ extendMethodName: 'localization', encodeMethodName: 'encodeLoc' }); /** 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.encodeLoc = function(coder) { return this.designer ? this.designer.encodeLoc(coder) : NO ; };
Version data entries
17 entries across 17 versions & 2 rubygems