Lines Matching refs:var

12   var all_releases =
16 var switcher_versions = {
20 var all_doctypes = {
38 var a_components = a.split(".");
39 var b_components = b.split(".");
41 var len = Math.min(a_components.length, b_components.length);
44 for (var i = 0; i < len; i++) {
70 var buf = ['<select>'];
73 var series = version.substr(0, 3);
89 var buf = ['<select>'];
110 var url = urls.shift();
135 var url = window.location.href;
136 var root = DOCUMENTATION_OPTIONS.URL_ROOT;
138 var urlarray = url.split('/');
141 var depth = (root.match(/\.\.\//g) || []).length;
142 for (var i = 0; i < depth; i++) {
150 var selected_version = $(this).children('option:selected').attr('value');
151 var url = window.location.href;
152 var current_version = DOCUMENTATION_OPTIONS.VERSION;
153 var docroot = get_docroot_url()
155 var new_versionpath = selected_version + '/';
159 var new_url = docroot + new_versionpath + url.replace(docroot, "");
160 var fallback_url = docroot + new_versionpath;
170 var new_url = url.replace('/' + current_version + '/', '/' + new_versionpath);
171 var fallback_url = new_url.replace(url.replace(docroot, ""), "");
188 var selected_doctype = $(this).children('option:selected').attr('value');
189 var url = window.location.href;
191 var docroot = get_docroot_url()
192 var current_version = DOCUMENTATION_OPTIONS.VERSION;
195 var new_url = docroot + "mega-manual/mega-manual.html";
197 var new_url = docroot + "singleindex.html";
200 var new_url = url.replace("singleindex.html", "index.html")
219 var release = DOCUMENTATION_OPTIONS.VERSION;
220 var current_doctype = doctype_segment_from_url(window.location.href);
221 var current_series = release.substr(0, 3);
222 var version_select = build_version_select(current_series, release);
227 var doctype_select = build_doctype_select(current_doctype);
234 var series = version.substr(0, 3);