~ubuntu-branches/ubuntu/lucid/loggerhead/lucid-security

« back to all changes in this revision

Viewing changes to loggerhead/static/javascript/yui/build/dom/selector.js

  • Committer: Bazaar Package Importer
  • Author(s): James Westby, Roland Mas, Jelmer Vernooij, James Westby
  • Date: 2009-08-26 13:18:03 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090826131803-0ce1fhaetci8b0c5
Tags: 1.17-0ubuntu1
[ Roland Mas ]
* Use the YUI library provided by libjs-yui. (Closes: #511286)

[ Jelmer Vernooij ]
* Use my debian.org address in Uploaders field.
* Add ${misc:Depends} to please lintian.
* Suggest recent version of paste, which doesn't expose internal port
  numbers in links. (Closes: #507000)
* Bump standards version to 3.8.1.

[ James Westby ]
* New upstream release.
* Drop get-orig-source rule in favour of debian/watch.
* Add python-pkg-resources and python-paste to Build-Depends,
  python-pkg-resources to Depends and python-simplejson to
  Recommends due to dependency changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.net/yui/license.txt
5
 
version: 3.0.0pr1
 
5
version: 3.0.0pr2
6
6
*/
7
7
YUI.add('selector', function(Y) {
8
8
 
306
306
            for (i = 0, len = token[ATTRIBUTES][LENGTH]; i < len; ++i) {
307
307
                attribute = node.getAttribute(token[ATTRIBUTES][i][0], 2);
308
308
                if (attribute === undefined) {
309
 
                    attribute = node[token[ATTRIBUTES][i][0]];
310
 
                    if (attribute === undefined) {
311
 
                        return false;
312
 
                    }
 
309
                    return false;
313
310
                }
314
311
                if ( ops[token[ATTRIBUTES][i][1]] &&
315
312
                        !ops[token[ATTRIBUTES][i][1]](attribute, token[ATTRIBUTES][i][2])) {
560
557
 
561
558
};
562
559
 
563
 
if (Y.UA.ie) { // rewrite class for IE (others use getAttribute('class')
 
560
if (Y.UA.ie && Y.UA.ie < 8) { // rewrite class for IE (others use getAttribute('class')
564
561
    Selector.attrAliases['class'] = 'className';
565
562
    Selector.attrAliases['for'] = 'htmlFor';
566
563
}
570
567
 
571
568
 
572
569
 
573
 
}, '3.0.0pr1' ,{skinnable:false, requires:['dom-base']});
 
570
 
 
571
}, '3.0.0pr2' ,{skinnable:false, requires:['dom-base']});