electorrent
Version:
An Electron/Node/AngularJS remote client app for uTorrent server
39 lines (28 loc) • 974 B
JavaScript
;
angular.module('torrentApp').factory('Client', ['Column', function(Column) {
function Client() {
this.availableColumns = _.difference(Torrent.COLUMNS, this.disabledColumns)
}
Client.prototype.connect = function (ip, port, user, pass) {
throw new Error("Not implemented")
};
Client.prototype.torrents = function () {
throw new Error("Not implemented")
};
Client.prototype.addTorrentUrl = function () {
throw new Error("Not implemented")
};
Client.prototype.uploadTorrent = function () {
throw new Error("Not implemented")
};
Client.prototype.setLabel = function (torrent, label) {
throw new Error("Not implemented")
};
Client.prototype.disabledColumns = []
Client.prototype.actionHeader = []
Client.prototype.contextMenu = []
/**
* Return the constructor function
*/
return Client;
}]);