From 65ff9f280757fe052f2ffc454fe52e768ee209ad Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Sat, 13 Sep 2025 11:04:14 -0500 Subject: [PATCH] Adding .truncate to @lodash.js. --- .idea/phs-admin.iml | 1 + src/@lodash/@lodash.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.idea/phs-admin.iml b/.idea/phs-admin.iml index 2bfa945..4e9dda5 100644 --- a/.idea/phs-admin.iml +++ b/.idea/phs-admin.iml @@ -9,5 +9,6 @@ + \ No newline at end of file diff --git a/src/@lodash/@lodash.js b/src/@lodash/@lodash.js index 46ea8a6..037431c 100755 --- a/src/@lodash/@lodash.js +++ b/src/@lodash/@lodash.js @@ -5,7 +5,7 @@ import __ from 'lodash'; * And use it as below * import _ from '@lodash' */ -const _ = __.runInContext(); +const _ = __.runInContext({}); _.mixin({ truncateString: (str, maxLength) => { -- 2.43.0