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

Commit

Permalink
Merge pull request #4059 from shikolay/master
Browse files Browse the repository at this point in the history
[OPEN] Minor clean ups
  • Loading branch information
Narciso Jaramillo committed Jun 12, 2013
2 parents 7a5509e + 248ca5f commit a666b3f
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 a666b3f

Please sign in to comment.