update from q to smartq
This commit is contained in:
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user