17 lines
1.8 KiB
JavaScript
17 lines
1.8 KiB
JavaScript
|
/// <reference path="./typings/main.d.ts" />
|
||
|
var plugins = require("./taskbuffer.plugins");
|
||
|
var classes = require("./taskbuffer.classes");
|
||
|
exports.emptyTaskFunction = function () {
|
||
|
var done = plugins.Q.defer();
|
||
|
done.resolve();
|
||
|
return done.promise;
|
||
|
};
|
||
|
exports.runTask = function (taskArg) {
|
||
|
var done = plugins.Q.defer();
|
||
|
if (taskArg instanceof classes.Task) {
|
||
|
}
|
||
|
return done.promise;
|
||
|
};
|
||
|
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRhc2tidWZmZXIuY2xhc3Nlcy5oZWxwZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUM1QyxJQUFPLE9BQU8sV0FBVyxzQkFBc0IsQ0FBQyxDQUFDO0FBQ2pELElBQU8sT0FBTyxXQUFXLHNCQUFzQixDQUFDLENBQUM7QUFDdEMseUJBQWlCLEdBQUc7SUFDM0IsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUM3QixJQUFJLENBQUMsT0FBTyxFQUFFLENBQUM7SUFDZixNQUFNLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQztBQUN4QixDQUFDLENBQUM7QUFFUyxlQUFPLEdBQUcsVUFBUyxPQUFPO0lBQ2pDLElBQUksSUFBSSxHQUFHLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxFQUFFLENBQUM7SUFDN0IsRUFBRSxDQUFBLENBQUMsT0FBTyxZQUFZLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQSxDQUFDO0lBRXBDLENBQUM7SUFDRCxNQUFNLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQztBQUN4QixDQUFDLENBQUMiLCJmaWxlIjoidGFza2J1ZmZlci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