D Profile Viewer
Nordlöw via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Jun 2 00:19:37 PDT 2016
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote:
> Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer
> Please let me know if you find any bugs.
It's better to use backticks to produce raw string literals for
all the quoted code. Then you don't have to backslash all the
double-quotes in the HTML and JS here:
https://bitbucket.org/andrewtrotman/d-profile-viewer/src/b8292aad50dab5ceca6a9067f0d867f89d9c0d20/source/app.d?at=default&fileviewer=file-view-default
The for instance
"
<script type=\"text/javascript\"
src=\"https://www.google.com/jsapi\"></script>
"
becomes
`
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
`
Thanks!
More information about the Digitalmars-d-announce
mailing list