From 55d45081f68833473851617adce8d382ee30ed83 Mon Sep 17 00:00:00 2001 From: garfield_ho Date: Tue, 22 Oct 2013 15:41:43 +0800 Subject: [PATCH] Fixed name --- cocos/scripting/javascript/script/jsb_cocos2d.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cocos/scripting/javascript/script/jsb_cocos2d.js b/cocos/scripting/javascript/script/jsb_cocos2d.js index 6ed7e19cba..684eb386d9 100644 --- a/cocos/scripting/javascript/script/jsb_cocos2d.js +++ b/cocos/scripting/javascript/script/jsb_cocos2d.js @@ -7,10 +7,10 @@ var cc = cc || {}; cc.RESOLUTION_POLICY = { // The entire application is visible in the specified area without trying to preserve the original aspect ratio. // Distortion can occur, and the application may appear stretched or compressed. -EXACTFIT:0, +EXACT_FIT:0, // The entire application fills the specified area, without distortion but possibly with some cropping, // while maintaining the original aspect ratio of the application. -NOBORDER:1, +NO_BORDER:1, // The entire application is visible in the specified area without distortion while maintaining the original // aspect ratio of the application. Borders can appear on two sides of the application. SHOW_ALL:2, @@ -18,12 +18,12 @@ SHOW_ALL:2, // canvas so that it fits the aspect ratio of the device // no distortion will occur however you must make sure your application works on different // aspect ratios -HEIGHT:3, +FIXED_HEIGHT:3, // The application takes the width of the design resolution size and modifies the height of the internal // canvas so that it fits the aspect ratio of the device // no distortion will occur however you must make sure your application works on different // aspect ratios -WIDTH:4, +FIXED_WIDTH:4, UNKNOWN:5 };