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

Commit

Permalink
Remove HTML file checking in setDocInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jrowny committed Mar 22, 2013
1 parent 051f2da commit 0ad0aa9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/LiveDevelopment/LiveDevelopment.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ define(function LiveDevelopment(require, exports, module) {
doc.url = parentUrl + encodeURI(matches[2]);

// the root represents the document that should be displayed in the browser
// for live development (the file for HTML files, index.html for others)
// for live development (the file for HTML files)
// TODO: Issue #2033 Improve how default page is determined
rootUrl = (_isHtmlFileExt(matches[3]) ? doc.url : parentUrl + "index.html");
doc.root = { url: rootUrl };
doc.root = { url: doc.url };
}

/** Get the current document from the document manager
Expand Down

0 comments on commit 0ad0aa9

Please sign in to comment.