src/cm/media/js/lib/yui/yui3.0.0/build/node/node-aria-min.js
author raph
Thu, 10 Jun 2010 14:56:36 +0200
changeset 280 4f3002c6eab7
parent 0 40c8f766c9b8
permissions -rw-r--r--
initialize the user registration language code to request.LANGUAGE_CODE (selected language or default setting)

/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 3.0.0
build: 1549
*/
YUI.add("node-aria",function(A){A.Node.re_aria=/^(?:role$|aria-)/;A.Node.prototype._addAriaAttr=function(B){this.addAttr(B,{getter:function(){return A.Node.getDOMNode(this).getAttribute(B,2);},setter:function(C){A.Node.getDOMNode(this).setAttribute(B,C);return C;}});};},"3.0.0",{requires:["node-base"]});