~ted/lazr-js/annoying-debug-message

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/dd/dd-scroll-debug.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-09-09 14:20:30 UTC
  • mfrom: (182.1.3 yui-3.2)
  • Revision ID: launchpad@pqm.canonical.com-20100909142030-13w6vo0ixfysxc15
[r=beuno] Update lazr-js to yui-3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.com/yui/license.html
5
 
version: 3.1.2
6
 
build: 56
 
5
version: 3.2.0
 
6
build: 2676
7
7
*/
8
8
YUI.add('dd-scroll', function(Y) {
9
9
 
169
169
            h.on('drag:align', Y.bind(this.align, this));
170
170
 
171
171
            //TODO - This doesn't work yet??
172
 
            Y.one(window).on('scroll', Y.bind(function() {
 
172
            Y.one('win').on('scroll', Y.bind(function() {
173
173
                this._vpRegionCache = null;
174
174
            }, this));
175
175
        },
351
351
            value: true,
352
352
            setter: function(scroll) {
353
353
                if (scroll) {
354
 
                    this.set(PARENT_SCROLL, Y.one(window));
 
354
                    this.set(PARENT_SCROLL, Y.one('win'));
355
355
                }
356
356
                return scroll;
357
357
            }
431
431
 
432
432
 
433
433
 
434
 
}, '3.1.2' ,{requires:['dd-drag'], optional:['dd-proxy'], skinnable:false});
 
434
}, '3.2.0' ,{requires:['dd-drag'], skinnable:false, optional:['dd-proxy']});