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

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/cookie/cookie-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('cookie', function(Y) {
9
9
 
203
203
            return cookies;
204
204
        },    
205
205
        
 
206
        /**
 
207
         * Sets the document object that the cookie utility uses for setting
 
208
         * cookies. This method is necessary to ensure that the cookie utility
 
209
         * unit tests can pass even when run on a domain instead of locally.
 
210
         * This method should not be used otherwise; you should use 
 
211
         * <code>Y.config.doc</code> to change the document that the cookie
 
212
         * utility uses for everyday purposes.
 
213
         * @param {Object} newDoc The object to use as the document.
 
214
         * @return {void}
 
215
         * @method _setDoc
 
216
         * @private
 
217
         */         
 
218
        _setDoc: function(newDoc){
 
219
            doc = newDoc;
 
220
        },
 
221
        
206
222
        //-------------------------------------------------------------------------
207
223
        // Public Methods
208
224
        //-------------------------------------------------------------------------
488
504
 
489
505
 
490
506
 
491
 
}, '3.1.2' ,{requires:['yui-base']});
 
507
}, '3.2.0' ,{requires:['yui-base']});