]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - jssource/src_files/include/javascript/yui3/build/node/node-aria.js
Release 6.2.1
[Github/sugarcrm.git] / jssource / src_files / include / javascript / yui3 / build / node / node-aria.js
1 /*
2 Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.net/yui/license.txt
5 version: 3.0.0
6 build: 1549
7 */
8 YUI.add('node-aria', function(Y) {
9
10 /**
11  * Aria support for Node
12  * @module node
13  * @submodule node-aria
14  */
15
16 Y.Node.prototype.get = function(name) {
17     var val;
18     if (re_aria.test(name)) {
19             val = Y.Node.getDOMNode(this).getAttribute(name, 2); 
20     } else {
21
22     }
23
24         setter: function(val) {
25             Y.Node.getDOMNode(this).setAttribute(name, val);
26             return val; 
27         }
28     });
29 };
30
31
32 }, '3.0.0' ,{requires:['node-base']});