Skip to content

Commit a51cb0c

Browse files
committed
cleaning
1 parent 5ea90f6 commit a51cb0c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Tutorial-o-Matic/scripts/executeTutorial.groovy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import edofro.tutorialomatic.ToM_ui as tomui
22
import edofro.tutorialomatic.ToM as tom
33

4+
5+
//acceder mapa
6+
def mapa = node.map
7+
48
//saca listado de tutotiales de mapa
5-
def nodosTutoriales = node.map.root.find{it.style.name == tom.styles.tutorial}
9+
def nodosTutoriales = mapa.root.find{it.style.name == tom.styles.tutorial}
610

711
// se elige tutorial
812
//TODO: hacer que usuario elija tutorial a realizar

Tutorial-o-Matic/scripts/openDemoMap.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ if(exists(pathName)){
1111
c.mapLoader(pathName).withView().load()
1212
}
1313

14-
def exists(String path){new File(path).isFile()}
14+
def exists(String path){new File(path).isFile()}

0 commit comments

Comments
 (0)