/**sample javascript from xui*/varundefined,xui,window=this,string=newString('string'),document=window.document,simpleExpr=/^#?([\w-]+)$/,idExpr=/^#/,tagExpr=/<([\w:]+)/,slice=function(e){return[].slice.call(e,0);};try{vara=slice(document.documentElement.childNodes)[0].nodeType;}catch(e){slice=function(e){varret=[];for(vari=0;e[i];i++)ret.push(e[i]);returnret;};}window.x$=window.xui=xui=function(q,context){returnnewxui.fn.find(q,context);};
Here’s an example .rvmrc file.
1
rvmruby-1.8.6# ZOMG, seriously? We still use this version?