New Sahli object creation
This commit is contained in:
parent
76157dfa59
commit
ec7acc5c3b
1 changed files with 25 additions and 24 deletions
|
|
@ -56,7 +56,7 @@ a html template, and a css file.
|
||||||
|
|
||||||
class Sahli
|
class Sahli
|
||||||
constructor: ->
|
constructor: ->
|
||||||
filedef = {
|
@filedef = {
|
||||||
"file": "",
|
"file": "",
|
||||||
"name": "",
|
"name": "",
|
||||||
"amiga": true,
|
"amiga": true,
|
||||||
|
|
@ -69,14 +69,14 @@ a html template, and a css file.
|
||||||
"line2": "",
|
"line2": "",
|
||||||
"text": ""
|
"text": ""
|
||||||
}
|
}
|
||||||
slidesdef = {
|
@slidesdef = {
|
||||||
"background": "",
|
"background": "",
|
||||||
"template": "",
|
"template": "",
|
||||||
"css": ""
|
"css": ""
|
||||||
}
|
}
|
||||||
blank = {
|
@blank = {
|
||||||
"slides": slidesdef,
|
"slides": @slidesdef,
|
||||||
"filedef": [ filedef ]
|
"filedef": [ @filedef ]
|
||||||
}
|
}
|
||||||
|
|
||||||
dumpjson = (obj) ->
|
dumpjson = (obj) ->
|
||||||
|
|
@ -84,4 +84,5 @@ a html template, and a css file.
|
||||||
|
|
||||||
newsahli = ->
|
newsahli = ->
|
||||||
sahli = new Sahli
|
sahli = new Sahli
|
||||||
alert dumpjson this.sahli
|
alert dumpjson sahli
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue