1
2
3
4
5
6
7
8
// changed at Thu Oct 24 2013 10:57:21 GMT-0700 (PDT) by Dan
this
.
addScript
(
function
occurrencesOf
(
char
,
line
)
{
// do this inline with regex later
var
count
=
0
;
for
(
var
i
=
0
;
i
<
line
.
length
;
i
++
)
if
(
line
[
i
]
==
char
)
count
++
;
return
count
;
})
.
tag
(
'all'
)
;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-- ALL --
aboutMe
codeTo
occurrencesOf
preEval
readBootstrap
readFrom
reset
scanTokens
vectorFromTokens
vecToString
yetToDo
Scripts
-- ALL --
Connections
+
+
-
-
<lively.morphic.Window#8079C... - Window> Workspace
Tag:
all
run
save
Tests
ObjectEditor
X
–
Menu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
this
.
addScript
(
function
setTag
(
tag
)
{
if
(
tag
===
'all'
)
{
this
.
currentTag
=
''
;
}
else
{
this
.
currentTag
=
tag
;
}
this
.
updateLists
(
)
;
this
.
displayInitialScript
(
)
;
})
.
tag
([
])
;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
newScript
onWindowGetsFocus
openPartTestRunner
printTags
reset
runScript
selectChangedContent
setTag
setTarget
sortedConnectionNamesOfObj
sortedScriptNamesOfObj
update
updateLists
Scripts
-- ALL --
Connections
+
+
-
-
<lively.morphic.Box#8088F... - ObjectEditorPane>
Tag:
all
run
save
Tests
ObjectEditor
X
–
Menu
<lively.morphic.World#1>
PartsBin
▶
Parts
▶
Tools
▶
Stepping
▶
Preferences
▶
Debugging
▶
Wiki
▶
Documentation
Report a bug
Save world as ...
Save world