~lutostag/ubuntu/utopic/maas/1.5.2

« back to all changes in this revision

Viewing changes to src/maasserver/static/jslibs/yui/3.4.1/build/node-event-simulate/node-event-simulate.js

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-03-15 18:14:08 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120315181408-zgl94hzo0x4n99an
Tags: 0.1+bzr295+dfsg-0ubuntu2
* debian/patches:
  - 01-fix-database-settings.patch: Update to set PSERV_URL.
  - 02-pserv-config.patch: Set port to 8001.
* debian/maas.postinst: Run maas-import-isos on install.
* debian/control: Depends on rabbitmq-server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
YUI 3.4.1 (build 4118)
 
3
Copyright 2011 Yahoo! Inc. All rights reserved.
 
4
Licensed under the BSD License.
 
5
http://yuilibrary.com/license/
 
6
*/
 
7
YUI.add('node-event-simulate', function(Y) {
 
8
 
 
9
/**
 
10
 * Adds functionality to simulate events.
 
11
 * @module node
 
12
 * @submodule node-event-simulate
 
13
 */
 
14
 
 
15
    /**
 
16
     * Simulates an event on the node.
 
17
     * @param {String} type The type of event to simulate (i.e., "click").
 
18
     * @param {Object} options (Optional) Extra options to copy onto the event object.
 
19
     * @return {void}
 
20
     * @for Node
 
21
     * @method simulate
 
22
     */     
 
23
    Y.Node.prototype.simulate = function(type, options) {
 
24
        Y.Event.simulate(Y.Node.getDOMNode(this), type, options);
 
25
    };
 
26
 
 
27
 
 
28
 
 
29
}, '3.4.1' ,{requires:['node-base', 'event-simulate']});