100+ results results for 'encodeURIComponent repo:silverstripe/sapphire' (274 ms)
302 var pp_map = this._pretty_print_object('', map, 0, ['message map =']); 303 window.open("data:text/plain," + encodeURIComponent(pp_map.join('\n'))); 304};export-ui.js http://jsi.googlecode.com/svn/trunk/ | JavaScript | 351 lines
115 if(window.ActiveXObject){//??ie8 116 zip = encodeURIComponent(zip); 117 window.open($JSI.scriptBase+'?service=data&data='+zip,resultDialogName)//resultDialogNamechat.js http://webchat2.googlecode.com/svn/trunk/ | JavaScript | 407 lines
92 message: function(msg) { 93 new Ajax.Request('/message?key='+chat.key+'&msg='+encodeURIComponent(msg)+'&channel='+encodeURIComponent(chat.current), { asynchronous : true, method : 'get'}); 94 },myconfig.js http://lansuite.googlecode.com/svn/trunk/ | JavaScript | 48 lines
13FCKConfig.LinkBrowser = true ; 14FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; 15FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% 18FCKConfig.ImageBrowser = true ; 19FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; 20FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; 23FCKConfig.FlashBrowser = true ; 24FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; 25FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;wikipedia.coffee git://github.com/github/hubot-scripts.git | CoffeeScript | 93 lines
77makeArticleURL = (title) -> 78 "https://en.wikipedia.org/wiki/#{encodeURIComponent(title)}" 79WebSocket.as git://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs.git | ActionScript | 453 lines
268 logger.log("received: " + data); 269 this.dispatchEvent(new WebSocketEvent("message", encodeURIComponent(data))); 270 removeBufferBefore(pos + 1);dllearner-module.js https://code.google.com/p/ontowiki/ | JavaScript | 198 lines
86 //alert($jq("#radio"+i).attr("name")); 87 //pos[i] = encodeURIComponent ($jq("#radio"+i).attr("name")); 88 p += encodeURIComponent ($jq("#radio"+i).attr("name"))+"/"; 91 //alert($jq("#radio"+i).attr("name")); 92 //neg[i] = encodeURIComponent ($jq("#radio"+i).attr("name")); 93 n += encodeURIComponent ($jq("#radio"+i).attr("name"))+"/"; 96 } 97 action = encodeURIComponent ($jq(event.currentTarget).attr("name")); 98 // refresh the main 104 // look for the name and encode it for uri 105 action = encodeURIComponent ($jq(event.currentTarget).attr("name")); 106 // refresh the main 115 if ($jq("#radio"+i).attr("checked")){ 116 s += encodeURIComponent ($jq("#radio"+i).attr("value")); 117 //alert(s);helpers.js https://bitbucket.org/scope/dragonfly-stp-1/ | JavaScript | 359 lines
214 document.cookie = ( 215 key + "=" + encodeURIComponent(value) + 216 "; expires=" +default.cfm git://github.com/misterdai/cfTracker.git | ColdFusion | 314 lines
67 path: 'assets/flash/amcolumn', 68 settings_file: 'assets/flash/amcolumn/' + encodeURIComponent('heap.xml?asd'), 69 data_file: 'assets/flash/amcolumn/' + encodeURIComponent('empty.csv'), 128 path: 'assets/flash/amcolumn', 129 settings_file: 'assets/flash/amcolumn/' + encodeURIComponent('heap.xml?asd'), 130 data_file: 'assets/flash/amcolumn/' + encodeURIComponent('empty.csv'),FileManagerController.js http://izwebfilemanager.googlecode.com/svn/trunk/ | JavaScript | 342 lines
54 WebFileManager_InitCallback(); 55 WebFileManager_DoCallback(this.UniqueID, this.TextBox.Control.ClientID + this.EventArgumentSplitter + 'Rename' + this.EventArgumentSplitter + this.TextBox.Item.Path + this.EventArgumentSplitter + encodeURIComponent(this.TextBox.value), WebFileManager_Eval, this.TextBox.Control, WebFileManager_OnError); 56 } else { 158 WebFileManager_InitCallback(); 159 WebFileManager_DoCallback(this.UniqueID, sender.ClientID + this.EventArgumentSplitter + 'SelectedItemsCopyTo' + this.EventArgumentSplitter + encodeURIComponent(arg), WebFileManager_Eval, sender, WebFileManager_OnError); 160 } 176 WebFileManager_InitCallback(); 177 WebFileManager_DoCallback(this.UniqueID, sender.ClientID + this.EventArgumentSplitter + 'SelectedItemsMoveTo' + this.EventArgumentSplitter + encodeURIComponent(arg), WebFileManager_Eval, sender, WebFileManager_OnError); 178 } 232 WebFileManager_InitCallback(); 233 WebFileManager_DoCallback(this.UniqueID, sender.ClientID + this.EventArgumentSplitter + 'FileViewNavigate' + this.EventArgumentSplitter + encodeURIComponent(arg), WebFileManager_Eval, sender, WebFileManager_OnError) 234}era_rl.aspx http://mycila.googlecode.com/svn/ | ASP.NET | 258 lines
214 eraLink += "SortBy:" + GetEraSortType(current_window); 215 eraLink += "&Referrer=" + encodeURIComponent(GetReferrer(current_window, current_document)); 216RestUtils.java git://github.com/elasticsearch/elasticsearch.git | Java | 220 lines
120 * This is the encoding used by JavaScript functions {@code encodeURI} 121 * and {@code encodeURIComponent}, but not {@code escape}. For example 122 * in this encoding, é (in Unicode {@code U+00E9} or in UTF-8room.html http://multiplayer-api.googlecode.com/svn/trunk/ | HTML | 295 lines
42 var val = param_arr[key]; 43 flash_arr[flash_arr.length] = key + "=" + encodeURIComponent(val); 44 } 180 }else 181 params[obj.xmlName]=encodeURIComponent(windowParams[obj.htmlName]); 182 }else if(obj.xmlName != null){widget.js http://xe-core.googlecode.com/svn/trunk/ | JavaScript | 1263 lines
117 118 attrs += name+'="'+encodeURIComponent(value)+'" '; 119 } 139 if(!value || value == "Array") continue; 140 attrs += name+'="'+encodeURIComponent(value)+'" '; 141 } 167 168 attrs += name+'="'+encodeURIComponent(value)+'" '; 169 }testrunner.js git://github.com/IronLanguages/main.git | JavaScript | 804 lines
452 target.children().remove(); 453 location.href = location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent($.trim(target.text())); 454 }support.js https://code.google.com/p/ontowiki/ | JavaScript | 560 lines
24 var url = urlBase + 'view/'; 25 var params = 'r=' + encodeURIComponent(resourceUri); 26 $.ajax({ 48 resourceURI = target.next().attr('about'); 49 encodedResourceURI = encodeURIComponent(resourceURI); 50 resource = target.next(); 227 if (array.length) { 228 serialization += key + '[]=' + encodeURIComponent(array[0]); 229 230 for (var i = 1; i < array.length; ++i) { 231 serialization += '&' + key + '[]=' + encodeURIComponent(array[i]); 232 } 261 262 encodedResourceUri = encodeURIComponent(resourceUri); 263 resource = $(event.target).parent();goosh.js git://github.com/sones/sones.git | JavaScript | 869 lines
334 document.body.appendChild(script); 335 script.src = "http://www.google.com/complete/search?hl=" + goosh.config.lang + "&js=true&qu=" + encodeURIComponent(word); 336 }fileuploader.js git://github.com/valums/file-uploader.git | JavaScript | 1247 lines
210 : (Object.prototype.toString.call(nextObj) === '[object Function]') 211 ? encodeURIComponent(nextTemp) + '=' + encodeURIComponent(nextObj()) 212 : encodeURIComponent(nextTemp) + '=' + encodeURIComponent(nextObj) 231 } else { 232 uristrings.push(encodeURIComponent(temp) + '=' + encodeURIComponent(obj)); 233 }cookie-debug.js git://github.com/hpcc-systems/HPCC-Platform.git | JavaScript | 482 lines
39 var lang = YAHOO.lang, 40 text = encodeURIComponent(name) + "=" + (encodeValue ? encodeURIComponent(value) : value); 41 88 if (lang.hasOwnProperty(hash, key) && !lang.isFunction(hash[key]) && !lang.isUndefined(hash[key])){ 89 text.push(encodeURIComponent(key) + "=" + encodeURIComponent(String(hash[key]))); 90 }validator.js http://ubiquity-xforms.googlecode.com/svn/trunk/ | JavaScript | 988 lines
116 (c === 123) || (c === 124) || (c === 125) || (c > 127)) { 117 encodedURI += (encodeURIComponent(String.fromCharCode(c))); 118 } else {JsSystem.java http://minijoe.googlecode.com/svn/trunk/ | Java | 551 lines
102 .addVar("encodeURI", new JsFunction(JsObject.ID_ENCODE_URI, 1)) 103 .addVar("encodeURIComponent", new JsFunction( 104 JsObject.ID_ENCODE_URI_COMPONENT, 1))admin.js http://creative-portal.googlecode.com/svn/trunk/ | JavaScript | 468 lines
361 if (content != '') { 362 nv_ajax('post', script_name, nv_name_variable + '=' + nv_module_name + '&' + nv_name_variable + '=' + nv_module_name + '&' + nv_fc_variable + '=keywords&content=' + encodeURIComponent(content), '', 'res_keywords'); 363 }tinetworkmodule.js git://github.com/appcelerator/titanium_desktop.git | JavaScript | 536 lines
21 queryString += key + "=" + (data[key] === undefined ? 22 '' : Titanium.Network.encodeURIComponent(data[key])) + '&'; 23 } 335 xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); 336 var qs = 'version=' + Titanium.Network.encodeURIComponent(version) + 337 '&name=' + Titanium.Network.encodeURIComponent(component) + 337 '&name=' + Titanium.Network.encodeURIComponent(component) + 338 '&mid=' + Titanium.Network.encodeURIComponent(Titanium.Platform.id) + 339 '&limit=' + limit + 339 '&limit=' + limit + 340 '&guid=' + Titanium.Network.encodeURIComponent(Titanium.App.getGUID()) + 341 '&os=' + Titanium.platform +Network.cpp git://github.com/appcelerator/titanium_desktop.git | C++ | 443 lines
120 /** 121 * @tiapi(method=True,name=Network.encodeURIComponent,since=0.3) Encodes a URI Component 122 * @tiarg(for=Network.encodeURIComponent,name=value,type=String) value to encode 122 * @tiarg(for=Network.encodeURIComponent,name=value,type=String) value to encode 123 * @tiresult(for=Network.encodeURIComponent,type=String) the encoded value 124 */ 124 */ 125 this->SetMethod("encodeURIComponent",&Network::_EncodeURIComponent); 126 /** 318 319void Network::_EncodeURIComponent(const ValueList &args, KValueRef result) 320{ 327 std::string src = args.at(0)->ToString(); 328 std::string sResult = URLUtils::EncodeURIComponent(src); 329 result->SetString(sResult);web_socket.js git://github.com/gimite/web-socket-js.git | JavaScript | 398 lines
79 } 80 // We use encodeURIComponent() here, because FABridge doesn't work if 81 // the argument includes some characters. We don't use escape() here 83 // https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Functions#escape_and_unescape_Functions 84 // But it looks decodeURIComponent(encodeURIComponent(s)) doesn't 85 // preserve all Unicode characters either e.g. "\uffff" in Firefox. 87 // additional testing. 88 var result = WebSocket.__flash.send(this.__id, encodeURIComponent(data)); 89 if (result < 0) { // successshCore.js git://github.com/recess/recess.git | JavaScript | 161 lines
15{flashcopier=document.createElement('div');highlighter.flashCopier=flashcopier;highlighter.div.appendChild(flashcopier);} 16flashcopier.innerHTML='<embed src="'+dp.sh.ClipboardSwf+'" FlashVars="clipboard='+encodeURIComponent(code)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';} 17alert('The code is in your clipboard now');}},PrintSource:{label:'print',func:function(sender,highlighter)driver.js git://github.com/mozilla/pdf.js.git | JavaScript | 954 lines
65 const svg_xml = unescape( 66 encodeURIComponent(new XMLSerializer().serializeToString(svgElement)) 67 );sencha-touch-debug.js https://hg01.codeplex.com/social | JavaScript | 0 lines
207 buf = [], 208 e = encodeURIComponent; 209qunit.js http://stringencoders.googlecode.com/svn/trunk/ | JavaScript | 1063 lines
203 if ( window.location ) { 204 window.location.href = window.location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent(text); 205 }web.py https://bitbucket.org/birkenfeld/pygments-main/ | Python | 2846 lines
78 r'Number|Object|Packages|RegExp|String|sun|decodeURI|' 79 r'decodeURIComponent|encodeURI|encodeURIComponent|' 80 r'Error|eval|isFinite|isNaN|parseFloat|parseInt|document|this|'global.cpp http://es-operating-system.googlecode.com/svn/trunk/ | C++ | 720 lines
252 EncodeURI, 253 EncodeURIComponent, 254 DecodeURIComponent, 438 break; 439 case EncodeURIComponent: 440 arguments->add(new Identifier("uriComponent")); 583 break; 584 case EncodeURIComponent: 585 s = getScopeChain()->get("uriComponent")->toString();qunit.js http://monorail-samples.googlecode.com/svn/trunk/ | JavaScript | 1298 lines
178 if ( window.location && target.nodeName.toLowerCase() === "strong" ) { 179 window.location.search = "?" + encodeURIComponent(getText([target]).replace(/\(.+\)$/, "").replace(/(^\s*|\s*$)/g, "")); 180 }jquery.spellchecker.js https://hg01.codeplex.com/yafnet | JavaScript | 430 lines
89 this.postJson(this.options.url, { 90 text: encodeURIComponent(text).replace(/%20/g, '+') 91 }, function(json){ 185 this.postJson(this.options.url, { 186 suggest: encodeURIComponent($.trim($word.text())) 187 }, function(json){page_header.tpl http://torrentpier2.googlecode.com/svn/trunk/ | Smarty Template | 669 lines
20 window.BB = {}; 21 window.encURL = encodeURIComponent; 22</script>fck_link.js http://fckeditor-for-wordpress.googlecode.com/svn/trunk/ | JavaScript | 665 lines
111 if ( subject.length > 0 ) 112 sParams = '?subject=' + encodeURIComponent( subject ) ; 113 116 sParams += ( sParams.length == 0 ? '?' : '&' ) ; 117 sParams += 'body=' + encodeURIComponent( body ) ; 118 }global.js http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | JavaScript | 1446 lines
77 action: 'post_update', 78 'cookie': encodeURIComponent(document.cookie), 79 '_wpnonce_post_update': jq("input#_wpnonce_post_update").val(), 197 action: 'activity_mark_' + type, 198 'cookie': encodeURIComponent(document.cookie), 199 'id': parent_id 251 action: 'delete_activity', 252 'cookie': encodeURIComponent(document.cookie), 253 'id': id, 275 action: 'bp_spam_activity', 276 'cookie': encodeURIComponent( document.cookie ), 277 'id': li.attr( 'id' ).substr( 9, li.attr( 'id' ).length ), 305 action: 'activity_get_older_updates', 306 'cookie': encodeURIComponent(document.cookie), 307 'page': oldest_pageNativeGlobal.java git://github.com/ether/pad.git | Java | 791 lines
75 break; 76 case Id_encodeURIComponent: 77 name = "encodeURIComponent"; 179 case Id_encodeURI: 180 case Id_encodeURIComponent: { 181 String str = ScriptRuntime.toString(args, 0);url.js http://fbug.googlecode.com/svn/ | JavaScript | 537 lines
276 var uri = "data:text/html;"; 277 uri += "fileName="+encodeURIComponent(url)+ "," 278 uri += encodeURIComponent(content); 486 for (var i = 0; i < params.length; ++i) 487 args.push(encodeURIComponent(params[i].name)+"="+encodeURIComponent(params[i].value)); 488script2.js http://fbug.googlecode.com/svn/ | JavaScript | 1441 lines
9//function _B_record(){loadTimes.push((new Date).getTime())}var _B_thumbStyle_;function _B_prog(pct){top["pr"]=pct;if(_B_thumbStyle_===undefined){var thumb=top.document.getElementById("lpt");_B_thumbStyle_=thumb?thumb.style:null}if(_B_thumbStyle_){_B_thumbStyle_.width=Math.round(pct*0.99)+"%";if(pct==100)_B_thumbStyle_=null}} 10//function _B_err(e){var state=loadTimes.join("-");_B_logImg_("jserr","jsstate="+encodeURIComponent(state)+"&jsmsg="+encodeURIComponent(e));_B_handleError(e)}function _B_handleError(e){throw e;}function _B_logImg_(v,p){(new Image).src="?ui=2&view="+v+"&"+p+"&ik="+GLOBALS[9]+"&random="+(new Date).getTime()}window.onerror=function(message,url,line){_B_err(message)};_B_prog(1) 11//</script> 14//</script><script> 15//try{function e(b){throw b;}var h=true,j=null,k=false,aa=encodeURIComponent,ba=window,aaa=JS_OBFUSCATED,ca=Object,da=parseInt,baa=Function,ea=document,fa=GLOBALS,ga=decodeURIComponent,ha=isNaN,l=Math;function caa(b,a){return b.appendChild=a}function ia(b,a){return b.show=a}function ja(b,a){return b.onreadystatechange=a}function la(b,a){return b.text=a}function ma(b,a){return b.cancel=a}function na(b,a){return b.data=a}function oa(b,a){return b.load=a}function pa(b,a){return b.onerror=a} 16//function qa(b,a){return b.value=a}function daa(b,a){return b.button=a}function eaa(b,a){return b.indexOf=a}function ra(b,a){return b.dispatchEvent=a}function sa(b,a){return b.currentTarget=a}function ta(b,a){return b.backgroundColor=a}function faa(b,a){return b.screenX=a}function gaa(b,a){return b.screenY=a}function ua(b,a){return b.send=a}function va(b,a){return b.getName=a}function haa(b,a){return b.charCode=a}function wa(b,a){return b.remove=a}function iaa(b,a){return b.cssText=a}main.html http://earth-api-samples.googlecode.com/svn/trunk/ | HTML | 899 lines
75 // his Sarissa library (sarissa.sourceforge.net) for this technique. 76 var url = "data:text/xml;charset=utf-8," + encodeURIComponent(text); 77 var request = new XMLHttpRequest();MicrosoftMvcAjax.debug.js http://asp-dot-net-training-project.googlecode.com/svn/trunk/ | JavaScript | 0 lines
150 var tagName = element.tagName.toUpperCase(); 151 var encodedName = encodeURIComponent(name); 152 var inputElement = element; 155 if (type === 'submit') { 156 return encodedName + '=' + encodeURIComponent(inputElement.value); 157 } 162 else if ((tagName === 'BUTTON') && (name.length) && (inputElement.type === 'submit')) { 163 return encodedName + '=' + encodeURIComponent(inputElement.value); 164 } 185 if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) { 186 formBody.append(encodeURIComponent(name)); 187 formBody.append('='); 187 formBody.append('='); 188 formBody.append(encodeURIComponent(inputElement.value)); 189 formBody.append('&');qunit.js git://github.com/silverstripe/sapphire.git | JavaScript | 1415 lines
173 if ( window.location && target.nodeName.toLowerCase() === "strong" ) { 174 window.location.search = "?" + encodeURIComponent(getText([target]).replace(/\(.+\)$/, "").replace(/(^\s*|\s*$)/g, "")); 175 }ext-base.js http://gwtquery.googlecode.com/svn/trunk/ | JavaScript | 1874 lines
138 for (var key in o) { 139 var ov = o[key],k = encodeURIComponent(key); 140 var type = typeof ov; 144 if (type != "function" && type != "object") { 145 buf.push(k, "=", encodeURIComponent(ov), "&") 146 } else { 149 for (var i = 0,len = ov.length; i < len; i++) { 150 buf.push(k, "=", encodeURIComponent(ov[i] 151 === undefined ? "" : ov[i]), "&")common.js http://endcms.googlecode.com/svn/trunk/ | JavaScript | 336 lines
106 var newurl = window.location.href.toString().replace(reg,''); 107 newurl += '&search['+search+']='+encodeURIComponent($(this).val()); 108 window.location = newurl;codeViewer.as http://flaswf.googlecode.com/svn/trunk/ | ActionScript | 179 lines
8 public class codeViewer extends Sprite { 9 var AS3KeyWords:String="addEventListener|align|ArgumentError|arguments|Array|as|AS3|Boolean|break|case|catch|class|Class|const|continue|data|Date|decodeURI|decodeURIComponent|default|DefinitionError|delete|do|dynamic|each|else|encodeURI|encodeURIComponent|Error|escape|EvalError|extends|false|finally|flash_proxy|for|function|get|getLineOffset|height|if|implements|import|in|include|index|Infinity|instanceof|interface|internal|intrinsic|is|isFinite|isNaN|isXMLName|label|load|namespace|NaN|native|new|null|Null|object_proxy|override|package|parseFloat|parseInt|private|protected|public|return|set|static|super|switch|this|throw|trace|true|try|typeof|undefined|unescape|use|var|void|while|with|Accessibility|AccessibilityProperties|ActionScriptVersion|ActivityEvent|AntiAliasType|ApplicationDomain|AsyncErrorEvent|AVM1Movie|BevelFilter|Bitmap|BitmapData|BitmapDataChannel|BitmapFilter|BitmapFilterQuality|BitmapFilterType|BlendMode|BlurFilter|ByteArray|Camera|Capabilities|CapsStyle|ColorMatrixFilter|ColorTransform|ContextMenu|ContextMenuBuiltInItems|ContextMenuEvent|ContextMenuItem|ConvolutionFilter|CSMSettings|DataEvent|Dictionary|DisplacementMapFilter|DisplacementMapFilterMode|DisplayObject|DisplayObjectContainer|DropShadowFilter|Endian|EOFError|ErrorEvent|Event|EventDispatcher|EventPhase|ExternalInterface|FileFilter|FileReference|FileReferenceList|FocusEvent|Font|FontStyle|FontType|FrameLabel|Function|GlowFilter|GradientBevelFilter|GradientGlowFilter|GradientType|Graphics|GridFitType|HTTPStatusEvent|IBitmapDrawable|ID3Info|IDataInput|IDataOutput|IDynamicPropertyOutput|IDynamicPropertyWriter|IEventDispatcher|IExternalizable||IllegalOperationError|IME|IMEConversionMode|IMEEvent|int|InteractiveObject|InterpolationMethod|InvalidSWFError|IOError|IOErrorEvent|JointStyle|Keyboard|KeyboardEvent|KeyLocation|LineScaleMode|Loader|LoaderContext|LoaderInfo|LocalConnection|Math|Matrix|MemoryError|Microphone|MorphShape|Mouse|MouseEvent|MovieClip|Namespace|NetConnection|NetStatusEvent|NetStream|Number|Object|ObjectEncoding|PixelSnapping|Point|PrintJob|PrintJobOptions|PrintJobOrientation|ProgressEvent|Proxy|QName|RangeError|Rectangle|ReferenceError|RegExp|resize|result|Responder|scaleMode|Scene|ScriptTimeoutError|Security|SecurityDomain|SecurityError|SecurityErrorEvent|SecurityPanel|setTextFormat|Shape|SharedObject|SharedObjectFlushStatus|SimpleButton|Socket|Sound|SoundChannel|SoundLoaderContext|SoundMixer|SoundTransform|SpreadMethod|Sprite|StackOverflowError|Stage|stageHeight|stageWidth|StageAlign|StageQuality|StageScaleMode|StaticText|StatusEvent|String|StyleSheet|SWFVersion|SyncEvent|SyntaxError|System|text|TextColorType|TextDisplayMode|TextEvent|TextField|TextFieldAutoSize|TextFieldType|TextFormat|TextFormatAlign|TextLineMetrics|TextRenderer|TextSnapshot|Timer|TimerEvent|Transform|true|TypeError|uint|URIError|URLLoader|URLLoaderDataFormat|URLRequest|URLRequestHeader|URLRequestMethod|URLStream|URLVariables|VerifyError|Video|width|XML|XMLDocument|XMLList|XMLNode|XMLNodeType|XMLSocket|flash|display|addChild|graphics|clear|beginBitmapFill|endFill|drawRect|geom|rect|draw|fillRect|getPixel|getPixels|getPixel32|lock()|noise|perlinNoise|setPixel|setPixels|setPixel32|unlock|beginFill|clear|curveTo|drawEllipse|drawCircle|drawRect|drawRoundRect |endFill()|lineStyle|moveTo|lineTo|events|ENTER_FRAME|mouseX|mouseY|stage"; 10 var EvaldrawKeyWords:String="ScreenBuffer|Screen|Canvas|Canvas|Pen|onEnterFrame";uri.js http://ubiquity-xforms.googlecode.com/svn/trunk/ | JavaScript | 280 lines
243 if (params.hasOwnProperty(key) && typeof(params[key]) !== "function") { 244 pairs.push(encodeURIComponent(key) + "=" + encodeURIComponent(params[key])); 245 }TemplatePanel.py http://pyjamas.googlecode.com/svn/trunk/ | Python | 331 lines
3import Window 4from __pyjamas__ import encodeURIComponent 5from EventDelegate import EventDelegate 312 HTTPRequest().asyncPost(self.getTemplateSaveUrl(self.templateName), 313 "content="+encodeURIComponent(html), 314 ContentSaveHandler(self))js-oauth.js https://code.google.com/p/hotot/ | JavaScript | 185 lines
32function quote(text) { 33 text = encodeURIComponent(text); 34 text = text.replace(/\!/g, "%21");ajax_restaurant_info.html http://gdata-samples.googlecode.com/svn/trunk/ | HTML | 127 lines
4 5var YouTubeFeedUrl = "http://gdata.youtube.com/feeds/api/videos?v=2&q=" + encodeURIComponent("{{restaurant.name}} {{restaurant.city}}") + "&alt=json-in-script&format=5&max-results=1&callback=?"; 6$.getJSON(YouTubeFeedUrl, 31 32var PicasaFeedUrl = "http://picasaweb.google.com/data/feed/api/all?v=2&q=" + encodeURIComponent("{{restaurant.name}} {{restaurant.city}}") + "&alt=json-in-script&kind=photo&max-results=10&thumbsize=32c&callback=?"; 33$.getJSON(PicasaFeedUrl,jsidoc.js http://jsi.googlecode.com/svn/trunk/ | JavaScript | 431 lines
190 if(a.getAttribute('href').charAt() != '#'){ 191 var url = '#'+encodeURIComponent(getPureHref(a.href)); 192 checkLocation.hash = ">/"+url; 204 }else{ 205 var url = '#'+encodeURIComponent(getPureHref(document.location.href)); 206 //if(window.ActiveXObject){core.js http://jquery-stream.googlecode.com/svn/ | JavaScript | 549 lines
300 open: function(event, stream) { 301 stream.send("message=" + encodeURIComponent("Hollow Jan")); 302 },containermanager.js https://code.google.com/p/ontowiki/ | JavaScript | 281 lines
93 $(".contextmenu-enhanced .contextmenu").remove(); 94 cName = encodeURIComponent ($(event.currentTarget).attr("name")); 95 replaceWindow(owUriBase+"service/dllearner", "act=learnClass&name="+cName ); 102 // look for the name and encode it for uri 103 cName = encodeURIComponent ($(event.currentTarget).attr("name")); 104 p = encodeURIComponent ($(event.currentTarget).attr("id")); 112 // look for the name and encode it for uri 113 cName = encodeURIComponent ($(event.currentTarget).attr("name")); 114 rName = encodeURIComponent ($("#cmRes-input").attr("value")); 114 rName = encodeURIComponent ($("#cmRes-input").attr("value")); 115 mName = encodeURIComponent ($("#cmMod-input").attr("value")); 116 rTitle = encodeURIComponent ($("#cmTitle-input").attr("value")); 134 // look for the name and encode it for uri 135 cName = encodeURIComponent ($(event.currentTarget).attr("name")); 136 entry = encodeURIComponent ($(event.currentTarget).attr("id"));jsstr.h git://github.com/zpao/spidernode.git | C Header | 364 lines
112extern const char js_decodeURIComponent_str[]; 113extern const char js_encodeURIComponent_str[]; 114playonplayer.htm http://eboda-hd-for-all-500.googlecode.com/svn/trunk/ | HTML | 0 lines
60 try { 61 var url = "http://"+playerName+"/cgi-bin/translate?renderer,," + encodeURIComponent(streamUrl); 62 var res = makeRequest(url);manage.js http://mushplatform.googlecode.com/svn/trunk/ | JavaScript | 343 lines
38 } 39 var url = "/manage/categories/ajax_new?category_name=" + encodeURIComponent(category_input.value) ; 40 add_select_entry('ajax_category_form',category_input,'blog_category_id',url) 48 } 49 var url = "/manage/photos/ajax_create_alubm?title=" + encodeURIComponent(album_input.value) ; 50 add_select_entry('ajax_album_form',album_input,'photo_album_id',url); 80 } 81 var url = "/manage/categories/"+category_id+"/ajax_update?category_name=" + encodeURIComponent(category_input.value) ; 82 new Ajax.Request(url,{pad_security.js git://github.com/ether/pad.git | JavaScript | 245 lines
214 var localPadId = padutils.globalToLocalId(globalPadId); 215 response.redirect('/ep/account/guest-sign-in?padId='+encodeURIComponent(localPadId)); 216 } 241 if (p) { 242 response.redirect('/ep/pad/auth/'+localPadId+'?cont='+encodeURIComponent(request.url)); 243 }jquery-history.js git://github.com/tinkerpop/rexster.git | JavaScript | 0 lines
41 }, 42 encoder: encodeURIComponent 43 }; 79 || typeof unescape_ == "function") { 80 return function(hash) { return unescape_(encodeURIComponent(hash)); }; 81 } 81 } 82 return encodeURIComponent; 83 } 85 function partialDecoder(chars) { 86 var re = new RegExp($.map(chars, encodeURIComponent).join("|"), "ig"); 87 return function(enc) { return enc.replace(re, decodeURIComponent); };projects.js https://code.google.com/p/mastr-ms/ | JavaScript | 1062 lines
27 for (var index in params) { 28 paramString += encodeURIComponent(index) + '=' + encodeURIComponent(params[index]) + '&'; 29 } 95 96 saver = new Ajax.Request(wsBaseUrl + 'create/experiment/?title='+encodeURIComponent(expName)+'&description='+encodeURIComponent(expDescription)+'&comment='+encodeURIComponent(expComment)+'&status_id=2&formal_quote_id='+encodeURIComponent(expFQuoteId)+'&job_number='+encodeURIComponent(expJobNumber)+'&project_id='+encodeURIComponent(MA.currentProjectId)+'&status_id='+encodeURIComponent(expStatus), 97 { 103 } else { 104 saver = new Ajax.Request(wsBaseUrl + 'update/experiment/'+expId+'/?title='+encodeURIComponent(expName)+'&description='+encodeURIComponent(expDescription)+'&comment='+encodeURIComponent(expComment)+'&status_id=2&formal_quote_id='+encodeURIComponent(expFQuoteId)+'&job_number='+encodeURIComponent(expJobNumber)+'&project_id='+encodeURIComponent(MA.currentProjectId)+'&status_id='+encodeURIComponent(expStatus), 105 {biosource.js https://code.google.com/p/mastr-ms/ | JavaScript | 540 lines
142 extraParams += "&culture=" + encodeURIComponent(Ext.getCmp('microbial_culture').getValue()); 143 extraParams += "&media=" + encodeURIComponent(Ext.getCmp('microbial_media').getValue()); 144 extraParams += "&vessel=" + encodeURIComponent(Ext.getCmp('microbial_vessel').getValue()); 151 extraParams += "&gastype=" + encodeURIComponent(Ext.getCmp('microbial_gastype').getValue()); 152 extraParams += "&flowrate=" + encodeURIComponent(Ext.getCmp('microbial_flowrate').getValue()); 153 extraParams += "&delivery=" + encodeURIComponent(Ext.getCmp('microbial_delivery').getValue()); 155 case 2: 156 extraParams = "&development_stage=" + encodeURIComponent(Ext.getCmp('plant_development_stage').getValue()); 157 break; 158 case 3: 159 extraParams = "&sex=" + encodeURIComponent(Ext.getCmp('animalGender').getValue()); 160 extraParams += "&age=" + encodeURIComponent(Ext.getCmp('animalAge').getValue()); 177 //this request should ask the server to rejig the single biosource that we currently permit 178 var saver = new Ajax.Request(wsBaseUrl + 'updateSingleSource/'+expId+'/?type='+encodeURIComponent(sourceType)+'&information='+encodeURIComponent(sourceInfo)+'&ncbi_id='+encodeURIComponent(sourceNCBI)+extraParams, 179 {base.js https://hg01.codeplex.com/orchard | JavaScript | 314 lines
297 var secure = options.secure ? '; secure' : ''; 298 document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 299 } else { // only name given, get cookiesammy.js git://github.com/quirkey/sammy.git | JavaScript | 2156 lines
27 _decode = function( str ) { return decodeURIComponent((str || '').replace(/\+/g, ' ')); }, 28 _encode = encodeURIComponent, 29 _escapeHTML = function(s) {qunit.js git://github.com/quirkey/sammy.git | JavaScript | 1045 lines
205 if ( window.location ) { 206 window.location.search = encodeURIComponent(text); 207 }amp.js http://mpdwebamp.googlecode.com/svn/trunk/ | JavaScript | 740 lines
75} 76function esc(s){return encodeURIComponent(s)} 77function isDigit(num) {futon.js git://github.com/cloudant/bigcouch.git | JavaScript | 535 lines
200 if (userCtx.name) { 201 $("#userCtx .name").text(userCtx.name).attr({href : $.couch.urlPrefix + "/_utils/document.html?"+encodeURIComponent(r.info.authentication_db)+"/org.couchdb.user%3A"+encodeURIComponent(userCtx.name)}); 202 if (userCtx.roles.indexOf("_admin") != -1) { 272 if (name) { 273 name = encodeURIComponent(name); 274 $("#dbs").append("<li>" +futon.browse.js git://github.com/cloudant/bigcouch.git | JavaScript | 1289 lines
32 success: function(resp) { 33 location.href = "database.html?" + encodeURIComponent(data.name); 34 callback(); 54 $("#databases tbody.content").append("<tr>" + 55 "<th><a href='database.html?" + encodeURIComponent(dbName) + "'>" + 56 dbName + "</a></th>" + 123 this.redirecting = true; 124 location.href = "database.html?" + encodeURIComponent(dbName) + 125 "/" + encodeURIComponent(viewName); 145 this.newDocument = function() { 146 location.href = "document.html?" + encodeURIComponent(db.name); 147 } 380 var path = $.couch.encodeDocId(doc._id) + "/_view/" + 381 encodeURIComponent(viewNames[j]); 382 var option = $(document.createElement("option"))couch.js git://github.com/cloudant/bigcouch.git | JavaScript | 473 lines
17 this.name = name; 18 this.uri = "/" + encodeURIComponent(name) + "/"; 19 53 this.last_req = this.request("PUT", this.uri + 54 encodeURIComponent(doc._id) + encodeOptions(options), 55 {body: JSON.stringify(doc)}); 63 this.open = function(docId, options) { 64 this.last_req = this.request("GET", this.uri + encodeURIComponent(docId) 65 + encodeOptions(options)); 74 this.deleteDoc = function(doc) { 75 this.last_req = this.request("DELETE", this.uri + encodeURIComponent(doc._id) 76 + "?rev=" + doc._rev); 277 } 278 buf.push(encodeURIComponent(name) + "=" + encodeURIComponent(value)); 279 }jquery.couch.js git://github.com/cloudant/bigcouch.git | JavaScript | 705 lines
19 parts.shift(); 20 return "_design/" + encodeURIComponent(parts.join('/')); 21 } 21 } 22 return encodeURIComponent(docID); 23 }; 47 if (section) { 48 req.url += encodeURIComponent(section) + "/"; 49 if (option) { 49 if (option) { 50 req.url += encodeURIComponent(option); 51 } 185 name: name, 186 uri: this.urlPrefix + "/" + encodeURIComponent(name) + "/", 187tests.py https://bitbucket.org/mirror/django/ | Python | 545 lines
230 # should encode special chars except ~!*()' 231 # like encodeURIComponent() JavaScript function do 232 self.assertEqual(self.storage.url(r"""~!*()'@#$%^&*abc`+=.file"""),storage.js https://code.google.com/p/pageforest/ | JavaScript | 623 lines
37 if (value != undefined) { 38 this.params.push(key + '=' + encodeURIComponent(value)); 39 }FastTags.java git://github.com/playframework/play.git | Java | 489 lines
69 if (args.containsKey("encodeURI") && Boolean.TRUE.equals(Boolean.valueOf(args.get("encodeURI").toString()))) { 70 html += "val = encodeURIComponent(val.replace('&', '&'));" + minimize; 71 } 75 } 76 html += "pattern = pattern.replace(':' + encodeURIComponent(key), ( (val===undefined || val===null)?'': val));" + minimize; 77 html += "}" + minimize;lib.twitterapi.js https://code.google.com/p/hotot/ | JavaScript | 624 lines
139 for (var k in params) { 140 arr.push(encodeURIComponent(k) 141 + '=' 141 + '=' 142 + encodeURIComponent(params[k])); 143 }entries_controller.js http://f-it.googlecode.com/svn/trunk/ | JavaScript | 406 lines
13 return $("#entries").find("."+( 14 typeof entry == "string" ? "entry_"+ encodeURIComponent( entry ) : entry.identity() ).replace(r, function(s){return "\\"+s})); 15 },entry.js https://code.google.com/p/hotot/ | JavaScript | 301 lines
129 var _requset = function (i) { 130 var req_url = ext.HototShortUrl.service_url + encodeURIComponent(urls[i]); 131 procs.push(function () {flint.mobile.js https://bitbucket.org/seezoo/seezoo/ | JavaScript | 6102 lines
85 mp = Math.pow, 86 enc = win.encodeURIComponent, 87 dec = win.decodeURIComponent,org-protocol.el git://github.com/typester/emacs.git | Emacs Lisp | 679 lines
99;; location.href='org-protocol://sub-protocol://'+ 100;; encodeURIComponent(location.href)+'/'+ 101;; encodeURIComponent(document.title)+'/'+ 101;; encodeURIComponent(document.title)+'/'+ 102;; encodeURIComponent(window.getSelection()) 103;; 302 "Unhex hexified unicode strings as returned from the JavaScript function 303encodeURIComponent. E.g. `%C3%B6' is the german Umlaut `ü'." 304 (setq str (or str ""))ext-prototype-adapter.js http://extjs-gtheme.googlecode.com/svn/trunk/ | JavaScript | 75 lines
14var F=function(){},sbp,spp=sp.prototype;F.prototype=spp;sbp=sb.prototype=new F();sbp.constructor=sb;sb.superclass=spp;if(spp.constructor==oc){spp.constructor=sp;} 15sb.override=function(o){Ext.override(sb,o);};sbp.superclass=sbp.supr=(function(){return spp;});sbp.override=io;Ext.override(sb,overrides);sb.extend=function(o){Ext.extend(sb,o);};return sb;};}(),override:function(origclass,overrides){if(overrides){var p=origclass.prototype;Ext.apply(p,overrides);if(Ext.isIE&&overrides.toString!=origclass.toString){p.toString=overrides.toString;}}},namespace:function(){var o,d;Ext.each(arguments,function(v){d=v.split(".");o=window[d[0]]=window[d[0]]||{};Ext.each(d.slice(1),function(v2){o=o[v2]=o[v2]||{};});});return o;},urlEncode:function(o,pre){var undef,buf=[],key,e=encodeURIComponent;for(key in o){undef=typeof o[key]=='undefined';Ext.each(undef?key:o[key],function(val,i){buf.push("&",e(key),"=",(val!=key||!undef)?e(val):"");});} 16if(!pre){buf.shift();pre="";}gist.vim git://github.com/c9s/Vimana.git | Vim Script | 663 lines
318 let squery = printf(join(query, '&'), 319 \ s:encodeURIComponent(ext), s:encodeURIComponent(ext), 320 \ s:encodeURIComponent(ext), s:encodeURIComponent(name), 320 \ s:encodeURIComponent(ext), s:encodeURIComponent(name), 321 \ s:encodeURIComponent(ext), s:encodeURIComponent(a:content), 322 \ s:encodeURIComponent(a:user), 322 \ s:encodeURIComponent(a:user), 323 \ s:encodeURIComponent(a:token)) 324 unlet query 351 let squery = printf(join(query, '&'), 352 \ s:encodeURIComponent(a:user), 353 \ s:encodeURIComponent(a:password)) 465 let squery = printf(join(query, '&'), 466 \ s:encodeURIComponent(ext), 467 \ s:encodeURIComponent(name),msgpack.coffee git://github.com/devongovett/coffeepack.git | CoffeeScript | 388 lines
135 # http://ecmanaut.blogspot.com/2006/07/encoding-decoding-utf8-in-javascript.html 136 val = unescape(encodeURIComponent(val)) 137 size = val.lengthxhr.js http://firephp.googlecode.com/svn/trunk/ | JavaScript | 0 lines
100 // FIXME: need to implement encodeAscii!! 101 var enc = encodeURIComponent; 102 var pairs = [];browser.js git://github.com/octo/collectd.git | JavaScript | 790 lines
182 if (host != '/' && plugin != '/') { 183 var query = 'action=list_pinsts&host='+encodeURIComponent(host)+'&plugin='+encodeURIComponent(plugin); 184 loadXMLDoc(dhtml_url, query); 208 if (host != '/' && plugin != '/' && pinst != '/') { 209 var query = 'action=list_types&host='+encodeURIComponent(host)+'&plugin='+encodeURIComponent(plugin)+'&plugin_instance='+encodeURIComponent(pinst); 210 loadXMLDoc(dhtml_url, query); 236 if (host != '/' && plugin != '/' && pinst != '/' && type != '/') { 237 var query = 'action=list_tinsts&host='+encodeURIComponent(host)+'&plugin='+encodeURIComponent(plugin)+'&plugin_instance='+encodeURIComponent(pinst)+'&type='+encodeURIComponent(type); 238 loadXMLDoc(dhtml_url, query); 302 if (host[0] == '@' || plugin[0] == '@' || pinst[0] == '@' || type[0] == '@' || (tinst[0] == '@' && tinst.substr(0, 5) != '@merge')) { 303 var query = 'action=list_graphs&host='+encodeURIComponent(host)+'&plugin='+encodeURIComponent(plugin)+'&plugin_instance='+encodeURIComponent(pinst); 304 query = query+'&type='+encodeURIComponent(type)+'&type_instance='+encodeURIComponent(tinst)+'×pan='+encodeURIComponent(timespan); 326 var graph_id = 'graph_'+nextGraphId++; 327 var graph_src = graph_url+'?host='+encodeURIComponent(host)+'&plugin='+encodeURIComponent(plugin)+'&plugin_instance='+encodeURIComponent(pinst)+'&type='+encodeURIComponent(type); 328 var graph_alt = '';database.js http://simile-widgets.googlecode.com/svn/ | JavaScript | 734 lines
94 typeEntry.uri : 95 (baseURI + "type#" + encodeURIComponent(typeID)); 96 type._label = ("label" in typeEntry) ? 131 132 property._uri = ("uri" in propertyEntry) ? propertyEntry.uri : (baseURI + "property#" + encodeURIComponent(propertyID)); 133 property._valueType = ("valueType" in propertyEntry) ? propertyEntry.valueType : "text"; 281 var id = ("id" in itemEntry) ? itemEntry.id : label; 282 var uri = ("uri" in itemEntry) ? itemEntry.uri : (baseURI + "item#" + encodeURIComponent(id)); 283 var type = ("type" in itemEntry) ? itemEntry.type : "Item"; 313 314 type._uri = baseURI + "type#" + encodeURIComponent(typeID); 315 type._label = typeID; 325 326 property._uri = baseURI + "property#" + encodeURIComponent(propertyID); 327 property._valueType = "text";load-suite.js http://jsi.googlecode.com/svn/trunk/ | JavaScript | 135 lines
52 this.showLoading(path,type) 53 var src = scriptBase+"loader.html?path="+encodeURIComponent(path) + '&type='+type+'&id='+this.id; 54 window.open(src,"loader");url_utils.cpp git://github.com/appcelerator/kroll.git | C++ | 377 lines
67 68 std::string EncodeURIComponent(std::string src) 69 { 187#endif 188 piece = EncodeURIComponent(piece); 189xip_server.html http://mb-unit.googlecode.com/svn/trunk/ | HTML | 379 lines
258 } 259 result += param + "=" + encodeURIComponent(response[param]); 260 } 355 document.getElementById("iframeHolder").innerHTML = '<iframe src="' 356 + makeClientUrl("init", 'id=' + xipStateId + '&server=' + encodeURIComponent(serverUrl) 357 + '&fr=endpoint') + '" name="' + xipStateId + '_clientEndPoint"></iframe>';views_stylesheets.js https://bitbucket.org/scope/dragonfly-stp-1/ | JavaScript | 0 lines
34 } 35 //window.open('data:text/plain;charset=utf-8,'+encodeURIComponent(container.innerHTML)) 36 }Network_HTTPClient.js git://github.com/appcelerator/titanium_desktop.git | JavaScript | 626 lines
71 { 72 var foo = Titanium.Network.encodeURIComponent(null); 73 value_of(foo).should_be(''); 74 75 foo = Titanium.Network.encodeURIComponent(''); 76 value_of(foo).should_be(''); 77 78 foo = Titanium.Network.encodeURIComponent('a'); 79 value_of(foo).should_be('a'); 89 90 foo = Titanium.Network.encodeURIComponent('a b'); 91 value_of(foo).should_be('a%20b');semanticdb-javascript.el git://github.com/spastorino/my_emacs_for_rails.git | Emacs Lisp | 315 lines
76 nil nil) 77 ("encodeURIComponent" function 78 (:arguments 311;; function encodeURI (uri){} 312;; function encodeURIComponent (uriComponent){} 313database.js http://simile-widgets.googlecode.com/svn/ | JavaScript | 1299 lines
254 if (!("uri" in type._custom)) { 255 type._custom["uri"] = baseURI + "type#" + encodeURIComponent(typeID); 256 } 295 296 property._uri = ("uri" in propertyEntry) ? propertyEntry.uri : (baseURI + "property#" + encodeURIComponent(propertyID)); 297 property._valueType = ("valueType" in propertyEntry) ? propertyEntry.valueType : "text";exhibit.js http://simile-widgets.googlecode.com/svn/ | JavaScript | 528 lines
51 if (window.confirm(message + "\n\n" + Exhibit.l10n.showJavascriptValidationMessage)) { 52 window.open(Exhibit.validator + "?expresson=" + encodeURIComponent(expression), target); 53 } 350 351 return Exhibit.getURLWithoutQuery() + "?exhibit-state=" + encodeURIComponent(stateString); 352}; 354Exhibit._Impl.prototype.getItemLink = function(itemID) { 355 return Exhibit.getURLWithoutQueryAndHash() + "#" + encodeURIComponent(itemID); 356};exhibit.js http://simile-widgets.googlecode.com/svn/ | JavaScript | 730 lines
102 if (window.confirm(message + "\n\n" + Exhibit.l10n.showJavascriptValidationMessage)) { 103 window.open(Exhibit.validator + "?expresson=" + encodeURIComponent(expression), target); 104 } 248 249 return Exhibit._getURLWithoutQuery() + "?exhibit-state=" + encodeURIComponent(stateString); 250}; 252Exhibit._Impl.prototype.getItemLink = function(itemID) { 253 return Exhibit._getURLWithoutQueryAndHash() + "#" + encodeURIComponent(itemID); 254};ui.js http://simile-widgets.googlecode.com/svn/ | JavaScript | 509 lines
188 if (window.confirm(message + "\n\n" + Exhibit.l10n.showJavascriptValidationMessage)) { 189 window.open(Exhibit.UI.validator + "?expresson=" + encodeURIComponent(expression), target); 190 }database.js http://simile-widgets.googlecode.com/svn/ | JavaScript | 936 lines
174 if (!("uri" in type._custom)) { 175 type._custom["uri"] = baseURI + "type#" + encodeURIComponent(typeID); 176 } 215 216 property._uri = ("uri" in propertyEntry) ? propertyEntry.uri : (baseURI + "property#" + encodeURIComponent(propertyID)); 217 property._valueType = ("valueType" in propertyEntry) ? propertyEntry.valueType : "text"; 374 var id = ("id" in itemEntry) ? itemEntry.id : label; 375 var uri = ("uri" in itemEntry) ? itemEntry.uri : (baseURI + "item#" + encodeURIComponent(id)); 376 var type = ("type" in itemEntry) ? itemEntry.type : "Item"; 425 426 type._custom["uri"] = baseURI + "type#" + encodeURIComponent(typeID); 427 type._custom["label"] = typeID;OAuthConsumer.java http://socialauth.googlecode.com/svn/trunk/ | Java | 638 lines
119 } 120 String key = HttpUtil.encodeURIComponent(config.get_consumerSecret()) 121 + "&"; 122 if (token != null && token.getSecret() != null) { 123 key += HttpUtil.encodeURIComponent(token.getSecret()); 124 } 133 134 String data = HttpUtil.encodeURIComponent(method) + "&" 135 + HttpUtil.encodeURIComponent(url) + "&" 135 + HttpUtil.encodeURIComponent(url) + "&" 136 + HttpUtil.encodeURIComponent(HttpUtil.buildParams(args)); 137 LOG.debug("Signature data : " + data);search8-bottom.js http://cmssource.googlecode.com/svn/trunk/ | JavaScript | 6 lines
1/*tbww2_v1.1_srp.js*/ 2TB.namespace("ww");(function(){var e=YAHOO.util,c=e.Dom,t=e.Event,i=e.Lang;var n="J_WangWangScript";var s=/tbww_v1.1(\.source)?\.js(\??[^#]*)/;var p="http://web2.im.alisoft.com";var h="http://amos.im.alisoft.com";var f="http://webwwtb.im.alisoft.com";var j="http://a.tbcdn.cn";var m=h+"/muliuserstatus.aw?beginnum=0&site=cntaobao&charset=utf-8&uids=";var o=h+"/online.aw?v=2&site=cntaobao&charset=utf-8&uid=";var l=p+"/GetData/GetTribeInfoByKeywords?site=cntaobao&v=2";var d=p+"/GetData/GetTribeInfoByUid?site=cntaobao&v=2";var b=j+"/sys/wangwang/website.js?t=20090319.js";var q="chrome://wangwangapi/content/api.js";window.online=[];window.tracenick=window.tracenick||"";window.clearWW=function(){var u=c.get("webWWFrame");if(u){u.parentNode.removeChild(u)}};var a="\u70b9\u6b64\u53ef\u4ee5\u76f4\u63a5\u548c\u5356\u5bb6\n\u4ea4\u6d41\u9009\u597d\u7684\u5b9d\u8d1d\uff0c\u6216\n\u76f8\u4e92\u4ea4\u6d41\u7f51\u8d2d\u4f53\u9a8c\uff0c\n\u8fd8\u652f\u6301\u8bed\u97f3\u89c6\u9891\u5662\u3002";var g=100;var r={};r.installed=false;r.version="";r._onStatusDataLoadEvent=new e.CustomEvent("statusDataLoad",r,false,e.CustomEvent.FLAT);r.light=function(v,u){var w=r.getParamsFromData(v);v.appendChild(r._buildWWLink(w,u))};r.lightByIcon=function(u,w){var z=r.getParamsFromData(u);var y=o+encodeURIComponent(z.nick);y+="&s="+((z.icon&&z.icon.toLowerCase()=="small")?2:1);if(z&&z.nick){var v='<img src="'+y+'" border="0" />';var x=r._buildWWLink(z);x.innerHTML=v;u.innerHTML="";u.appendChild(x)}};r.getParamsFromData=function(u){var v={};if(c.hasClass(u,"J_WangWang")){v.nick=u.getAttribute("data-nick");if(u.getAttribute("data-item")){v.item=u.getAttribute("data-item")}v.display=u.getAttribute("data-display");v.icon=u.getAttribute("data-icon");if(!v.tnick){v.tnick=v.nick}}else{if(c.hasClass(u,"ww:token")){v=u.getAttribute("ww:params").toQueryParams()}}i.augmentObject(v,r._scriptParams,false);return v};r._buildWWLink=function(x,y){var B=x.icon?x.icon.toLowerCase():"large";var z=x.display?x.display.toLowerCase():"block";var u=x.nick||"";var D=x.tnick||"";var C=x.item||window._item||"";var w=x.oid||"";var A=document.createElement("a");A.href="javascript: void(0);";A.setAttribute("target","_blank");if(y==1){c.addClass(A,"ww-online");A.title=a;A.innerHTML="<span>\u65fa\u65fa\u5728\u7ebf</span>"}else{if(y==4||y==5){c.addClass(A,"ww-mobile");A.innerHTML="<span>\u624b\u673a\u5728\u7ebf</span>"}else{if(y==0||y==2||y==3||y==6){c.addClass(A,"ww-offline");A.innerHTML="<span>\u65fa\u65fa\u79bb\u7ebf</span>"}}}if(typeof y!="undefined"){c.addClass(A,"ww-"+B);c.addClass(A,"ww-"+z)}if(r.installed){if(window.onlinewangWangSend){A.onclick=function(){var E="nick="+u+"&uid_t="+D+"&status="+y+"&gid="+C+"&suid="+window.tracenick;if(w){E+="&oid="+w}onlinewangWangSend("cntaobao",window.tracenick,"cntaobao",u,y,E);return false}}else{if(YAHOO.env.ua.gecko){var v;if(r.installed&1){v="aliim:sendmsg?touid=cntaobao"+u+"&uid="+window.tracenick+"&gid="+C}else{if(r.installed&2){v="wangwang:SendIM?uid="+u+"&uid_t="+D+"&suid="+window.tracenick+"&gid="+C}else{if(r.installed&4){v="alitalk:SendIM?uid="+u+"&AliLoginID="+window.tracenick+"&gid="+C}}}A.target="_self";t.on(A,"click",function(E){window.location=v;t.preventDefault(E)})}}}else{A.target="_blank";A.href=f+"/wangwang/ww1.htm?t="+new Date().getTime()+"&uid="+escape(window.tracenick)+"&tid="+escape(u);if(YAHOO.env.ua.gecko){A.onclick=function(E){E.target.target="_blank";return true}}else{A.onclick=function(E){window.open(A.href,"","width=0,height=0,left=0,top=0,location=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,scrollbars=yes");return false}}}return A};r.login=function(v){if(i.isString(v)&&v.trim().length>1&&r.installed){try{var w="wangwang:login?suid="+v+"&autologin=1&auto=1";var u=window.frames.aliwangwangSendmsgShowFrame;if(!u){u=document.createElement("iframe");document.body.appendChild(u);iframe.setAttribute("target","_blank");iframe.setAttribute("src",w)}else{u.location=w}}catch(x){}}};r.talk=function(u,v){v=v||{};if(i.isString(u)&&u.trim().length>1&&r.installed){var w="nick="+u+"&suid="+window.tracenick;for(k in v){w+="&"+k+"="+v[k]}onlinewangWangSend("cntaobao",window.tracenick,"cntaobao",u,v.status||1,w)}};r.loadTribes=function(u){var w="";if(u.keywords){w=l+"&keywords="+u.keywords}else{if(u.uid){w=d+"&uid="+u.uid+"&type="+u.type}else{return}}if(u.count){w+="&count="+u.count}var v=c.generateId(null,"tribe");window["display_"+v]=function(){u.callback(window[v+"Obj"])};w+="&name="+v;var x=(document.charset||document.characterSet).toLowerCase();e.Get.script(w,{onSuccess:function(){},varName:v+"Obj",charset:x})};r.buildTribeLink=function(x,w){var u=w;if(w.length>9){u=w.substr(0,7)+"..."}var y="http://www2.im.alisoft.com/webim/tribe/tribe_detail.htm?userId=cntaobao&tribeId="+x;var v="window.open('"+y+"', '_blank', 'height=400, width=500, top=60, left=150, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no'); return false;";return'<a href="#" onclick="'+v+'" target="_blank" title="'+w+'">'+u+"</a>"};r._statusMap={};r.lightAll=function(F,J){if(J){this._scriptParams=i.merge(this._scriptParams,J)}var G=c.getElementsByClassName("ww:token","span",c.get(F));var I=c.getElementsByClassName("J_WangWang","span",c.get(F));G=G.concat(I);if(G.length==0){return}var B=[],O,N;for(var K=0;K<G.length;K++){N=r.getParamsFromData(G[K]);O=N.nick||"";G[K].setAttribute("ww:nick",O);B.push(O)}var z=function(R){var S=R.data.nicks,Q=R.data.tokens;for(var P=0;P<S.length;P++){r._statusMap[S[P]]=window.online[P]}r._onStatusDataLoadEvent.fire(Q);if(r.doAfterStatusDataLoad){r.doAfterStatusDataLoad(window.online||[])}window.online.length=0;if(R.data.next){R.data.next()}};var A=function(Q,S,R){var P=m;P+=encodeURIComponent(Q.join(";"));e.Get.script(P,{onSuccess:z,varName:"online",data:{tokens:S,nicks:Q,next:R},charset:"utf-8"})};var v=1800;var u=[];var w=[];var D="",C=0,E=0;for(var H=0,L=B.length;H<L;++H){if(x(D+B[H])||H>g-1||H==L-1){var y=(H==L-1)?L:H;u[E]=B.slice(C,y);w[E]=G.slice(C,y);D="";C=H;E++}D+=B[H]+";"}M(0);function M(P){A(u[P],w[P],function(){E--;if(E){M(P+1)}})}function x(P){if(YAHOO.env.ua.ie){return encodeURIComponent(P).length>v}return false}};r._autoLight=function(){r.lightAll(document.body)};r._init=function(){var u=document.getElementsByTagName("script"),w=u[u.length-1],v=/trident\/\d/i.test(navigator.userAgent)?"":"*background-image:url(http://a.tbcdn.cn/sys/wangwang/wangwang_v2.gif) !important;",z=".ww-online,.ww-offline,.ww-mobile{background-image:url(data:image/gif;base64,R0lGODlhZAA8APf/AJ3J4v3IBFrH6dvj67fJ2OXl5Xjk+KGhoZzS6v/3uv/wmfb29nqcuf7mp1RUVP7kcIiowpTE35OTk3q51v7QblSDqfrqlq2trUK13W/O50q942rY8//31VW74Bt4q87Ozv+pOTx4inNzc1uw0ZqzyHvR59LS0v64OTiaxVN3jKWlperq6rm5ub29vTt6psp0Nv7HSv+bOW1tbcnJyTWp1rS0tLGxseLi4tTn9NPc5QB20k59pdz7/NbW1p/0/sTExIiVavarD4OjveXr8Ym72v/yqeP7/pmZmf7kbUyWxKW7zgQHCObm5jVPU9nZ2WeivcL3/Wur0u/v74Xw/6nI3prG4P7VcI2Njf/0sP7acPDw8F6CkYS83cv6/ujo6MHBwd/f3/qmU6mpqdzc3P7TS4mJif+zT6j2/iKXyv////7abv/3z56enr76/8DAwPz9/f7dS2TR7VuOsvLy8v/COfG8cpLM5f7kX+zx9d7e3nLe83t7e/n6+muQsvT2+cbGxmmOr//0otL2+7T2/f/vsdHJfLX6/5SuxI/0//7LVUWjzcaRVXOSqpygbv/3w/7mff/0x9SOGoKCgoPu/Iry///3yYZiRv/TXP/0v5t7N/7aOv/20f/zv/zqh+Hn7n+hvGKat/+iRv/IORBVhf7mivX19f7jivT09P7piv7siv7uiv7giv7dkP/5y+3t7QDB76ba6JDy/8zl83CaunSu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fRB/NiP/nhBJjGPC9RAAxEQACH5BAkUAP8ALAAAAABkADwAAAj/AP8JHEiwoMGDCBMqXMiwocOHECNKnNjQGgRABG5R3MjRoUWMGhvi2YEMY5qOKFMSHFastreeview_packed.js http://astreeview.googlecode.com/svn/trunk/ | JavaScript | 397 lines
4_rdc.AjaxHelper.ajax=function(url){this.xmlhttp=null;this.resetData=function(){this.method="POST";this.queryStringSeparator="?";this.argumentSeparator="&";this.URLString="";this.encodeURIString=true;this.execute=false;this.element=null;this.elementObj=null;this.requestFile=url;this.vars=new Object();this.responseStatus=new Array(2);};this.resetFunctions=function(){this.onLoading=function(){};this.onLoaded=function(){};this.onInteractive=function(){};this.onCompletion=function(){};this.onError=function(){};this.onFail=function(){};};this.reset=function(){this.resetFunctions();this.resetData();};this.createAJAX=function(){try{this.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e1){try{this.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e2){this.xmlhttp=null;}} 5if(!this.xmlhttp){if(typeof XMLHttpRequest!="undefined"){this.xmlhttp=new XMLHttpRequest();}else{this.failed=true;}}};this.setVar=function(name,value){this.vars[name]=Array(value,false);};this.encVar=function(name,value,returnvars){if(true==returnvars){return Array(encodeURIComponent(name),encodeURIComponent(value));}else{this.vars[encodeURIComponent(name)]=Array(encodeURIComponent(value),true);}} 6this.processURLString=function(string,encode){encoded=encodeURIComponent(this.argumentSeparator);regexp=new RegExp(this.argumentSeparator+"|"+encoded);varArray=string.split(regexp);for(i=0;i<varArray.length;i++){urlVars=varArray[i].split("=");if(true==encode){this.encVar(urlVars[0],urlVars[1]);}else{this.setVar(urlVars[0],urlVars[1]);}}}qunit.js git://github.com/bcardarella/client_side_validations.git | JavaScript | 1375 lines
163 if ( window.location && target.nodeName.toLowerCase() === "strong" ) { 164 window.location.search = "?" + encodeURIComponent(getText([target]).replace(/\(.+\)$/, "").replace(/(^\s*|\s*$)/g, "")); 165 }performance.js git://github.com/yui/yui3.git | JavaScript | 0 lines
215 if (/^https?:\/\//.test(url)) { 216 url = XDR_PROXY_URL.replace('{url}', encodeURIComponent(url)); 217 }cookie.html git://github.com/yui/yui3.git | HTML | 1550 lines
136 var cookieValue = "123"; 137 var cookieString = encodeURIComponent(cookieName) + "=" + encodeURIComponent(cookieValue); 138 var cookies = Y.Cookie._parseCookieString(cookieString); 210 var cookieValue = "123"; 211 var cookieHash = encodeURIComponent(cookieName) + "=" + encodeURIComponent(cookieValue); 212 var hash = Y.Cookie._parseCookieHash(cookieHash);app-test.js git://github.com/yui/yui3.git | JavaScript | 0 lines
289 290 Assert.areSame(encodeURIComponent(value), model.getAsURL('foo')); 291 },AutoSuggestBox.js git://github.com/royriojas/Clave-Projects.git | JavaScript | 652 lines
163 sUrl=this.msResourcesDir + 164 "/GetAutoSuggestData.aspx?TextBoxID=" + encodeURIComponent(this.msTextBoxID) + 165 "&MenuDivID=" + encodeURIComponent(this.msMenuDivID) + 165 "&MenuDivID=" + encodeURIComponent(this.msMenuDivID) + 166 "&DataType=" + encodeURIComponent(this.msDataType) + 167 "&NumMenuItems=" + this.mnNumMenuItems + 168 "&IncludeMoreMenuItem=" + this.mbIncludeMoreMenuItem + 169 "&MoreMenuItemLabel=" + encodeURIComponent(this.msMoreMenuItemLabel) + 170 "&MenuItemCSSClass=" + encodeURIComponent(this.msMenuItemCSSClass) + 170 "&MenuItemCSSClass=" + encodeURIComponent(this.msMenuItemCSSClass) + 171 "&Keyword=" + encodeURIComponent(sValue) + 172 172 173 "&Filters=" + encodeURIComponent(this.msFilters) + 174 "&WarnNoValueSelected=" + encodeURIComponent(this.msWarnNoValueSelected) +linkedin.js http://share-extras.googlecode.com/svn/trunk/ | JavaScript | 703 lines
121 endpointId: "linkedin", 122 requestTokenCallbackUri: window.location.href + "?cmpt_htmlid=" + encodeURIComponent(this.id), 123 requestTokenPath: "/uas/oauth/requestToken",video-preview.js http://share-extras.googlecode.com/svn/trunk/ | JavaScript | 0 lines
126 { 127 variablePairs[variablePairs.length] = key + "=" + encodeURIComponent(variables[key]); 128 } 397 this.widgets.realSwfDivEl.addClass("no-content"); 398 var url = Alfresco.constants.PROXY_URI + "api/node/content/" + this.options.nodeRef.replace(":/", "") + "/" + encodeURIComponent(this.audio-preview.js http://share-extras.googlecode.com/svn/trunk/ | JavaScript | 0 lines
124 { 125 variablePairs[variablePairs.length] = key + "=" + encodeURIComponent(variables[key]); 126 } 382 this.widgets.realSwfDivEl.addClass("no-content"); 383 var url = Alfresco.constants.PROXY_URI + "api/node/content/" + this.options.nodeRef.replace(":/", "") + "/" + encodeURIComponent(this.options.name) + "?a=true"; 384 this.widgets.swfPlayerMessage.innerHTML = this.msg("label.noAudioAvailable", url);twitter-search.js http://share-extras.googlecode.com/svn/trunk/ | JavaScript | 741 lines
214 // Update the dashlet title 215 this.title.innerHTML = this.msg("header.search", encodeURIComponent(this._getSearchTerm()), this._getSearchTerm()); 216 260 // Update the dashlet title 261 this.title.innerHTML = this.msg("header.search", encodeURIComponent(this._getSearchTerm()), this._getSearchTerm()); 262 425 var html = "", 426 profileUri = "http://twitter.com/" + encodeURIComponent(t.from_user), 427 userLink = "<a href=\"" + profileUri + "\" title=\"" + $html(t.from_user) + "\" class=\"theme-color-1\">" + $html(t.from_user) + "</a>", 430 postedOn = postedMatch != null ? (postedMatch[1] + ", " + postedMatch[3] + " " + postedMatch[2] + " " + postedMatch[6] + " " + postedMatch[4] + " GMT" + postedMatch[5]) : (t.created_at), 431 postedLink = "<a href=\"" + profileUri + "\/status\/" + encodeURIComponent(t.id_str) + "\"><span class=\"tweet-date\" title=\"" + postedOn + "\">" + this._relativeTime(new Date(postedOn)) + "</span><\/a>"; 432SvcHelper.js https://hg01.codeplex.com/sitenote | JavaScript | 1221 lines
58 59 post = "documentUri=" + encodeURIComponent(documentUri) + "&schemaUri=" + encodeURIComponent(schemaUri) + "&bForceInitialization=" + bForceInitialization; 60 //alert('ici'); 129 130 post = "documentId=" + encodeURIComponent(documentId); 131 this.xmlHttp.Open("POST", this.serviceUrl + '/GetXmlDocument', false); 197 198 post = "documentId=" + encodeURIComponent(documentId); 199 this.xmlHttp.Open("POST", this.serviceUrl + '/ReloadDocument', false); 265 266 post = "uri=" + encodeURIComponent(uri); 267 this.xmlHttp.Open("POST", this.serviceUrl + '/GetXsltDocument', false); 334 335 post = "uri=" + encodeURIComponent(uri); 336 this.xmlHttp.Open("POST", this.serviceUrl + '/GetXmlLabel', false);Tree.js https://hg01.codeplex.com/sitenote | JavaScript | 641 lines
341 { 342 post = "parentID=" + encodeURIComponent(parentID) + "¶m=" + xmlParam; 343 }Wizard.js https://hg01.codeplex.com/sitenote | JavaScript | 2763 lines
327 { 328 post = "context=" + encodeURIComponent(this.contextDocument.xml); 329jquery.sammy.js git://github.com/apache/lucene-solr.git | JavaScript | 1841 lines
15 _decode = decodeURIComponent, 16 _encode = encodeURIComponent, 17 _escapeHTML = function(s) {Env.hx git://github.com/tomtera/stax.git | Haxe | 394 lines
40 41 public static function encodeURIComponent(uriComponent: DOMString): DOMString { 42 return untyped __js__("encodeURIComponent(uriComponent)");rewrite.js git://github.com/apache/couchdb.git | JavaScript | 478 lines
19 var db = new CouchDB(dbNames[i]); 20 var dbName = encodeURIComponent(dbNames[i]); 21 db.deleteDb();replication.js git://github.com/apache/couchdb.git | JavaScript | 1781 lines
113 function addAtt(db, doc, attName, attData, type) { 114 var uri = "/" + db.name + "/" + encodeURIComponent(doc._id) + "/" + attName; 115oauth.js git://github.com/apache/couchdb.git | JavaScript | 512 lines
86 } 87 s = encodeURIComponent(s); 88 // Now replace the values which encodeURIComponent doesn't do 88 // Now replace the values which encodeURIComponent doesn't do 89 // encodeURIComponent ignores: - _ . ! ~ * ' ( ) 90 // OAuth dictates the only ones you can ignore are: - _ . ~ 90 // OAuth dictates the only ones you can ignore are: - _ . ~ 91 // Source: http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Functions:encodeURIComponent 92 s = s.replace(/\!/g, "%21");futon.browse.js git://github.com/apache/couchdb.git | JavaScript | 1345 lines
64 success: function(resp) { 65 location.href = "database.html?" + encodeURIComponent(data.name); 66 callback(); 86 $("#databases tbody.content").append("<tr>" + 87 "<th><a href='database.html?" + encodeURIComponent(dbName) + "'>" + 88 dbName + "</a></th>" + 155 this.redirecting = true; 156 location.href = "database.html?" + encodeURIComponent(dbName) + 157 "/" + encodeURIComponent(viewName); 177 this.newDocument = function() { 178 location.href = "document.html?" + encodeURIComponent(db.name); 179 }couch.js git://github.com/apache/couchdb.git | JavaScript | 515 lines
17 this.name = name; 18 this.uri = "/" + encodeURIComponent(name) + "/"; 19 53 this.last_req = this.request("PUT", this.uri + 54 encodeURIComponent(doc._id) + encodeOptions(options), 55 {body: JSON.stringify(doc), headers: http_headers}); 63 this.open = function(docId, url_params, http_headers) { 64 this.last_req = this.request("GET", this.uri + encodeURIComponent(docId) 65 + encodeOptions(url_params), {headers:http_headers}); 74 this.deleteDoc = function(doc) { 75 this.last_req = this.request("DELETE", this.uri + encodeURIComponent(doc._id) 76 + "?rev=" + doc._rev); 277 } 278 buf.push(encodeURIComponent(name) + "=" + encodeURIComponent(value)); 279 }jquery.couch.js git://github.com/apache/couchdb.git | JavaScript | 1080 lines
48 parts.shift(); 49 return "_design/" + encodeURIComponent(parts.join('/')); 50 } 50 } 51 return encodeURIComponent(docID); 52 } 114 if (section) { 115 req.url += encodeURIComponent(section) + "/"; 116 if (option) { 116 if (option) { 117 req.url += encodeURIComponent(option); 118 } 283 name: name, 284 uri: this.urlPrefix + "/" + encodeURIComponent(name) + "/", 285wsc.js git://github.com/Ortus-Solutions/ContentBox.git | JavaScript | 67 lines
5(function(){function w(a){if(!a)throw"Languages-by-groups list are required for construct selectbox";var c=[],d="",f;for(f in a)for(var g in a[f]){var h=a[f][g];"en_US"==h?d=h:c.push(h)}c.sort();d&&c.unshift(d);return{getCurrentLangGroup:function(c){a:{for(var d in a)for(var f in a[d])if(f.toUpperCase()===c.toUpperCase()){c=d;break a}c=""}return c},setLangList:function(){var c={},d;for(d in a)for(var f in a[d])c[a[d][f]]=f;return c}()}}var e=function(){var a=function(a,b,f){var f=f||{},g=f.expires; 6if("number"==typeof g&&g){var h=new Date;h.setTime(h.getTime()+1E3*g);g=f.expires=h}g&&g.toUTCString&&(f.expires=g.toUTCString());var b=encodeURIComponent(b),a=a+"="+b,e;for(e in f)b=f[e],a+="; "+e,!0!==b&&(a+="="+b);document.cookie=a};return{postMessage:{init:function(a){document.addEventListener?window.addEventListener("message",a,!1):window.attachEvent("onmessage",a)},send:function(a){var b=a.fn||null,f=a.id||"",g=a.target||window,h=a.message||{id:f};"[object Object]"==Object.prototype.toString.call(a.message)&& 7(a.message.id||(a.message.id=f),h=a.message);a=window.JSON.stringify(h,b);g.postMessage(a,"*")}},hash:{create:function(){},parse:function(){}},cookie:{set:a,get:function(a){return(a=document.cookie.match(RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)")))?decodeURIComponent(a[1]):void 0},remove:function(c){a(c,"",{expires:-1})}}}}(),a=a||{};a.TextAreaNumber=null;a.load=!0;a.cmd={SpellTab:"spell",Thesaurus:"thes",GrammTab:"grammar"};a.dialog=null;a.optionNode=null;a.selectNode=Node_.coffee git://github.com/thingdom/node-neo4j.git | CoffeeScript | 325 lines
296 if version <= 1.4 297 encodedKey = encodeURIComponent key 298 encodedValue = encodeURIComponent valuejquery.mtgreet.js git://github.com/openmelody/melody.git | JavaScript | 178 lines
55 doc_url = doc_url.replace(/#.+/, ''); 56 url += 'return_url=' + encodeURIComponent(doc_url); 57 } 80 } else { 81 url += 'return_url=' + encodeURIComponent(doc_url); 82 } 103 } else { 104 url += 'return_url=' + encodeURIComponent(doc_url); 105 }search.js http://cia-vc.googlecode.com/svn/trunk/ | JavaScript | 467 lines
168 /* 169 * Must use encodeURIComponent() instead of escape(). escape() 170 * will try to encode text in latin-1 (or some other unspecified 171 * character set?) and it will emit %u1234-style escapes for other 172 * Unicode characters. encodeURIComponent() generates UTF-8 173 * url-encoded text, which is exactly what we want. 174 */ 175 var q = encodeURIComponent(query); 176datagathering.js https://code.google.com/p/ontowiki/ | JavaScript | 190 lines
25 if (e.which == 1) { 26 window.location = urlBase + 'resource/properties?r=' + encodeURIComponent($('#location_bar_input').val()); 27 } 32 if (evt.which == 13) { 33 window.location = urlBase + 'resource/properties?r=' + encodeURIComponent($('#location_bar_input').val()); 34 }user.js http://creative-portal.googlecode.com/svn/trunk/ | JavaScript | 82 lines
34 sd.disabled = true; 35 nv_ajax('post', nv_siteroot + 'index.php', nv_lang_variable + '=' + nv_sitelang + '&' + nv_name_variable + '=' + nv_module_name + '&' + nv_fc_variable + '=postcomment&id=' + id + '&checkss=' + newscheckss + '&name=' + commentname.value + '&email=' + commentemail.value + '&code=' + commentseccode.value + '&content=' + encodeURIComponent(commentcontent), '', 'nv_commment_result'); 36 }history.js git://github.com/pieter/gitx.git | JavaScript | 327 lines
96 for (var name in parameters) 97 params.push(encodeURIComponent(name) + "=" + encodeURIComponent(parameters[name])); 98 params = params.join("&");index.php https://bitbucket.org/chamilo/chamilo/ | PHP | 497 lines
77 if (wgCanonicalNamespace == 'Special' && wgCanonicalSpecialPageName == 'Search') { 78 var pageLink = '?search=' + encodeURIComponent(document.getElementById('searchText').value); 79 } else if (wgPageName == wgMainPageName) { 81 } else { 82 var pageLink = encodeURIComponent(wgPageName).replace('%2F','/').replace('%3A',':'); 83 }htmlRender.js http://desktopgadgets.googlecode.com/svn/trunk/ | JavaScript | 1514 lines
124 debug.trace("Using mobile page for request"); 125 loadUrl = this.mobileBase+encodeURIComponent(url); 126 }toplev.html http://bwsyq-dotnet-framework.googlecode.com/svn/ | HTML | 1848 lines
158 <p> 159 <a name="1121140" id="1121140"></a> <span class="sansserif">Decodes a URI which has been encoded with encodeURIComponent</span> 160 </p> 177 <td valign="top"> 178 <a name="1120238" id="1120238"></a> <span class="mono">encodeURIComponent</span> 179 <p>tests.js git://github.com/blueimp/jQuery-File-Upload.git | JavaScript | 0 lines
23 $.ajax({ 24 url: url + '?file=' + encodeURIComponent(file.name), 25 type: 'DELETE'link.js https://code.google.com/p/bilugcms/ | JavaScript | 1428 lines
348 paramValue ? 349 escapeSingleQuote( encodeURIComponent( email[ paramName ] ) ) 350 : '',plugin.js https://code.google.com/p/bilugcms/ | JavaScript | 503 lines
131 for ( var i in params ) 132 queryString.push( i + "=" + encodeURIComponent( params[ i ] ) ); 133 }C__Users_dhinshaw_workspace_voview-devel_src_javascript_voview_pkg.js.html http://voview.googlecode.com/svn/voview/trunk/ | HTML | 1181 lines
53<span class='line'> 46</span> </span><span class="WHIT"> </span><span class="COMM">// Need to use a proxy for downloading the table</span><span class="WHIT"> 54<span class='line'> 47</span> </span><span class="WHIT"> </span><span class="NAME">meVoview.votableUrl</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">proxy</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"?"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">encodeURIComponent</span><span class="PUNC">(</span><span class="NAME">meVoview.votableUrl</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT"> 55<span class='line'> 48</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">voview_pkg.js http://voview.googlecode.com/svn/voview/trunk/ | JavaScript | 1698 lines
88 // Need to use a proxy for downloading the table 89 meVoview.votableUrl = proxy + "?" + encodeURIComponent(meVoview.votableUrl); 90 }solace.js https://bitbucket.org/plurk/solace/ | JavaScript | 511 lines
38 document.location.href = Solace.URL_ROOT + 'login?next=' 39 + encodeURIComponent(document.location.href); 40 else if (response.message)org-protocol.el git://github.com/dakrone/dakrone-dotfiles.git | Lisp | 648 lines
103;; location.href='org-protocol://sub-protocol://'+ 104;; encodeURIComponent(location.href)+'/'+ 105;; encodeURIComponent(document.title)+'/'+ 105;; encodeURIComponent(document.title)+'/'+ 106;; encodeURIComponent(window.getSelection()) 107;; 367 javascript:location.href='org-protocol://store-link://'+ \\ 368 encodeURIComponent(location.href) 369 encodeURIComponent(document.title)+'/'+ \\ 370 371Don't use `escape()'! Use `encodeURIComponent()' instead. The title of the page 372could contain slashes and the location definitely will.gist.vim git://github.com/dakrone/dakrone-dotfiles.git | Vim Script | 769 lines
156 157function! s:encodeURIComponent(instr) 158 let instr = iconv(a:instr, &enc, "utf-8") 356 let squery = printf(join(query, '&'), 357 \ s:encodeURIComponent(ext), s:encodeURIComponent(ext), 358 \ s:encodeURIComponent(ext), s:encodeURIComponent(name), 358 \ s:encodeURIComponent(ext), s:encodeURIComponent(name), 359 \ s:encodeURIComponent(ext), s:encodeURIComponent(a:content), 360 \ s:encodeURIComponent(a:user), 360 \ s:encodeURIComponent(a:user), 361 \ s:encodeURIComponent(a:token)) 362 unlet query 412 let squery = printf(join(query, '&'), 413 \ s:encodeURIComponent(token), 414 \ s:encodeURIComponent(a:user),inject.js git://github.com/jquery/testswarm.git | JavaScript | 544 lines
124 for ( key in params ) { 125 query += ( query ? "&" : "" ) + key + "=" + encodeURIComponent( params[key] ); 126 }template.php git://github.com/kohana/userguide.git | PHP | 112 lines
102 if(links[i].href.indexOf('#disqus_thread') >= 0) { 103 query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; 104 }Analytics.cpp git://github.com/appcelerator/titanium_desktop.git | C++ | 190 lines
43 url.append("="); 44 url.append(URLUtils::EncodeURIComponent(value)); 45}database.html git://github.com/cloudant/bigcouch.git | HTML | 267 lines
43 viewPath = $.map(viewPath.split("/"), function (part) { 44 return encodeURIComponent(part); 45 }).join("/"); 46 47 $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) + 48 "/" + viewPath); 100 if (!viewName) $.futon.storage.del("view"); 101 location.href = "?" + encodeURIComponent(page.db.name) + 102 (viewName ? "/" + viewName : "");jquery.mb.retweet.js http://mbideasproject.googlecode.com/svn/trunk/ | JavaScript | 227 lines
42 var el=$(this).get(0); 43 var url="http://api.bit.ly/shorten?version="+$.mbRetweet.BitlyAPIversion+"&longUrl="+encodeURIComponent(el.longUrl)+"&login="+$.mbRetweet.user+"&apiKey="+$.mbRetweet.key; 44 $.ajax({ 115 } 116 newWin.location.href = "http://twitter.com/home?status=" + encodeURIComponent(el.options.prefix + " " + el.desc + ": " +el.shortUrl);; 117 $(".mbretweetExtra").remove(); 151 } 152 var twitterUrl="http://twitter.com/home?status=" + encodeURIComponent(el.options.prefix + " " + el.desc + ": " +el.longUrl); 153 window.open(twitterUrl,"twitter");scriptaculous_helper_test.rb git://github.com/IronLanguages/main.git | Ruby | 87 lines
70 def test_drop_receiving_element 71 assert_dom_equal %(<script type=\"text/javascript\">\n//<![CDATA[\nDroppables.add(\"droptarget1\", {onDrop:function(element){new Ajax.Request('http://www.example.com/', {asynchronous:true, evalScripts:true, parameters:'id=' + encodeURIComponent(element.id)})}})\n//]]>\n</script>), 72 drop_receiving_element("droptarget1") 72 drop_receiving_element("droptarget1") 73 assert_dom_equal %(<script type=\"text/javascript\">\n//<![CDATA[\nDroppables.add(\"droptarget1\", {accept:'products', onDrop:function(element){new Ajax.Request('http://www.example.com/', {asynchronous:true, evalScripts:true, parameters:'id=' + encodeURIComponent(element.id)})}})\n//]]>\n</script>), 74 drop_receiving_element("droptarget1", :accept => 'products') 74 drop_receiving_element("droptarget1", :accept => 'products') 75 assert_dom_equal %(<script type=\"text/javascript\">\n//<![CDATA[\nDroppables.add(\"droptarget1\", {accept:'products', onDrop:function(element){new Ajax.Updater('infobox', 'http://www.example.com/', {asynchronous:true, evalScripts:true, parameters:'id=' + encodeURIComponent(element.id)})}})\n//]]>\n</script>), 76 drop_receiving_element("droptarget1", :accept => 'products', :update => 'infobox') 76 drop_receiving_element("droptarget1", :accept => 'products', :update => 'infobox') 77 assert_dom_equal %(<script type=\"text/javascript\">\n//<![CDATA[\nDroppables.add(\"droptarget1\", {accept:['tshirts','mugs'], onDrop:function(element){new Ajax.Updater('infobox', 'http://www.example.com/', {asynchronous:true, evalScripts:true, parameters:'id=' + encodeURIComponent(element.id)})}})\n//]]>\n</script>), 78 drop_receiving_element("droptarget1", :accept => ['tshirts','mugs'], :update => 'infobox') 78 drop_receiving_element("droptarget1", :accept => ['tshirts','mugs'], :update => 'infobox') 79 assert_dom_equal %(<script type=\"text/javascript\">\n//<![CDATA[\nDroppables.add("droptarget1", {hoverclass:'dropready', onDrop:function(element){if (confirm('Are you sure?')) { new Ajax.Request('http://www.example.com/update_drop', {asynchronous:true, evalScripts:true, parameters:'id=' + encodeURIComponent(element.id)}); }}})\n//]]>\n</script>), 80 drop_receiving_element('droptarget1', :hoverclass=>'dropready', :url=>{:action=>'update_drop'}, :confirm => 'Are you sure?')WonderflEditor.as git://github.com/mash/WonderflEditor.git | ActionScript | 170 lines
77 { 78 return encodeURIComponent(_editor.text); 79 }TinyMCE.java http://tinymce-gwt.googlecode.com/svn/trunk/ | Java | 282 lines
189 /** 190 * encodeURIComponent() - 191 * 197 */ 198 protected native String encodeURIComponent(String text) /*-{ 199 return encodeURIComponent(text);FreeTextArea.js git://github.com/n2cms/n2cms.git | JavaScript | 153 lines
43 tinymce.activeEditor.windowManager.open({ 44 file: fileBrowserUrl + (fileBrowserUrl.indexOf('?') >= 0 ? "&" : "?") + 'location=' + location + '&availableModes=' + modes + '&tbid=' + srcField.id + '&destinationType=' + destinationType + '&selectedUrl=' + encodeURIComponent(url) + '&selectableTypes=' + types, 45 height: 500,Story.js https://hg01.codeplex.com/kigg | JavaScript | 460 lines
244 { 245 var data = 'id=' + encodeURIComponent(storyId); 246 264 265 var data = 'id=' + encodeURIComponent(storyId); 266Moderation.js https://hg01.codeplex.com/kigg | JavaScript | 411 lines
128 { 129 var data = 'id=' + encodeURIComponent(storyId); 130 191 { 192 var data = 'id=' + encodeURIComponent(storyId); 193 227 { 228 var data = 'id=' + encodeURIComponent(storyId); 229 263 { 264 var data = 'id=' + encodeURIComponent(storyId); 265jquery.plugins.js https://code.google.com/p/freeze-messenger/ | JavaScript | 2437 lines
47 var secure = options.secure ? '; secure' : ''; 48 document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 49 }engine.script.js http://renderengine.googlecode.com/svn/trunk/ | JavaScript | 582 lines
130 for (var i in data) { 131 rData += (rData.length == 0 ? "?" : "&") + i + "=" + encodeURIComponent(data[i]); 132 }ext-basex.js http://mmbook.googlecode.com/svn/trunk/ | JavaScript | 1752 lines
9 * - Permits IE to Access Local File Systems using IE's older ActiveX interface via the forceActiveX property 10 * - Pluggable Form encoder (encodeURIComponent is still the default encoder) 11 * - Corrects the Content-Type Headers for posting JSON (application/json) and XML (text/xml)ext-base.js http://mmbook.googlecode.com/svn/trunk/ | JavaScript | 1776 lines
102 }, urlEncode:function (G, F) { 103 var D, C = [], E = encodeURIComponent; 104 Ext.iterate(G, function (e, H) {elfinder.min.js http://kandidat-cms.googlecode.com/svn/trunk/ | JavaScript | 1 lines
1(function(a){elFinder=function(d,g){var b=this,h;this.log=function(i){window.console&&window.console.log&&window.console.log(i)};this.options=a.extend({},this.options,g||{});if(!this.options.url){alert("Invalid configuration! You have to set URL option.");return}this.id="";if((h=a(d).attr("id"))){this.id=h}else{}this.version="1.1 RC3";this.jquery=a.fn.jquery.split(".").join("");this.cwd={};this.cdc={};this.buffer={};this.selected=[];this.history=[];this.locked=false;this.zIndex=2;this.dialog=null;this.anchor=this.options.docked?a("<div/>").hide().insertBefore(d):null;this.params={dotFiles:false,arc:"",uplMaxSize:""};this.vCookie="el-finder-view-"+this.id;this.pCookie="el-finder-places-"+this.id;this.lCookie="el-finder-last-"+this.id;this.view=new this.view(this,d);this.ui=new this.ui(this);this.eventsManager=new this.eventsManager(this);this.quickLook=new this.quickLook(this);this.cookie=function(j,l){if(typeof l=="undefined"){if(document.cookie&&document.cookie!=""){var k,p=document.cookie.split(";");j+="=";for(k=0;k<p.length;k++){p[k]=a.trim(p[k]);if(p[k].substring(0,j.length)==j){return decodeURIComponent(p[k].substring(j.length))}}}return""}else{var n,m=a.extend({},this.options.cookie);if(l===null){l="";m.expires=-1}if(typeof(m.expires)=="number"){n=new Date();n.setTime(n.getTime()+(m.expires*24*60*60*1000));m.expires=n}document.cookie=j+"="+encodeURIComponent(l)+"; expires="+m.expires.toUTCString()+(m.path?"; path="+m.path:"")+(m.domain?"; domain="+m.domain:"")+(m.secure?"; secure":"")}};this.lock=function(i){this.view.spinner((this.locked=i||false));this.eventsManager.lock=this.locked};this.lockShortcuts=function(i){this.eventsManager.lock=i};this.setView=function(i){if(i=="list"||i=="icons"){this.options.view=i;this.cookie(this.vCookie,i)}};this.ajax=function(k,l,i){var j={url:this.options.url,async:true,type:"GET",data:k,dataType:"json",cache:false,lock:true,force:false,silent:false};if(typeof(i)=="object"){j=a.extend({},j,i)}if(!j.silent){j.error=b.view.fatal}j.success=function(m){j.lock&&b.lock();m.debug&&b.log(m.debug);if(m.error){!j.silent&&b.view.error(m.error,m.errorData);if(!j.force){return}}l(m);delete m};j.lock&&this.lock(true);a.ajax(j)};this.tmb=function(){this.ajax({cmd:"tmb",current:b.cwd.hash},function(k){if(b.options.view=="icons"&&k.images&&k.current==b.cwd.hash){for(var j in k.images){if(b.cdc[j]){b.cdc[j].tmb=k.images[j];a('div[key="'+j+'"]>p',b.view.cwd).css("background",' url("'+k.images[j]+'") 0 0 no-repeat')}}k.tmb&&b.tmb()}},{lock:false,silent:true})};this.getPlaces=function(){var i=[],j=this.cookie(this.pCookie);if(j.length){if(j.indexOf(":")!=-1){i=j.split(":")}else{i.push(j)}}return i};this.addPlace=function(j){var i=this.getPlaces();if(a.inArray(j,i)==-1){i.push(j);this.savePlaces(i);return true}};this.removePlace=function(j){var i=this.getPlaces();if(a.inArray(j,i)!=-1){this.savePlaces(a.map(i,function(k){return k==j?null:k}));return true}};this.savePlaces=function(i){this.cookie(this.pCookie,i.join(":"))};this.reload=function(m){var k;this.cwd=m.cwd;this.cdc={};for(k=0;k<m.cdc.length;k++){this.cdc[m.cdc[k].hash]=m.cdc[k];this.cwd.size+=m.cdc[k].size}if(m.tree){this.view.renderNav(m.tree);this.eventsManager.updateNav()}this.updateCwd();if(m.tmb&&!b.locked&&b.options.view=="icons"){b.tmb()}if(m.select&&m.select.length){var j=m.select.length;while(j--){this.cdc[m.select[j]]&&this.selectById(m.select[j])}}this.lastDir(this.cwd.hash);if(this.options.autoReload>0){this.iID&&clearInterval(this.iID);this.iID=setInterval(function(){!b.locked&&b.ui.exec("reload")},this.options.autoReload*60000)}};this.updateCwd=function(){this.lockShortcuts();this.selected=[];this.view.renderCwd();this.eventsManager.updateCwd();this.view.tree.find('a[key="'+this.cwd.hash+'"]').trigger("select")};this.drop=function(l,j,k){if(j.helper.find('[key="'+k+'"]').length){return b.view.error("Unable to copy into itself")}var i=[];j.helper.find('div:not(.noaccess):has(>label):not(:has(em[class="readonly"],em[class=""]))').each(function(){i.push(a(this).hide().attr("key"))});if(!j.helper.find("div:has(>label):visible").length){j.helper.hide()}if(i.length){b.setBuffer(i,l.shiftKey?0:1,k);if(b.buffer.files){setTimeout(function(){b.ui.exec("paste");b.buffer={}},300)}}else{a(this).removeClass("el-finder-droppable")}};this.getSelected=function(j){var k,l=[];if(j>=0){return this.cdc[this.selected[j]]||{}}for(k=0;k<this.selected.length;k++){this.cdc[this.selected[k]]&&l.push(this.cdc[this.selected[k]])}return l};this.select=function(i,j){j&&a(".ui-selected",b.view.cwd).removeClass("ui-selected");i.addClass("ui-selected");b.updateSelect()};this.selectById=function(j){var i=a('[key="'+j+'"]',this.view.cwd);if(i.length){this.select(i);this.checkSelectedPos()}};this.unselect=function(i){i.removeClass("ui-selected");b.updateSelect()};this.toggleSelect=function(i){i.toggleClass("ui-selected");this.updateSelect()};this.selectAll=function(){a("[key]",b.view.cwd).addClass("ui-selected");b.updateSelect()};this.unselectAll=function(){a(".ui-selected",b.view.cwd).removeClass("ui-selected");b.updateSelect()};this.updateSelect=function(){b.selected=[];a(".ui-selected",b.view.cwd).each(function(){b.selected.push(a(this).attr("key"))});b.view.selectedInfo();b.ui.update();b.quickLook.update()};this.checkSelectedPos=function(k){var j=b.view.cwd.find(".ui-selected:"+(k?"last":"first")).eq(0),l=j.position(),i=j.outerHeight(),m=b.view.cwd.height();if(l.top<0){b.view.cwd.scrollTop(l.top+b.view.cwd.scrollTop()-2)}else{if(m-l.top<i){b.view.cwd.scrollTop(l.top+i-m+b.view.cwd.scrollTop())}}};this.setBuffer=function(k,m,o){var j,n,l;this.buffer={src:this.cwd.hash,dst:o,files:[],names:[],cut:m||0};for(j=0;j<k.length;j++){n=k[j];l=this.cdc[n];if(l&&l.read&&l.type!="link"){this.buffer.files.push(l.hash);this.buffer.names.push(l.name)}}if(!this.buffer.files.length){this.buffer={}}};this.isValidName=function(i){if(!this.cwd.dotFiles&&i.indexOf(".")==0){return false}return i.match(/^[^\\\/\<\>:]+$/)};this.fileExists=function(k){for(var j in this.cdc){if(this.cdc[j].name==k){return j}}return false};this.uniqueName=function(m,l){m=b.i18n(m);var j=m,k=0,l=l||"";if(!this.fileExists(j+l)){return j+l}while(k++<100){if(!this.fileExists(j+k+l)){return j+k+l}}return j.replace("100","")+Math.random()+l};this.lastDir=function(i){if(this.options.rememberLastDir){return i?this.cookie(this.lCookie,i):this.cookie(this.lCookie)}};function c(i,j){i&&b.view.win.width(i);j&&b.view.nav.add(b.view.cwd).height(j)}function e(){c(null,b.dialog.height()-b.view.tlb.parent().height()-(a.browser.msie?47:32))}this.time=function(){return new Date().getMilliseconds()};this.setView(this.cookie(this.vCookie));c(b.options.width,b.options.height);if(this.options.dialog||this.options.docked){this.options.dialog=a.extend({width:570,dialogClass:"",minWidth:480,minHeight:330},this.options.dialog||{});this.options.dialog.dialogClass+="el-finder-dialog";this.options.dialog.resize=e;if(this.options.docked){this.options.dialog.close=function(){b.dock()};this.view.win.data("size",{width:this.view.win.width(),height:this.view.nav.height()})}else{this.options.dialog.close=function(){b.destroy()};this.dialog=a("<div/>").append(this.view.win).dialog(this.options.dialog)}}this.ajax({cmd:"open",target:this.lastDir()||"",init:true,tree:true},function(i){if(i.cwd){b.eventsManager.init();b.reload(i);b.params=i.params;a("*",document.body).each(function(){var j=parseInt(a(this).css("z-index"));if(j>=b.zIndex){b.zIndex=j+1}});b.ui.init(i.disabled)}},{force:true});this.open=function(){this.dialog?this.dialog.dialog("open"):this.view.win.show();this.eventsManager.lock=false};this.close=function(){this.quickLook.hide();if(this.options.docked&&this.view.win.attr("undocked")){this.dock()}else{this.dialog?this.dialog.dialog("destroy"):this.view.win.hide()}this.eventsManager.lock=true};this.destroy=function(){this.quickLook.hide();if(this.dialog){this.dialog.dialog("destroy");this.view.win.parent().remove()}else{this.view.win.remove()}this.ui.menu.remove()};this.dock=function(){if(this.options.docked&&this.view.win.attr("undocked")){this.quickLook.hide();var i=this.view.win.data("size");this.view.win.insertAfter(this.anchor).removeAttr("undocked");c(i.width,i.height);this.dialog.dialog("destroy");this.dialog=null}};this.undock=function(){if(this.options.docked&&!this.view.win.attr("undocked")){this.quickLook.hide();this.dialog=a("<div/>").append(this.view.win.css("width","100%").attr("undocked",true).show()).dialog(this.options.dialog);e()}}};elFinder.prototype.i18n=function(b){return this.options.i18n[this.options.lang]&&this.options.i18n[this.options.lang][b]?this.options.i18n[this.options.lang][b]:b};elFinder.prototype.options={url:"",lang:"en",cssClass:"",wrap:14,places:"Places",placesFirst:true,editorCallback:null,cutURL:"",closeOnEditorCallback:true,i18n:{},view:"icons",width:"",height:"",disableShortcuts:false,rememberLastDir:true,cookie:{expires:30,domain:"",path:"/",secure:false},toolbar:[["back","reload"],["select","open"],["mkdir","mkfile","upload"],["copy","paste","rm"],["rename","edit"],["info","quicklook"],["icons","list"],["help"]],contextmenu:{cwd:["reload","delim","mkdir","mkfile","upload","delim","paste","delim","info"],file:["select","open","quicklook","delim","copy","cut","rm","delim","duplicate","rename","edit","resize","archive","extract","delim","info"],group:["copy","cut","rm","delim","archive","extract","delim","info"]},dialog:null,docked:false,autoReload:0};a.fn.elfinder=function(b){return this.each(function(){var c=typeof(b)=="string"?b:"";if(!this.elfinder){this.elfinder=new elFinder(this,typeof(b)=="object"?b:{})}switch(c){case"close":case"hide":this.elfinder.close();break;case"open":case"show":this.elfinder.open();break;case"dock":this.elfinder.dock();break;case"undock":this.elfinder.undock();break}})}})(jQuery);(function(a){elFinder.prototype.view=function(d,c){var b=this;this.fm=d;this.kinds={unknown:"Unknown",directory:"Folder",symlink:"Alias","symlink-broken":"Broken alias","application/x-empty":"Plain text","application/postscript":"Postscript document","application/octet-stream":"Application","application/vnd.ms-office":"Microsoft Office document","application/vnd.ms-word":"Microsoft Word document","application/vnd.ms-excel":"Microsoft Excel document","application/vnd.ms-powerpoint":"Microsoft Powerpoint presentation","application/pdf":"Portable Document Format (PDF)","application/vnd.oasis.opendocument.text":"Open Office document","application/x-shockwave-flash":"Flash application","application/xml":"XML document","application/x-bittorrent":"Bittorrent file","application/x-7z-compressed":"7z archive","application/x-tar":"TAR archive","application/x-gzip":"GZIP archive","application/x-bzip2":"BZIP archive","application/zip":"ZIP archive","application/x-rar":"RAR archive","application/javascript":"Javascript application","text/plain":"Plain text","text/x-php":"PHP source","text/html":"HTML document","text/javascript":"Javascript source","text/css":"CSS style sheet","text/rtf":"Rich Text Format (RTF)","text/rtfd":"RTF with attachments (RTFD)","text/x-c":"C source","text/x-c++":"C++ source","text/x-shellscript":"Unix shell script","text/x-python":"Python source","text/x-java":"Java source","text/x-ruby":"Ruby source","text/x-perl":"Perl script","text/xml":"XML document","image/x-ms-bmp":"BMP image","image/jpeg":"JPEG image","image/gif":"GIF Image","image/png":"PNG image","image/x-targa":"TGA image","image/tiff":"TIFF image","image/vnd.adobe.photoshop":"Adobe Photoshop image","audio/mpeg":"MPEG audio","audio/midi":"MIDI audio","audio/ogg":"Ogg Vorbis audio","audio/mp4":"MP4 audio","audio/wav":"WAV audio","video/x-dv":"DV video","video/mp4":"MP4 video","video/mpeg":"MPEG video","video/x-msvideo":"AVI video","video/quicktime":"Quicktime video","video/x-ms-wmv":"WM video","video/x-flv":"Flash video","video/x-matroska":"Matroska video"};this.tlb=a("<ul />");this.nav=a('<div class="el-finder-nav"/>').resizable({handles:"e",autoHide:true,minWidth:200,maxWidth:500});this.cwd=a('<div class="el-finder-cwd"/>').attr("unselectable","on");this.spn=a('<div class="el-finder-spinner"/>');this.err=a('<p class="el-finder-err"><strong/></p>').click(function(){a(this).hide()});this.nfo=a('<div class="el-finder-stat"/>');this.pth=a('<div class="el-finder-path"/>');this.sel=a('<div class="el-finder-sel"/>');this.stb=a('<div class="el-finder-statusbar"/>').append(this.pth).append(this.nfo).append(this.sel);this.wrz=a('<div class="el-finder-workzone" />').append(this.nav).append(this.cwd).append(this.spn).append(this.err).append('<div style="clear:both" />');this.win=a(c).empty().attr("id",this.fm.id).addClass("el-finder "+(d.options.cssClass||"")).append(a('<div class="el-finder-toolbar" />').append(this.tlb)).append(this.wrz).append(this.stb);this.tree=a('<ul class="el-finder-tree"></ul>').appendTo(this.nav);this.plc=a('<ul class="el-finder-places"><li><a href="#" class="el-finder-places-root"><div/>'+this.fm.i18n(this.fm.options.places)+"</a><ul/></li></ul>").hide();this.nav[this.fm.options.placesFirst?"prepend":"append"](this.plc);this.spinner=function(e){this.win.toggleClass("el-finder-disabled",e);this.spn.toggle(e)};this.fatal=function(e){b.error(e.status!="404"?"Invalid backend configuration":"Unable to connect to backend")};this.error=function(e,g){this.fm.lock();this.err.show().children("strong").html(this.fm.i18n(e)+"!"+this.formatErrorData(g));setTimeout(function(){b.err.fadeOut("slow")},4000)};this.renderNav=function(g){var i=g.dirs.length?h(g.dirs):"",e='<li><a href="#" class="el-finder-tree-root" key="'+g.hash+'"><div'+(i?' class="collapsed expanded"':"")+"/>"+g.name+"</a>"+i+"</li>";this.tree.html(e);this.fm.options.places&&this.renderPlaces();function h(j){var l,m,n,k='<ul style="display:none">';for(l=0;l<j.length;l++){n="";if(!j[l].read&&!j[l].write){n="noaccess"}else{if(!j[l].read){n="dropbox"}else{if(!j[l].write){n="readonly"}}}k+='<li><a href="#" class="'+n+'" key="'+j[l].hash+'"><div'+(j[l].dirs.length?' class="collapsed"':"")+"/>"+j[l].name+"</a>";if(j[l].dirs.length){k+=h(j[l].dirs)}k+="</li>"}return k+"</ul>"}};this.renderPlaces=function(){var g,j,h=this.fm.getPlaces(),e=this.plc.show().find("ul").empty().hide();a("div:first",this.plc).removeClass("collapsed expanded");if(h.length){h.sort(function(k,i){var m=b.tree.find('a[key="'+k+'"]').text()||"",l=b.tree.find('a[key="'+i+'"]').text()||"";return m.localeCompare(l)});for(g=0;g<h.length;g++){if((j=this.tree.find('a[key="'+h[g]+'"]:not(.dropbox)').parent())&&j.length){e.append(j.clone().children("ul").remove().end().find("div").removeClass("collapsed expanded").end())}else{this.fm.removePlace(h[g])}}e.children().length&&a("div:first",this.plc).addClass("collapsed")}};this.renderCwd=function(){this.cwd.empty();var e=0,h=0,g="";for(var i in this.fm.cdc){e++;h+=this.fm.cdc[i].size;g+=this.fm.options.view=="icons"?this.renderIcon(this.fm.cdc[i]):this.renderRow(this.fm.cdc[i],e%2)}if(this.fm.options.view=="icons"){this.cwd.append(g)}elsga.js http://svgweb.googlecode.com/svn/trunk/ | JavaScript | 41 lines
1(function(){var aa="_gat",ba="_gaq",s=true,v=false,w=undefined,ca="4.5.8",y="length",z="cookie",A="location",C="&",D="=",E="__utma=",F="__utmb=",H="__utmc=",da="__utmk=",I="__utmv=",K="__utmz=",L="__utmx=",M="GASO=";var N=function(g){return w==g||"-"==g||""==g},ea=function(g){return g[y]>0&&" \n\r\t".indexOf(g)>-1},Q=function(g,i,b){var k="-",c;if(!N(g)&&!N(i)&&!N(b)){c=g.indexOf(i);if(c>-1){b=g.indexOf(b,c);if(b<0)b=g[y];k=P(g,c+i.indexOf(D)+1,b)}}return k},S=function(g){var i=v,b=0,k,c;if(!N(g)){i=s;for(k=0;k<g[y];k++){c=g.charAt(k);b+="."==c?1:0;i=i&&b<=1&&(0==k&&"-"==c||".0123456789".indexOf(c)>-1)}}return i},T=function(g,i){var b=encodeURIComponent;return b instanceof Function?i?encodeURI(g):b(g):escape(g)}, 2U=function(g,i){var b=decodeURIComponent,k;g=g.split("+").join(" ");if(b instanceof Function)try{k=i?decodeURI(g):b(g)}catch(c){k=unescape(g)}else k=unescape(g);return k},V=function(g,i){return g.indexOf(i)>-1},W=function(g,i){g[g[y]]=i},X=function(g){return g.toLowerCase()},Y=function(g,i){return g.split(i)},ga=function(g,i){return g.indexOf(i)},P=function(g,i,b){b=w==b?g[y]:b;return g.substring(i,b)},ha=function(g,i){return g.join(i)},ia=function(g){var i=1,b=0,k;if(!N(g)){i=0;for(k=g[y]-1;k>=0;k--){b=jquery.jcryption-1.0.1.js http://jcryption.googlecode.com/svn/trunk/ | JavaScript | 957 lines
87 if($(this).is(":checked")) { 88 escapedURL.push(encodeURIComponent($(this).attr('name')) + "=" + encodeURIComponent($(this).val())); 89 } 92 $.each($(":selected",$select),function() { 93 escapedURL.push(encodeURIComponent($select.attr('name')) + "=" + encodeURIComponent($(this).val())); 94 }); 95 } else { 96 escapedURL.push(encodeURIComponent($(this).attr('name')) + "=" + encodeURIComponent($(this).val())); 97 } 99 if(firstInput === false && $(this).attr('name').indexOf("[]") === -1) { 100 firstInput = encodeURIComponent($(this).attr('name')); 101 }qunit.js https://hg01.codeplex.com/salient | JavaScript | 1154 lines
203 if (window.location) { 204 window.location.href = window.location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent(text); 205 }admin.js http://nuke-viet.googlecode.com/svn/trunk/ | JavaScript | 0 lines
355 if (content != '') { 356 nv_ajax('post', script_name, nv_name_variable + '=' + nv_module_name + '&' + nv_name_variable + '=' + nv_module_name + '&' + nv_fc_variable + '=keywords&content=' + encodeURIComponent(content), '', 'res_keywords'); 357 } 431 if (title != '') { 432 nv_ajax('post', script_name, nv_name_variable + '=' + nv_module_name + '&' + nv_name_variable + '=' + nv_module_name + '&' + nv_fc_variable + '=alias&title=' + encodeURIComponent(title), '', 'resjquery.query-2.1.7.js git://github.com/ayende/ravendb.git | JavaScript | 225 lines
189 if ($spaces) str = str.replace(/ /g, "+"); 190 return encodeURIComponent(str); 191 };snowobj.js http://snowcms.googlecode.com/svn/trunk/ | JavaScript | 459 lines
117 { 118 return encodeURIComponent(str); 119 };googlesitenews.js http://share-extras.googlecode.com/svn/trunk/ | JavaScript | 293 lines
128 129 var actionUrl = Alfresco.constants.URL_SERVICECONTEXT + "modules/googlesitenews/config/" + encodeURIComponent(this.options.componentId); 130 135 width: "35em", 136 templateUrl: Alfresco.constants.URL_SERVICECONTEXT + "modules/googlesitenews/config?componentId=" + encodeURIComponent(this.options.componentId), 137 onSuccess:jquery_query-1.2.2.js http://glue.googlecode.com/svn/trunk/ | JavaScript | 164 lines
125 o.push("="); 126 o.push(encodeURIComponent(value)); 127 }cat.html http://endcms.googlecode.com/svn/trunk/ | HTML | 77 lines
63 url = url.replace(/\&brand=[^\&]*/,''); 64 if (brand) url+= '&brand='+encodeURIComponent(brand); 65 window.location = url; 71 url = url.replace(/\&carrier=[^\&]*/,''); 72 if (carrier) url+= '&carrier='+encodeURIComponent(carrier); 73 window.location = url;