Skip to content

Instantly share code, notes, and snippets.

@kpmy
Created May 19, 2016 19:35
Show Gist options
  • Save kpmy/e069bde86ea5ec4eca874870d0c71a46 to your computer and use it in GitHub Desktop.
Save kpmy/e069bde86ea5ec4eca874870d0c71a46 to your computer and use it in GitHub Desktop.
function Test (rts){
this.x = new rts.Obj(new rts.Type("ANY"));
this.y = new rts.Obj(new rts.Type("ANY"));
this.z = new rts.Obj(new rts.Type("ANY"));
this.start = function(){
this.x.value = (new rts.Value("INTEGER", 0));
};
};
module.exports = function(rts){
console.log('dynamic load Test');
return new Test (rts)};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment