2 Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
8 YUI.add('rls',function(Y){Y._rls=function(what){var config=Y.config,rls=config.rls||{m:1,v:Y.version,gv:config.gallery,env:1,lang:config.lang,'2in3v':config['2in3'],'2v':config.yui2,filt:config.filter,filts:config.filters,tests:1},rls_base=config.rls_base||'load?',rls_tmpl=config.rls_tmpl||function(){var s='',param;for(param in rls){if(param in rls&&rls[param]){s+=param+'={'+param+'}&';}}
9 return s;}(),url;rls.m=what;rls.env=Y.Object.keys(YUI.Env.mods);rls.tests=Y.Features.all('load',[Y]);url=Y.Lang.sub(rls_base+rls_tmpl,rls);config.rls=rls;config.rls_tmpl=rls_tmpl;return url;};},'3.3.0',{requires:['get','features']});