Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 1926683002: docserver: Load JS async defer since it really isn't required and it was blocking the loading of th… (Closed)

Created:
4 years, 7 months ago by jcgregorio
Modified:
4 years, 7 months ago
Reviewers:
dogben
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/buildbot@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

docserver: Load JS async defer since it really isn't required and it was blocking the loading of the rest of the page. BUG=skia: Committed: https://skia.googlesource.com/buildbot/+/afdd788dc39a810e7621ff931d8c4a3680fefbf5

Patch Set 1 #

Total comments: 4

Patch Set 2 : consolidate js #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -67 lines) Patch
M doc/Makefile View 1 1 chunk +2 lines, -2 lines 0 comments Download
A doc/res/js/docs.js View 1 1 chunk +60 lines, -0 lines 2 comments Download
M doc/templates/index.html View 1 3 chunks +1 line, -65 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
jcgregorio
4 years, 7 months ago (2016-04-27 14:27:37 UTC) #2
dogben
lgtm https://codereview.chromium.org/1926683002/diff/1/doc/templates/index.html File doc/templates/index.html (right): https://codereview.chromium.org/1926683002/diff/1/doc/templates/index.html#newcode11 doc/templates/index.html:11: <script async defer src="/res/js/core.js"></script> I think specifying both ...
4 years, 7 months ago (2016-04-27 14:59:21 UTC) #3
jcgregorio
https://codereview.chromium.org/1926683002/diff/1/doc/templates/index.html File doc/templates/index.html (right): https://codereview.chromium.org/1926683002/diff/1/doc/templates/index.html#newcode11 doc/templates/index.html:11: <script async defer src="/res/js/core.js"></script> On 2016/04/27 at 14:59:21, Ben ...
4 years, 7 months ago (2016-04-27 16:56:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926683002/20001
4 years, 7 months ago (2016-04-27 16:56:25 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/buildbot/+/afdd788dc39a810e7621ff931d8c4a3680fefbf5
4 years, 7 months ago (2016-04-27 16:59:25 UTC) #9
dogben
https://codereview.chromium.org/1926683002/diff/20001/doc/res/js/docs.js File doc/res/js/docs.js (right): https://codereview.chromium.org/1926683002/diff/20001/doc/res/js/docs.js#newcode58 doc/res/js/docs.js:58: var s = document.getElementsByTagName('script')[0]; Is this referring to the ...
4 years, 7 months ago (2016-04-27 17:10:31 UTC) #10
jcgregorio
4 years, 7 months ago (2016-04-27 17:17:30 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/1926683002/diff/20001/doc/res/js/docs.js
File doc/res/js/docs.js (right):

https://codereview.chromium.org/1926683002/diff/20001/doc/res/js/docs.js#newc...
doc/res/js/docs.js:58: var s = document.getElementsByTagName('script')[0];
On 2016/04/27 at 17:10:31, Ben Wagner wrote:
> Is this referring to the script element that you removed?

No, this is just code that says add this new script before the very first script
on the page.

Powered by Google App Engine
This is Rietveld 408576698