| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e51beef commit bb6f944
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -174,6 +174,12 @@ FSWatcher.prototype[kFSWatchStart] = function(filename, | |||
| 174 | 174 | } | |
| 175 | 175 | }; | |
| 176 | 176 | ||
| 177 | + // To maximize backward-compatiblity for the end user, | ||
| 178 | + // a no-op stub method has been added instead of | ||
| 179 | + // totally removing FSWatcher.prototpye.start. | ||
| 180 | + // This should not be documented. | ||
| 181 | + FSWatcher.prototype.start = () => {}; | ||
| 182 | + | ||
| 177 | 183 | // This method is a noop if the watcher has not been started or | |
| 178 | 184 | // has already been closed. | |
| 179 | 185 | FSWatcher.prototype.close = function() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments