Description:修改代码格式

IssueNo: https://gitee.com/openharmony/ace_engine_lite/issues/I4QHVT
Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: lancer <haoshuo@huawei.com>
This commit is contained in:
lancer
2022-01-12 16:35:36 +08:00
parent a47d69a340
commit 1915a4abeb
6 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -15,10 +15,10 @@
#ifndef OHOS_ACELITE_JS_DEBUGGER_CONFIG_H
#define OHOS_ACELITE_JS_DEBUGGER_CONFIG_H
#include "js_config.h"
#include "memory_heap.h"
#include <cstdint>
#include <cstdio>
#include "js_config.h"
#include "memory_heap.h"
/**
* For now DEBUGGER is only supported in Simulator
@@ -14,11 +14,10 @@
*/
#include "jsi_interface_tdd_test.h"
#include "acelite_config.h"
#include "js_debugger_config.h"
#include <cstdio>
#include <cstring>
#include "acelite_config.h"
#include "js_debugger_config.h"
namespace OHOS {
namespace ACELite {
@@ -14,13 +14,12 @@
*/
#include "transition_impl.h"
#include <stdlib.h>
#include "ace_log.h"
#include "ace_mem_base.h"
#include "easing_equation.h"
#include "root_view.h"
#include "securec.h"
#include <stdlib.h>
namespace OHOS {
namespace ACELite {
@@ -13,13 +13,13 @@
* limitations under the License.
*/
#include "js_debugger_config.h"
#include <cstring>
#include "ace_log.h"
#include "debugger.h"
#include "handler.h"
#include "jerryscript-port-default.h"
#include "jerryscript-port.h"
#include "js_fwk_common.h"
#include <cstring>
namespace OHOS {
namespace ACELite {
+1 -1
View File
@@ -22,9 +22,9 @@
#include "js_fwk_common.h"
#include "key_parser.h"
#if (FEATURE_ACELITE_MC_JS_PROFILER == 1)
#include <fcntl.h>
#include "los_tick.h"
#include "unistd.h"
#include <fcntl.h>
#elif (FEATURE_ACELITE_JS_PROFILER == 1)
#include <sys/time.h>
@@ -14,12 +14,12 @@
*/
#include "date_time_format_module.h"
#if (FEATURE_DATE_FORMAT == 1)
#include "ace_log.h"
#include "key_parser.h"
#include "keys.h"
#include "locale_util.h"
#include "string_util.h"
#include <cstring>
#include "ace_log.h"
#include "locale_util.h"
#include "keys.h"
#include "key_parser.h"
#include "string_util.h"
namespace OHOS {
namespace ACELite {
@@ -568,8 +568,9 @@ DateTimeFormatModule::StyleState DateTimeFormatModule::GetMonthStyle(jerry_value
return monthStyleState;
}
DateTimeFormatModule::StyleState
DateTimeFormatModule::GetStyle(jerry_value_t style, const char *attrName, const uint8_t index)
DateTimeFormatModule::StyleState DateTimeFormatModule::GetStyle(jerry_value_t style,
const char *attrName,
const uint8_t index)
{
if (!jerryx_has_property_str(style, attrName)) {
return StyleState::UNKNOWN;