~ahasenack/lazr-js/lazr-js-11.03-packaging

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/stylesheet/stylesheet.js

  • Committer: Sidnei da Silva
  • Date: 2010-04-08 14:44:59 UTC
  • mfrom: (166.8.13 yui-3.1.0)
  • Revision ID: sidnei.da.silva@canonical.com-20100408144459-qozybvnrgr7iee7k
Merged yui-3.1.0 [r=therve,rockstar] [f=558457].

Updates lazr-js to use YUI 3.1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
 
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
 
http://developer.yahoo.net/yui/license.txt
5
 
version: 3.0.0
6
 
build: 1549
 
4
http://developer.yahoo.com/yui/license.html
 
5
version: 3.1.0
 
6
build: 2026
7
7
*/
8
8
YUI.add('stylesheet', function(Y) {
9
9
 
129
129
    // Extract the DOM node from Node instances
130
130
    if (seed) {
131
131
        if (Y.Node && seed instanceof Y.Node) {
132
 
            node = Y.Node.getDOMNode(seed);
 
132
            node = seed._node;
133
133
        } else if (seed.nodeName) {
134
134
            node = seed;
135
135
        // capture the DOM node if the string is an id
630
630
 
631
631
 
632
632
 
633
 
}, '3.0.0' );
 
633
}, '3.1.0' );