type script example is not running

http://engine.zuoyouxi.com/demo/TypeScript/RotateImage/index.html
 
this example is not running. image is not rotate. why?
Has invited:

deiterate - an indy game maker

Favor from:

Took me awhile, but I got the type script example running on publish. It seems that the script template in the qici editor wraps the concatenated script code, which breaks the type script transpiled code.
 
If you comment out the enclosure in the /editorservice/Template/ScriptPackTemplate.js
/**
* User-defined Scripts.
*/
//(function(window, Object, undefined) {

{{body}}

//}).call(this, this, Object);
this allowed me to publish projects that use transpiled typescript.

To reply to a question, please Login or registered