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

Commit a666b3f

Browse files
author
Narciso Jaramillo
committed
Merge pull request #4059 from shikolay/master
[OPEN] Minor clean ups
2 parents 7a5509e + 248ca5f commit a666b3f

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/document/DocumentCommandHandlers.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,7 @@ define(function (require, exports, module) {
904904

905905
// Init DOM elements
906906
AppInit.htmlReady(function () {
907-
var $titleContainerToolbar = $("#titlebar");
908-
_$titleContainerToolbar = $titleContainerToolbar;
907+
_$titleContainerToolbar = $("#titlebar");
909908
_$titleWrapper = $(".title-wrapper", _$titleContainerToolbar);
910909
_$title = $(".title", _$titleWrapper);
911910
_$dirtydot = $(".dirty-dot", _$titleWrapper);

src/document/DocumentManager.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,8 +1223,6 @@ define(function (require, exports, module) {
12231223
* @param {string} path The path of the file/folder that has been deleted
12241224
*/
12251225
function notifyPathDeleted(path) {
1226-
var i, docPath;
1227-
12281226
/* FileSyncManager.syncOpenDocuments() does all the work of closing files
12291227
in the working set and notifying the user of any unsaved changes. */
12301228
FileSyncManager.syncOpenDocuments(Strings.FILE_DELETED_TITLE);

0 commit comments

Comments
 (0)