1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-12 20:27:30 +08:00
Commit Graph

6 Commits

Author SHA1 Message Date
rory malcolm
b755419e33
feat: add trimStart and trimEnd aliases (#516)
Leverage  `trimRight` and `trimLeft` functions to provide `trimStart` and `trimEnd`.
2023-12-30 16:06:52 +00:00
rory malcolm
c902ab4346
feat: add string startsWith method (#514)
Adds startsWith method to the String builtins.
2023-12-19 19:17:47 +00:00
Steven Hartland
fbcfda961e
ci: fix golangci-lint errors (#496)
Fix golangci-lint errors triggered by new version.

Disable deprecated linters.
2023-05-19 13:04:21 +01:00
HuKai
2b00d85b5e
feat: add math function (#485)
Add some ES6 math functions.
2023-02-23 16:13:49 +00:00
Steven Hartland
b882379002
chore: add generated headers (#486)
Add headers to generated files so that editors will notify users that
these files shouldn't be edited manually.
2023-01-13 19:47:05 +00:00
Steven Hartland
233dfa4ef0
chore: remove perl, make and local docs. (#476)
Remove the dependencies on perl and make.

inline.pl is replaced by tools/gen-jscore and token/tokenfmt is replaced
by tools/gen-tokens which are both golang text/template utilities.

gen-jscore uses property ordering that matches chromes output ordering
adding missing properties to the Error types.

Local generated documentation have been removed as https://pkg.go.dev/
is more feature rich.

The use of make has been removed as the functionality is now replicated by
standard golang tools go test ./... and go generate ./... as well as integrated
into github actions.
2022-12-05 22:19:34 +00:00