pandell / Spagety

Other
0 stars 0 forks source link

Remove Require-text plugin dependency #3

Open cjasinsk opened 10 years ago

cjasinsk commented 10 years ago

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.