mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-26 04:08:21 +01:00
fix some minor bugs
This commit is contained in:
parent
5c67df278a
commit
e863fef93d
Binary file not shown.
@ -2,6 +2,7 @@
|
|||||||
AntOSDK: development API for AntOS based applications/projects
|
AntOSDK: development API for AntOS based applications/projects
|
||||||
|
|
||||||
## Change logs
|
## Change logs
|
||||||
|
- 0.0.10: fix binary readfile bug
|
||||||
- 0.0.9: Fix locale gen bug
|
- 0.0.9: Fix locale gen bug
|
||||||
- 0.0.8: Update JQuery support in typescript
|
- 0.0.8: Update JQuery support in typescript
|
||||||
- 0.0.7: enable typescript downlevelIteration compile option
|
- 0.0.7: enable typescript downlevelIteration compile option
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
AntOSDK: development API for AntOS based applications/projects
|
AntOSDK: development API for AntOS based applications/projects
|
||||||
|
|
||||||
## Change logs
|
## Change logs
|
||||||
|
- 0.0.10: fix binary readfile bug
|
||||||
- 0.0.9: Fix locale gen bug
|
- 0.0.9: Fix locale gen bug
|
||||||
- 0.0.8: Update JQuery support in typescript
|
- 0.0.8: Update JQuery support in typescript
|
||||||
- 0.0.7: enable typescript downlevelIteration compile option
|
- 0.0.7: enable typescript downlevelIteration compile option
|
||||||
|
@ -148,7 +148,7 @@ class AntOSDKBaseJob {
|
|||||||
req.send(JSON.stringify(data));
|
req.send(JSON.stringify(data));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
read_files(files)
|
read_files(files, type)
|
||||||
{
|
{
|
||||||
return new Promise( async (resolve, reject) => {
|
return new Promise( async (resolve, reject) => {
|
||||||
try{
|
try{
|
||||||
@ -161,7 +161,7 @@ class AntOSDKBaseJob {
|
|||||||
promises = [];
|
promises = [];
|
||||||
for(let file of files)
|
for(let file of files)
|
||||||
{
|
{
|
||||||
promises.push(this.get(file.getlink(this.job.root)));
|
promises.push(this.get(file.getlink(this.job.root), type));
|
||||||
}
|
}
|
||||||
const contents = await Promise.all(promises);
|
const contents = await Promise.all(promises);
|
||||||
resolve(contents);
|
resolve(contents);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@iohub.dev"
|
"email": "mrsang@iohub.dev"
|
||||||
},
|
},
|
||||||
"version": "0.0.9-a",
|
"version": "0.0.10-a",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"iconclass": "fa fa-cog",
|
"iconclass": "fa fa-cog",
|
||||||
"mimes": [
|
"mimes": [
|
||||||
|
Binary file not shown.
@ -148,7 +148,7 @@ class AntOSDKBaseJob {
|
|||||||
req.send(JSON.stringify(data));
|
req.send(JSON.stringify(data));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
read_files(files)
|
read_files(files, type)
|
||||||
{
|
{
|
||||||
return new Promise( async (resolve, reject) => {
|
return new Promise( async (resolve, reject) => {
|
||||||
try{
|
try{
|
||||||
@ -161,7 +161,7 @@ class AntOSDKBaseJob {
|
|||||||
promises = [];
|
promises = [];
|
||||||
for(let file of files)
|
for(let file of files)
|
||||||
{
|
{
|
||||||
promises.push(this.get(file.getlink(this.job.root)));
|
promises.push(this.get(file.getlink(this.job.root), type));
|
||||||
}
|
}
|
||||||
const contents = await Promise.all(promises);
|
const contents = await Promise.all(promises);
|
||||||
resolve(contents);
|
resolve(contents);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@iohub.dev"
|
"email": "mrsang@iohub.dev"
|
||||||
},
|
},
|
||||||
"version": "0.0.9-a",
|
"version": "0.0.10-a",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"iconclass": "fa fa-cog",
|
"iconclass": "fa fa-cog",
|
||||||
"mimes": [
|
"mimes": [
|
||||||
|
@ -195,7 +195,7 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"version": "0.0.9-a",
|
"version": "0.0.10-a",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user