From 26105034da4fcce7ac883c899d781f016559310d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:38:48 +0800 Subject: switch to vuepress --- node_modules/stylus/lib/cache/null.js | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 node_modules/stylus/lib/cache/null.js (limited to 'node_modules/stylus/lib/cache/null.js') diff --git a/node_modules/stylus/lib/cache/null.js b/node_modules/stylus/lib/cache/null.js new file mode 100644 index 00000000..07f1b011 --- /dev/null +++ b/node_modules/stylus/lib/cache/null.js @@ -0,0 +1,50 @@ +/** + * Module dependencies. + */ + +var NullCache = module.exports = function() {}; + +/** + * Set cache item with given `key` to `value`. + * + * @param {String} key + * @param {Object} value + * @api private + */ + +NullCache.prototype.set = function(key, value) {}; + +/** + * Get cache item with given `key`. + * + * @param {String} key + * @return {Object} + * @api private + */ + +NullCache.prototype.get = function(key) {}; + +/** + * Check if cache has given `key`. + * + * @param {String} key + * @return {Boolean} + * @api private + */ + +NullCache.prototype.has = function(key) { + return false; +}; + +/** + * Generate key for the source `str` with `options`. + * + * @param {String} str + * @param {Object} options + * @return {String} + * @api private + */ + +NullCache.prototype.key = function(str, options) { + return ''; +}; -- cgit v1.2.3