1 // ========================================================================== 2 // Project: SproutCore - JavaScript Application Framework 3 // Copyright: ©2006-2011 Strobe Inc. and contributors. 4 // Portions ©2008-2011 Apple Inc. All rights reserved. 5 // License: Licensed under MIT license (see license.js) 6 // ========================================================================== 7 8 sc_require('models/record'); 9 10 /** 11 @class 12 @deprecated SC.ChildRecord is deprecated. Please extend SC.Record instead. 13 */ 14 SC.ChildRecord = SC.Record.extend({}); 15 16 SC.ChildRecord.extend = function() { 17 // @if (debug) 18 SC.warn("Developer Warning: SC.ChildRecord is deprecated. Please extend SC.Record instead."); 19 // @endif 20 return SC.Record.extend.apply(this, arguments); 21 }; 22