-
Notifications
You must be signed in to change notification settings - Fork 16
/
escalade.node.txt
17 lines (10 loc) · 1.47 KB
/
escalade.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ESCALADE
ALTERNATIVES ==> #See find-up
VERSION ==> #3.1.1
ESCALADE('PATH',
FUNC('DIR'_PATH, 'PATH2'_ARR) #Fire FUNC() with 'PATH''s directory (or itself if already directory) and any parent directory.
->PROMISE_undefined|'PATH3') #'PATH2'_ARR is each directory's files.
->PROMISE_undefined|'PATH3' #Stops when FUNC() returns 'PATH3' and return it then.
import('escalade/sync') #Same but sync