~ubuntu-branches/ubuntu/precise/maas/precise-updates

« 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-debug.js

Tags: 1.2+bzr1373+dfsg-0ubuntu1~12.04.4
* SECURITY UPDATE: failure to authenticate downloaded content (LP: #1039513)
  - debian/patches/CVE-2013-1058.patch: Authenticate downloaded files with
    GnuPG and MD5SUM files. Thanks to Julian Edwards.
  - CVE-2013-1058
* SECURITY UPDATE: configuration options may be loaded from current working
  directory (LP: #1158425)
  - debian/patches/CVE-2013-1057-1-2.patch: Do not load configuration
    options from the current working directory. Thanks to Julian Edwards.
  - CVE-2013-1057

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']});