Feature #41706
Provide standard library with configurable usage
100%
Description
Eel should include a standard library with the most basic functions for Date, String and Array.
Suggestion:
Date.now().format("d.m.Y")
String.strftime("%d.%m.%Y", Date.now())
Array.join(Array.reverse(items), ' - ')
Array.count([1, 2, 3])
Eel should still be usable with an empty Context for total flexibility.
Related issues
Updated by Christopher Hlubek over 7 years ago
Eel Core
StringHelper:
- Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/prototype#Methods
- Implement additional methods that are missing in JS
- decide for overlapping functionality
DateHelper:
ArrayHelper:
MathHelper:
Flow
ResourceHelper:
- Access to static and persisted resources
I18nHelper:
- I18N translations and formatting
UriHelper:
- Access to building URIs via Eel
Neos
FormatHelper:
- Crop
NodeHelper:
- Build URIs to Nodes
Updated by Christopher Hlubek over 7 years ago
- Status changed from New to Accepted
- % Done changed from 0 to 30
Updated by Christopher Hlubek over 7 years ago
- % Done changed from 30 to 80
This issue needs only a MathHelper to be resolved, the other helpers are tracked by #41859.
Updated by Gerrit Code Review over 7 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241
Updated by Gerrit Code Review over 7 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241
Updated by Gerrit Code Review over 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.Eel has been pushed to the review server.
It is available at https://review.typo3.org/24241
Updated by Oliver Eglseder over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
Applied in changeset cd57463e9c8bb88ee8fd6e96c39048ce7f8918bd.