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

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/widget/widget-position-align.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('widget-position-align', function(Y) {
9
9
 
41
41
            if (!this._posNode) {
42
42
                Y.error("WidgetPosition needs to be added to the Widget, before WidgetPositionAlign is added"); 
43
43
            }
44
 
            Y.after(this._syncUIPosAlgin, this, SYNCUI);
 
44
            Y.after(this._syncUIPosAlign, this, SYNCUI);
45
45
            Y.after(this._bindUIPosAlign, this, BINDUI);
46
46
        }
47
47
 
189
189
             * This method in invoked after syncUI is invoked for the Widget class
190
190
             * using YUI's aop infrastructure.
191
191
             *
192
 
             * @method _syncUIPosAlgin
 
192
             * @method _syncUIPosAlign
193
193
             * @protected
194
194
             */
195
 
            _syncUIPosAlgin : function() {
 
195
            _syncUIPosAlign : function() {
196
196
                var align = this.get(ALIGN);
197
197
                if (align) {
198
198
                    this._uiSetAlign(align.node, align.points);
406
406
        Y.WidgetPositionAlign = PositionAlign;
407
407
 
408
408
 
409
 
}, '3.1.2' ,{requires:['widget', 'widget-position']});
 
409
}, '3.2.0' ,{requires:['widget-position']});