Skip to content

Commit 691a546

Browse files
authored
Merge pull request #4 from design-first/chore/add-browser
chore: clean code and update readme.
2 parents d5e69e0 + d67a769 commit 691a546

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ Build System Designer for iOS:
3434
npx cordova build ios
3535
```
3636

37+
Run System Designer for iOS:
38+
39+
```sh
40+
npx cordova run ios
41+
```
42+
3743
## Build for Android
3844

3945
Add Android platform:
@@ -48,6 +54,20 @@ Build System Designer for Android:
4854
npx cordova build android
4955
```
5056

57+
## Build for Browser
58+
59+
Add Browser platform:
60+
61+
```sh
62+
npx cordova platform add browser
63+
```
64+
65+
Run System Designer for Browser:
66+
67+
```sh
68+
npx cordova run browser
69+
```
70+
5171
## License
5272

5373
Copyright 2024 Erwan Carriou

merges/browser/scripts/mobile.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
* limitations under the License.
1919
*/
2020

21-
document.addEventListener('deviceready', onDeviceReady, false);
22-
function onDeviceReady() {
23-
StatusBar.hide();
24-
}
25-
2621
document.addEventListener('menubutton', onMenuButton, false);
2722
function onMenuButton() {
2823
if (document.location.href.indexOf('/app/') !== -1) {

merges/ios/scripts/mobile.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
* limitations under the License.
1919
*/
2020

21-
document.addEventListener('deviceready', onDeviceReady, false);
22-
23-
function onDeviceReady() {
24-
StatusBar.hide();
25-
}
26-
2721
document.addEventListener('menubutton', onMenuButton, false);
2822
function onMenuButton() {
2923
if (document.location.href.indexOf('/app/') !== -1) {

0 commit comments

Comments
 (0)