Page MenuHomeDevCentral

Simplify map autolinker call
ClosedPublic

Authored by dereckson on Apr 17 2023, 00:04.
Tags
None
Referenced Files
F7630447: D3039.id.diff
Wed, Apr 30, 01:40
F7623208: D3039.diff
Tue, Apr 29, 22:41
Unknown Object (File)
Tue, Apr 29, 01:40
Unknown Object (File)
Tue, Apr 29, 00:23
Unknown Object (File)
Mon, Apr 28, 15:58
Unknown Object (File)
Sun, Apr 27, 05:38
Unknown Object (File)
Sat, Apr 26, 04:33
Unknown Object (File)
Fri, Apr 25, 01:59
Subscribers
None
Tokens
"Y So Serious" token, awarded by dereckson.

Details

Summary

This change fixes the following issue:

On recent version of Node, the output was:
function (text) { return autolinker.link(text); }

Test Plan

./build.js

Diff Detail

Repository
rHOME servers-homepages
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 17 2023, 00:04
This revision was automatically updated to reflect the committed changes.

GPT models evaluation

As part of GPT evaluation, this function would submitted to ChatGPT.

ChatGPT didn't detect new JavaScript versions could interpret the function call as text, but offered the simplified code.