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 9 /** 10 If set to `NO`, then pressing backspace will NOT navigate to the previous 11 page in the browser history, which is the default behavior in most browsers. 12 13 Usually it is best to leave this property set to `NO` in order to prevent the 14 user from inadvertently losing data by pressing the backspace key. 15 16 @static 17 @type Boolean 18 @default NO 19 */ 20 SC.allowsBackspaceToPreviousPage = NO; 21 22 /** 23 @type String 24 @static 25 @constant 26 */ 27 SC.HORIZONTAL_ORIENTATION = 'horizontal'; 28 29 /** 30 @type String 31 @static 32 @constant 33 */ 34 SC.VERTICAL_ORIENTATION = 'vertical' ; 35