mirror of
https://gitee.com/openharmony/napi_generator
synced 2024-11-23 08:20:01 +00:00
modify codecheck
Signed-off-by: zhaoxudong <zhaoxudong@kaihongdigi.com>
This commit is contained in:
parent
5eb98883b0
commit
38d80b19c1
@ -56,7 +56,7 @@ Note:If the text contains special characters, please escape them according to th
|
||||
<licensefile></licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
<policyitem type="copyright" name="Copyright (c) 2021 Shenzhen Kaihong Digital" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
|
||||
<policyitem type="copyright" name="Copyright (c) 2022 Shenzhen Kaihong Digital" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
|
@ -141,4 +141,8 @@ The examples above are for Windows. The methods for Linux and MAC are similar.
|
||||
|
||||
## Participate in the contribution
|
||||
|
||||
Not yet.
|
||||
|
||||
## Related to the storehouse
|
||||
|
||||
Not yet.
|
@ -141,3 +141,7 @@ visual studio code 版本需1.62.0及以上
|
||||
## 参与贡献
|
||||
|
||||
暂无
|
||||
|
||||
## 相关仓
|
||||
|
||||
暂无
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
|
@ -21,18 +21,12 @@ console.log(result)
|
||||
|
||||
//同步回调
|
||||
test.fun3("callback", function (ret) { console.log(ret) })
|
||||
|
||||
// function cb(ret)
|
||||
// {
|
||||
// console.log(ret)
|
||||
// }
|
||||
//异步回调
|
||||
function testAsync() {
|
||||
test.fun4("async", function (ret) { console.log(ret) })
|
||||
test.fun4("promise").then(ret => { console.log(ret); })
|
||||
}
|
||||
testAsync()
|
||||
// //promise
|
||||
|
||||
let tc1 = new test.TestClass1()
|
||||
tc1.str1 = "asdf"
|
||||
@ -50,8 +44,3 @@ console.log("==== end ====")
|
||||
setTimeout(function () {
|
||||
console.log('interval')
|
||||
}, 100);
|
||||
|
||||
// function asdfasdf(ret)
|
||||
// {
|
||||
// console.log(ret)
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user