mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-06-17 02:51:15 +08:00
19 lines
364 B
JavaScript
19 lines
364 B
JavaScript
if (this.title === "$FAIL") {
|
|
var x = null;
|
|
x.fail();
|
|
}
|
|
|
|
if (this.title === "$TESTFAIL") {
|
|
dpd.todos.post({title: "$FAIL"}, function(results, err) {
|
|
this.results = results;
|
|
this.err = err;
|
|
});
|
|
}
|
|
|
|
if (this.title === "$REALTIME") {
|
|
emit('createTodo', this);
|
|
}
|
|
|
|
if (this.title === "$REALTIME2") {
|
|
emit('createTodo2');
|
|
} |