~bjornt/lazr-js/prefetch-yui-3.5

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/plugin/plugin.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-01-14 23:32:29 UTC
  • mfrom: (197.1.7 yui-3.3.0)
  • Revision ID: launchpad@pqm.canonical.com-20110114233229-r6i4cazdiiw18o7p
Upgrade to YUI 3.3.0 [r=mars]

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.com/yui/license.html
5
 
version: 3.2.0
6
 
build: 2676
 
5
version: 3.3.0
 
6
build: 3167
7
7
*/
8
8
YUI.add('plugin', function(Y) {
9
9
 
195
195
         * The function will be detached when the plugin is unplugged.
196
196
         *
197
197
         * @method beforeHostMethod
198
 
         * @param {String} The name of the method to inject the function before.
 
198
         * @param {String} method The name of the method to inject the function before.
199
199
         * @param {Function} fn The function to inject.
200
200
         * @param {Object} context The execution context. Defaults to the plugin instance.
201
201
         * @return handle {EventHandle} The detach handle for the injected function. 
212
212
         * The function will be detached when the plugin is unplugged.
213
213
         *
214
214
         * @method afterHostMethod
215
 
         * @param {String} The name of the method to inject the function after.
 
215
         * @param {String} method The name of the method to inject the function after.
216
216
         * @param {Function} fn The function to inject.
217
217
         * @param {Object} context The execution context. Defaults to the plugin instance.
218
218
         * @return handle {EventHandle} The detach handle for the injected function. 
231
231
    Y.namespace("Plugin").Base = Plugin;
232
232
 
233
233
 
234
 
}, '3.2.0' ,{requires:['base-base']});
 
234
}, '3.3.0' ,{requires:['base-base']});