update from q to smartq

This commit is contained in:
2017-01-19 17:26:35 +01:00
parent 670bf5b124
commit eb7eb14415
17 changed files with 68 additions and 73 deletions

View File

@ -1,10 +1,6 @@
import * as plugins from "./taskbuffer.plugins"
import * as helpers from "./taskbuffer.classes.helpers"
//interfaces
import {Promise} from "q";
export {Promise} from "q";
export interface ITaskFunction {
(x?:any):PromiseLike<any>;
}
@ -74,7 +70,7 @@ export class Task {
if (stateArg == "locked"){
this._state = "locked";
} else {
plugins.beautylog.error("state type " + stateArg.blue + " could not be set");
plugins.beautylog.error("state type " + stateArg + " could not be set");
}
}
}