Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christof Musik
sokoban
Commits
56af4bd5
Commit
56af4bd5
authored
Apr 03, 2010
by
Christof Musik
Browse files
cleaned up index.html and added spacer to bottom bar
parent
a93843d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/assistants/Main-assistant.js
View file @
56af4bd5
...
...
@@ -721,7 +721,7 @@ MainAssistant.prototype.updateStats = function(c){
var
e
=
$
(
"
stats
"
);
if
(
e
)
{
e
.
innerHTML
=
"
<div>Level:
"
+
(
this
.
currentLevel
+
1
)
+
"
Moves:
"
+
this
.
moves
+
"
Best:
"
+
this
.
highscores
.
get
(
this
.
levelSet
,
this
.
currentLevel
)
+
"
</div>
"
;
e
.
innerHTML
=
"
<div>Level:
"
+
(
this
.
currentLevel
+
1
)
+
"
<span class='spacer'></span>Moves:
"
+
this
.
moves
+
"
<span class='spacer'></span>
Best:
"
+
this
.
highscores
.
get
(
this
.
levelSet
,
this
.
currentLevel
)
+
"
</div>
"
;
}
}
...
...
index.html
View file @
56af4bd5
...
...
@@ -6,14 +6,8 @@
<title>
Sokoban
</title>
<script
src=
"/usr/palm/frameworks/mojo/mojo.js"
type=
"text/javascript"
x-mojo-version=
"1"
/>
<!--
application
stylesheet
should
come
in
after
the
one
loaded
by
the
framework
-->
<
link
href
=
"
stylesheets/sokoban.css
"
media
=
"
screen
"
rel
=
"
stylesheet
"
type
=
"
text/css
"
/>
<
/head
>
<
body
>
<
h2
>
This
text
verifies
your
application
is
running
.
<
/h2
>
<
p
>
To
create
a
fully
functional
Palm
application
create
a
scene
and
remove
this
text
from
index
.
html
.
See
the
documentation
on
Palm
Applications
for
more
information
on
creating
applications
and
scenes
.
<
/p
>
<
/body
>
<
/html
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment