jsface unit tests
by tnhu
JavaScript
jsface.def("Hello", {
Hello: function(msg) {
this.msg = msg;
},
say: function() {
alert(this.msg);
}
});
var h = new Hello("Hello World");
h.say();
by tnhu
jsface.def("Hello", {
Hello: function(msg) {
this.msg = msg;
},
say: function() {
alert(this.msg);
}
});
var h = new Hello("Hello World");
h.say();