]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1685840: Dojoless Google Books Preview as external script
authorDan Scott <dscott@laurentian.ca>
Mon, 24 Apr 2017 16:18:12 +0000 (12:18 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 4 May 2017 14:31:30 +0000 (10:31 -0400)
commit55aa6265712b38eb746aa69c5ea93702d1b6950c
tree21b957c7a6188c80d361d895c51e6ae0bd37503a
parente16178021742b7aa83b83152c874c62f769b006c
LP#1685840: Dojoless Google Books Preview as external script

Rather than including the JavaScript inline in each page, load the
JavaScript as a regular external JavaScript file so that browsers
can take advantage of caching, reduce network bandwidth, and reduce the
amount of TT2 processing required. Every little bit helps.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/ac_google_books.tt2 [deleted file]
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/web/js/ui/default/opac/ac_google_books.js [new file with mode: 0644]