Skip to content

Commit

Permalink
ref |> example always use zml@latest
Browse files Browse the repository at this point in the history
  • Loading branch information
htoooth committed May 23, 2024
1 parent fc96c97 commit b9eeb9c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/helloworld1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"license": "ISC",
"devDependencies": {
"@zeppos/device-types": "^1.0.0",
"@zeppos/zml": "^0.0.19"
"@zeppos/zml": "*"
}
}
2 changes: 1 addition & 1 deletion examples/helloworld2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"license": "ISC",
"devDependencies": {
"@zeppos/device-types": "^1.0.0",
"@zeppos/zml": "^0.0.19"
"@zeppos/zml": "*"
}
}
12 changes: 6 additions & 6 deletions examples/helloworld3/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ App(
this.globalData.a = 2
this.log(this.globalData.a)
this.log('app test')
this.test()
this.test2()
// this.test()
// this.test2()
},
onDestroy(opts) {
this.globalData.a += 1
this.globalData.a += 2
this.log('destroy=2',this.globalData.a)
this.log('app on destroy invoke')
// this.globalData.a += 1
// this.globalData.a += 2
// this.log('destroy=2',this.globalData.a)
// this.log('app on destroy invoke')
},
test() {
this.globalData.a += 1
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"license": "ISC",
"devDependencies": {
"@zeppos/device-types": "^1.0.0",
"@zeppos/zml": "^0.0.19"
"@zeppos/zml": "*"
}
}
2 changes: 1 addition & 1 deletion examples/syncData/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"license": "ISC",
"devDependencies": {
"@zeppos/device-types": "^1.0.0",
"@zeppos/zml": "^0.0.19"
"@zeppos/zml": "*"
}
}

0 comments on commit b9eeb9c

Please sign in to comment.