Changeset 37207
- Timestamp:
- 04/13/10 02:34:30 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/auto_source.js
r37206 r37207 152 152 killWatcher(filepath); 153 153 } else { 154 throw 'The file has already been watched: ' + filepath;154 return liberator.echoerr('The file has already been watched: ' + filepath); 155 155 } 156 156 } … … 182 182 function killWatcher (filepath) { 183 183 if (!exists(filepath)) 184 throw 'The file is not watched: ' + filepath;184 return liberator.echoerr('The file is not watched: ' + filepath); 185 185 remove(filepath, function (it) clearInterval(it.handle)); 186 186 liberator.echo('stopped the watching for the file');
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)