You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a project with JSP files as index page. And on other projects where we used include source - everything work fine.
I updated the objects: parsers, endMarkerParsers and templates as follows:
parsers added a row: 'jsp': parseSource('HTML', /<!---?\sinclude:([\s\S]?)-?--\s*>/gi)
endMarkerParsers added a row: 'jsp': findEndMarker('HTML', /<!---?\s*/include\s+-?-->/i)
templates added a row:
'jsp':{
'js': '<script type="text/javascript" src="{filePath}"></script>',
'css': ''
}
And it worked! Need to point out that I use the HTML syntax in this JSP file.
The text was updated successfully, but these errors were encountered:
I am currently working on a project with JSP files as index page. And on other projects where we used include source - everything work fine.
I updated the objects: parsers, endMarkerParsers and templates as follows:
'jsp':{
'js': '<script type="text/javascript" src="{filePath}"></script>',
'css': ''
}
And it worked! Need to point out that I use the HTML syntax in this JSP file.
The text was updated successfully, but these errors were encountered: