20,741
edits
Line 66: | Line 66: | ||
With the last line of code above, we invoke the following: | With the last line of code above, we invoke the following: | ||
<syntaxhighlight lang="javascript"> | |||
new : func(){ | |||
var m = {parents:[FailureClass]}; | var m = {parents:[FailureClass]}; | ||
m._title = 'Extra500 Failure Dialog'; | m._title = 'Extra500 Failure Dialog'; | ||
Line 74: | Line 75: | ||
return m; | return m; | ||
}, | }, | ||
</syntaxhighlight> | |||
So we make the Class, set a title, make a canvas and even set a timer. | So we make the Class, set a title, make a canvas and even set a timer. |