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

Remove HTML file checking in setDocInfo - #3218

Merged
redmunds merged 2 commits into
adobe:masterfrom
jrowny:liveDev_noIndexHtml
Mar 26, 2013
Merged

redmunds merged 2 commits into
adobe:masterfrom
jrowny:liveDev_noIndexHtml

Conversation

@jrowny

@jrowny jrowny commented Mar 22, 2013

Copy link
Copy Markdown
Contributor

Now that the static server exists, I believe that checking for type should be done by the canServe function of the provider. The StaticProvider already checks for HTML extension, so this line of code can not be executed anyway. This is a temporary fix as a longer term re-factoring is need.

@ghost ghost assigned redmunds Mar 22, 2013
@redmunds

Copy link
Copy Markdown
Contributor

The intent for the code being changed here is to prevent user from using Live Dev on non-HTML files, but that is apparently being prevented elsewhere, because I cannot find anything that is broken with this change.

Looks good. Merging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants