New Sahli object creation

This commit is contained in:
Howland Owl 2014-04-14 14:25:37 +03:00
parent 76157dfa59
commit ec7acc5c3b

View file

@ -56,7 +56,7 @@ a html template, and a css file.
class Sahli
constructor: ->
filedef = {
@filedef = {
"file": "",
"name": "",
"amiga": true,
@ -69,14 +69,14 @@ a html template, and a css file.
"line2": "",
"text": ""
}
slidesdef = {
@slidesdef = {
"background": "",
"template": "",
"css": ""
}
blank = {
"slides": slidesdef,
"filedef": [ filedef ]
@blank = {
"slides": @slidesdef,
"filedef": [ @filedef ]
}
dumpjson = (obj) ->
@ -84,4 +84,5 @@ a html template, and a css file.
newsahli = ->
sahli = new Sahli
alert dumpjson this.sahli
alert dumpjson sahli