22
edits
(→API) |
(→API) |
||
Line 56: | Line 56: | ||
// this function is called whenever the file(s) addressed by the request are created, modified, or deleted | // this function is called whenever the file(s) addressed by the request are created, modified, or deleted | ||
void onChange(DOMString | // takes the file's name and type as its two arguments | ||
void (*onChange)(DOMString, UpdateType); | |||
// this function stops the watcher permanently | // this function stops the watcher permanently | ||
void cancel(); | void cancel(); |
edits