- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Let (0.51 sec)
-
.cm/plugins/filters/nullToEmpty/index.js
* @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 = []; } console.log("nullToEmpty: " + output); return 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) -
.github/workflows/trusted_partners.js
username }); if (user.status >= 400) { console.log(user); throw `Error Getting user data for ${username}`; } const email = user.data.email; let domain = ""; if (email && email.lastIndexOf("@") != -1) domain = email.substring(email.lastIndexOf("@") +1); console.log(domain); return domain; };
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) -
docs/en/docs/js/custom.js
JavaScript - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat May 08 17:50:56 GMT 2021 - 6.6K bytes - Viewed (0) -
docs/en/docs/js/termynal.js
JavaScript - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 9.3K bytes - Viewed (0) -
.github/workflows/create_issue.js
} const pr_title = pr_resp.data.title; // Assign to PR owner and reviewers const assignees = pr_resp.data.assignees.concat(pr_resp.data.requested_reviewers); let assignee_logins = assignees.map(x => x.login); assignee_logins.push(pr_resp.data.user.login); console.log(assignee_logins); // Create an new GH Issue and reference the Original PR
JavaScript - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Oct 18 23:04:59 GMT 2021 - 2.8K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
.cm/plugins/filters/byCodeowner/ignore/index.js
// setting `checkUnignored` to `false` could reduce additional // path matching. // @returns {TestResult} true if a file is ignored _testOne (path, checkUnignored) { let ignored = false let unignored = false this._rules.forEach(rule => { const {negative} = rule if ( unignored === negative && ignored !== unignored
JavaScript - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 17.5K bytes - Viewed (0) -
.cm/plugins/filters/byPlatform/index.js
[...result.keys()].forEach(platform => { console.log("[" + platform + ": [" + result.get(platform).join(", ") + "]]"); }); return result; } function getPlatform(file) { let result = null; // Default to null in case no platform is found if (file.startsWith('platforms/')) { const parts = file.split('/'); result = parts[1]; } console.log(file + " = " + result);
JavaScript - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 16:47:29 GMT 2024 - 1K bytes - Viewed (0) -
.cm/plugins/filters/readField/index.js
* @returns String - The specified value * @example {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField('jvm', 'name') }} */ function readField(objects, objectName, fieldName) { let group = Object.values(objects).find(s => s.name === objectName); if (group) { const result = group[fieldName]; if (result === undefined) {
JavaScript - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1K bytes - Viewed (0) -
.cm/plugins/filters/summaryTable/index.js
*/ function summaryTable(statistics, title) { let preppedStatistics = statistics.filter(s => s.files.length > 0) .sort(s => -(s.additions + s.deletions)); let totalAdditions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.additions, 0); let totalDeletions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.deletions, 0);
JavaScript - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 3.2K bytes - Viewed (0)