- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for if (0.15 sec)
-
src/main/webapp/js/admin/plugins/form-validator/color.js
a>0&&a<1};a.formUtils.addValidator({name:"hex",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c="#"===a[0];if(!c)return!1;var d=4===a.length||7===a.length;if(d){var e=/[0-9a-f]/i,f=a.slice(1).split(""),g=!0;return f.forEach(function(a){null===a.match(e)&&(g=!1)}),g}return!1},errorMessage:"",errorMessageKey:"badHex"}),a.formUtils.addValidator({name:"rgb",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var...
JavaScript - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.8K bytes - Viewed (0) -
misc/chrome/gophertool/gopher.js
var gerritChangeIdRE = /^I[0-9a-f]{4,40}$/; // e.g. Id69c00d908d18151486007ec03da5495b34b05f5 var pkgRE = /^[a-z0-9_\/]+$/; function urlForInput(t) { if (!t) { return null; } if (numericRE.test(t)) { if (t < 150000) { // We could use the golang.org/cl/ handler here, but // avoid some redirect latency and go right there, since
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sat Jul 11 14:36:33 GMT 2015 - 1.2K bytes - Viewed (0) -
.cm/plugins/filters/nullToEmpty/index.js
/** * @module nullToEmpty * @description Returns the specified value if non-null, otherwise an empty array. * @param {Object} input - The object to investigate * @returns Object - The specified value if non-null, otherwise an empty array * @example {{ readField('jvm', 'files') | nullToEmpty }} */ function nullToEmpty(input) { let output; if (input) { output = input; } else { output = []; }
JavaScript - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 16:43:16 GMT 2024 - 526 bytes - Viewed (0) -
misc/chrome/gophertool/popup.js
var box = document.getElementById("inputbox"); box.focus(); var t = box.value; if (t == "") { return false; } var success = function(url) { console.log("matched " + t + " to: " + url) box.value = ""; openURL(url); return false; // cancel form submission }; var url = urlForInput(t); if (url) { return success(url); } console.log("no match for text: " + t)
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Oct 21 17:05:21 GMT 2012 - 1020 bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/html5.js
|i.indexOf(".")>-1||k.indexOf(".")>-1)&&(h["data-validation-allowing"]+=",float")):h["data-validation-allowing"]+=",float,negative"}if(e.attr("pattern")&&(b.push("custom"),h["data-validation-regexp"]=e.attr("pattern")),e.attr("maxlength")&&(b.push("length"),h["data-validation-length"]="max"+e.attr("maxlength")),!c&&e.attr("list")){var l=[],m=a("#"+e.attr("list"));if(m.find("option").each(function(){l.push(a(this).text())}),0===l.length){var n=a.trim(a("#"+e.attr("list")).text()).split("\n");a.ea...
JavaScript - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.6K bytes - Viewed (0) -
docs/extensions/s3zip/examples/aws-js/main.js
s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}). on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }). send(function(err, data) { if (err) { console.log("Error", err); } else { console.log("Success", data); } }); // Download a file in the archive and store it in /tmp/data.csv
JavaScript - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jun 10 15:17:03 GMT 2021 - 1K bytes - Viewed (0) -
.github/workflows/trusted_partners.js
if (lowercased_title.includes('xla') || lowercased_title.includes('gpu')) { assignees.push('cheshire', 'gcforster', 'reedwm', 'chsigg', 'xla-rotation'); } if (lowercased_title.includes('tf')) { assignees.push('rohan100jain', 'bfontain'); } } if (lowercased_title.includes('linaro') && domain.includes('linaro.org')) { if (lowercased_title.includes('arm_ci')) { assignees.push('nitins17', 'penpornk'); }
JavaScript - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 07 13:52:04 GMT 2023 - 4.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/poland.js
sel",validatorFunction:function(a){var b=[1,3,7,9,1,3,7,9,1,3],c=0,d=0;if(/\d{11}/.test(a)&&11===a.length){for(var e=0;e<10;e++)c+=a[e]*b[e];if(c%10!==0&&(d=10-c%10),parseInt(a.charAt(10))===d)return!0}return!1},errorMessage:"",errorMessageKey:"badPlPesel"}),a.formUtils.addValidator({name:"plnip",validatorFunction:function(a){var b=[6,5,7,2,3,4,5,6,7],c=0;if(/\d{10}/.test(a)&&10===a.length){for(var d=0;d<9;d++)c+=a[d]*b[d];if(parseInt(a.charAt(9))===c%11)return!0}return!1},errorMessage:"",errorM...
JavaScript - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.4K bytes - Viewed (0) -
.cm/plugins/filters/isEnabledUser/index.js
/** * @module isEnabledUser * @description Returns true if the username that is passed to this function is a member of the Gradle BT Team who has opted into gitStream automations. * @param {string} Input - The GitHub username to check. * @returns {boolean} Returns true if the user is specified in any of the lists of Gradle BT team members above, otherwise false.
JavaScript - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Mon Feb 05 22:00:34 GMT 2024 - 923 bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/brazil.js
)):b(a.jQuery)}(this,function(a){!function(a){a.formUtils.registerLoadedModule("brazil"),a.formUtils.addValidator({name:"cpf",validatorFunction:function(a){var b=a.replace(/\D/g,""),c=0,d=0,e=0,f=0;if(11!==b.length||"00000000000"===b)return!1;for(i=1;i<=9;i++)c+=parseInt(b.substring(i-1,i))*(11-i);if(e=10*c%11,e>=10&&(e=0),e!==parseInt(b.substring(9,10)))return!1;for(i=1;i<=10;i++)d+=parseInt(b.substring(i-1,i))*(12-i);return f=10*d%11,f>=10&&(f=0),f===parseInt(b.substring(10,11))},errorMessage:...
JavaScript - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.3K bytes - Viewed (0)