Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit e6bec22

Browse files
committed
Fix comments
1 parent e4d36f6 commit e6bec22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/document/DocumentCommandHandlers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ define(function (require, exports, module) {
201201
* Creates a document and displays an editor for the specified file path.
202202
* If no path is specified, a file prompt is provided for input.
203203
* @param {?string} fullPath - The path of the file to open; if it's null we'll prompt for it
204-
* @param {?boolean} silent - If true, don't show error message
204+
* @param {boolean=} silent - If true, don't show error message
205205
* @return {$.Promise} a jQuery promise that will be resolved with a new
206206
* document for the specified file path, or rejected if the file can not be read.
207207
*/

src/utils/DragAndDrop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ define(function (require, exports, module) {
7272
return Async.doInParallel(files, function (file) {
7373
var result = new $.Deferred();
7474

75-
// Only open text files
75+
// Only open files
7676
brackets.fs.stat(file, function (err, stat) {
7777
if (!err && stat.isFile()) {
7878
CommandManager.execute(Commands.FILE_ADD_TO_WORKING_SET,

0 commit comments

Comments
 (0)