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

[OPEN] Minor clean ups #4059

Merged
merged 1 commit into from
Jun 12, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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