-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathw3cjs.node.txt
30 lines (27 loc) · 1.65 KB
/
w3cjs.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
┏━━━━━━━━━━━┓
┃ W3CJS ┃
┗━━━━━━━━━━━┛
W3CJS.validate(OBJ) #Validate HTML using W3c validator.
#OBJ:
# - file FILE_STR
# - output "json|html" (def: "json")
# - callback FUNC(OBJ): results, otherwise returns it:
# - messages OBJ_ARR: empty if no problem:
# - lastLine|Column NUM
# - message STR
# - messageid STR
# - explanation HTML_STR
# - type "error"
# - source: encoding STR, type STR
# - context FILE_STR
# - doctype STR (def: false for auto, e.g.: "HTML5")
# - charset STR (def: false for auto, e.g.: "utf-8")
# - proxy URL (def: null)
#Version 0.1.25
GULP-W3CJS(OBJ) #Same as Gulp plugin. OBJ.file|output not available.
#Does not stop Gulp execution but:
# - print log errors
# - fills in VINYL.w3cjs OBJ:
# - success BOOL
# - messages OBJ_ARR (same as above)
#Version 0.2.1