]> PHS Git Server - phs-admin.git/commitdiff
Adding .truncate to @lodash.js.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sat, 13 Sep 2025 16:04:14 +0000 (11:04 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sat, 13 Sep 2025 16:04:14 +0000 (11:04 -0500)
.idea/phs-admin.iml
src/@lodash/@lodash.js

index 2bfa9454551d80120bd663b5baea1a8eced05d79..4e9dda5d626f4ef21c09c90e82723127f37481c8 100644 (file)
@@ -9,5 +9,6 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="@types/lodash" level="application" />
   </component>
 </module>
\ No newline at end of file
index 46ea8a6e3ff4e0548d0502c414444224d8df4b3e..037431c47acd7bbb7e8f757e875b20edd3de98d8 100755 (executable)
@@ -5,7 +5,7 @@ import __ from 'lodash';
  * And use it as below
  * import _ from '@lodash'
  */
-const _ = __.runInContext();
+const _ = __.runInContext({});
 
 _.mixin({
   truncateString: (str, maxLength) => {