Remove the need for the Requiretext-plugin dependency (for html / css), by writing plain basic ajax call.
Right now the text-plugin is being used for simplicity sake, but it should be removed, to reduce dependencies.
Also, html does not have to just be .html files. The user should be able to request .php or .cshtml or whatever other file type they desire that provides an html response. These files could also receive queryString parameters, or url parameters to do server side validation first (ex: within a .cshtml file).
It needs to be generic enough, so that the user specifies the extension they want, and it simply calls to the server as the user wants.
Remove the need for the
Require
text-plugin
dependency (for html / css), by writing plain basic ajax call.Right now the
text-plugin
is being used for simplicity sake, but it should be removed, to reduce dependencies.Also,
html
does not have to just be.html
files. The user should be able to request.php
or.cshtml
or whatever other file type they desire that provides an html response. These files could also receive queryString parameters, or url parameters to do server side validation first (ex: within a.cshtml
file).It needs to be generic enough, so that the user specifies the extension they want, and it simply calls to the server as the user wants.