/usr/share/javascript/yui3/node-event-simulate/node-event-simulate.js is in libjs-yui3-full 3.5.1-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /*
YUI 3.5.1 (build 22)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('node-event-simulate', function(Y) {
/**
* Adds functionality to simulate events.
* @module node
* @submodule node-event-simulate
*/
/**
* Simulates an event on the node.
* @param {String} type The type of event to simulate (i.e., "click").
* @param {Object} options (Optional) Extra options to copy onto the event object.
* @return {void}
* @for Node
* @method simulate
*/
Y.Node.prototype.simulate = function(type, options) {
Y.Event.simulate(Y.Node.getDOMNode(this), type, options);
};
}, '3.5.1' ,{requires:['node-base', 'event-simulate']});
|