Skip to content

Commit

Permalink
Added sampleCode folder
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtacon committed Mar 17, 2023
1 parent 97f7a12 commit e946f5d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
node_modules
_archive/
tests
screen1.js
screen1.xml
screen1Helper.js
.aijs/
git-filter-repo.py
8 changes: 8 additions & 0 deletions sampleCode/screen1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require("../screen1Helper")

screen1.addEventListener(
"initialize",
function(){
testbox.text = "Text Loaded."
}
)
4 changes: 4 additions & 0 deletions sampleCode/screen1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<screen script="screen1.js" name="screen1" AppName="yail" Title="Great Title!" TitleVisible="false" ShowStatusBar="false" Scrollable="true">
<textbox name="testbox" width="parent" height="parent" multiLine="true" />
<notifier name="testnote" />
</screen>

0 comments on commit e946f5d

Please sign in to comment.