dnscontrol/pkg/js
Patrik Kernstock 576c2bd582
New feature: require_glob() (similar to require() but supports globs) (#804)
* Initial implementation of findFiles/globe/glob

* Fixed path, some small improvements

* filepath.Dir() calls Clean() automatically anyway

* Relative path support (like require()), renamed func

* Check file ext prefix, further comments, var renaming

* Updated static.go after merge

* Added doc for glob()

* Tiny adjustment of description of glob()

* Updated docs for possible pattern

* Reworked glob, added public-facing require_glob()

* Updated docs with examples

* Updated static.go

* go generate
2020-08-19 14:00:40 -04:00
..
parse_tests New feature: IGNORE_TARGET. Rename INGORE to IGNORE_NAME (#806) 2020-08-18 11:14:34 -04:00
helpers.js New feature: require_glob() (similar to require() but supports globs) (#804) 2020-08-19 14:00:40 -04:00
js.go New feature: require_glob() (similar to require() but supports globs) (#804) 2020-08-19 14:00:40 -04:00
js_test.go require() should handle paths as relative (like nodeJS) (#443) 2019-01-29 10:29:00 -05:00
static.go New feature: require_glob() (similar to require() but supports globs) (#804) 2020-08-19 14:00:40 -04:00