__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
YUI.add('cache-plugin', function (Y, NAME) {
/**
* Provides support to use Cache as a Plugin to a Base-based class.
*
* @module cache
* @submodule cache-plugin
*/
/**
* Plugin.Cache adds pluginizability to Cache.
* @class Plugin.Cache
* @extends Cache
* @uses Plugin.Base
*/
function CachePlugin(config) {
var cache = config && config.cache ? config.cache : Y.Cache,
tmpclass = Y.Base.create("dataSourceCache", cache, [Y.Plugin.Base]),
tmpinstance = new tmpclass(config);
tmpclass.NS = "tmpClass";
return tmpinstance;
}
Y.mix(CachePlugin, {
/**
* The namespace for the plugin. This will be the property on the host which
* references the plugin instance.
*
* @property NS
* @type String
* @static
* @final
* @value "cache"
*/
NS: "cache",
/**
* Class name.
*
* @property NAME
* @type String
* @static
* @final
* @value "dataSourceCache"
*/
NAME: "cachePlugin"
});
Y.namespace("Plugin").Cache = CachePlugin;
}, '3.18.1', {"requires": ["plugin", "cache-base"]});
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cache-plugin-debug.js | File | 1.08 KB | 0777 |
|
| cache-plugin-min.js | File | 291 B | 0777 |
|
| cache-plugin.js | File | 1.08 KB | 0777 |
|