Page MenuHomeDevCentral

Simplify map autolinker call
ClosedPublic

Authored by dereckson on Apr 17 2023, 00:04.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 29, 00:16
Unknown Object (File)
Fri, Sep 27, 21:19
Unknown Object (File)
Mon, Sep 23, 19:40
Unknown Object (File)
Mon, Sep 23, 00:40
Unknown Object (File)
Sat, Sep 14, 09:59
Unknown Object (File)
Sat, Sep 14, 09:59
Unknown Object (File)
Sat, Sep 14, 03:43
Unknown Object (File)
Fri, Sep 6, 11:27
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
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4802
Build 5083: arc lint + arc unit

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.