lib/kissy/5.0.0-alpha.3/build/base-debug.js
function (id) {
                var plugin = null;
                util.each(this.get('plugins'), function (p) {
                    // user defined takes priority
                    var pluginId = p.get && p.get('pluginId') || p.pluginId;
                    if (pluginId === id) {
                        plugin = p;
                        return false;
                    }
                    return undefined;
                });
                return plugin;
            }
function (id) {
                var plugin = null;
                util.each(this.get('plugins'), function (p) {
                    // user defined takes priority
                    var pluginId = p.get && p.get('pluginId') || p.pluginId;
                    if (pluginId === id) {
                        plugin = p;
                        return false;
                    }
                    return undefined;
                });
                return plugin;
            }
function ( id ) { var plugin = null ; util . each ( this . get ( 'plugins' ) , function ( p ) { // user defined takes priority var pluginId = p . get && p . get ( 'pluginId' ) || p . pluginId ; if ( pluginId === id ) { plugin = p ; return false ; } return undefined ; } ) ; return plugin ; }
get specified plugin instance by id
@param {String} id pluginId of plugin instance
@return {Object}
get specified plugin instance by id