Files
discord.js/lib/Util/TokenCacher-shim.js
Brian Tanner fdfd41dd8c add .toObject() method to structures (#522)
* add .toObject() method to structures

* add compiled PMChannel change from last commit

* uncomment members in VoiceChannel toObject method
2016-08-16 09:53:07 -07:00

30 lines
735 B
JavaScript

// Shim for the token cacher in the browser.
"use strict";
exports.__esModule = true;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var TokenCacher = (function () {
function TokenCacher() {
_classCallCheck(this, TokenCacher);
}
TokenCacher.prototype.setToken = function setToken() {};
TokenCacher.prototype.save = function save() {};
TokenCacher.prototype.getToken = function getToken() {
return null;
};
TokenCacher.prototype.init = function init(ind) {
this.done = true;
};
return TokenCacher;
})();
exports["default"] = TokenCacher;
module.exports = exports["default"];