Page MenuHomeDevCentral

Simplify map autolinker call
ClosedPublic

Authored by dereckson on Apr 17 2023, 00:04.
Tags
None
Referenced Files
F3753368: D3039.id7758.diff
Mon, Nov 18, 01:09
F3753351: D3039.id7758.diff
Mon, Nov 18, 01:04
F3753107: D3039.id7757.diff
Sun, Nov 17, 23:12
Unknown Object (File)
Sat, Nov 16, 05:41
Unknown Object (File)
Wed, Nov 13, 03:22
Unknown Object (File)
Wed, Nov 13, 03:21
Unknown Object (File)
Wed, Nov 13, 03:21
Unknown Object (File)
Wed, Nov 13, 02:58
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.