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

Commit

Permalink
remove unused local vars and redundant var
Browse files Browse the repository at this point in the history
  • Loading branch information
shikolay committed Jun 2, 2013
1 parent cc5ac78 commit 248ca5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/document/DocumentCommandHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,7 @@ define(function (require, exports, module) {

// Init DOM elements
AppInit.htmlReady(function () {
var $titleContainerToolbar = $("#titlebar");
_$titleContainerToolbar = $titleContainerToolbar;
_$titleContainerToolbar = $("#titlebar");
_$titleWrapper = $(".title-wrapper", _$titleContainerToolbar);
_$title = $(".title", _$titleWrapper);
_$dirtydot = $(".dirty-dot", _$titleWrapper);
Expand Down
2 changes: 0 additions & 2 deletions src/document/DocumentManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,6 @@ define(function (require, exports, module) {
* @param {string} path The path of the file/folder that has been deleted
*/
function notifyPathDeleted(path) {
var i, docPath;

/* FileSyncManager.syncOpenDocuments() does all the work of closing files
in the working set and notifying the user of any unsaved changes. */
FileSyncManager.syncOpenDocuments(Strings.FILE_DELETED_TITLE);
Expand Down

0 comments on commit 248ca5f

Please sign in to comment.