mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-15 22:27:12 +03:00
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
//- 💫 INCLUDES > SCRIPTS
|
|
|
|
- scripts = ["vendor/prism.min", "vendor/vue.min"]
|
|
- if (SECTION == "universe") scripts.push("vendor/vue-markdown.min")
|
|
- if (quickstart) scripts.push("vendor/quickstart.min")
|
|
- if (IS_PAGE) scripts.push("vendor/in-view.min")
|
|
- if (IS_PAGE || SECTION == "index") scripts.push("vendor/juniper.min")
|
|
|
|
for script in scripts
|
|
script(src="/assets/js/" + script + ".js")
|
|
script(src="/assets/js/main.js?v#{V_JS}" type=(environment == "deploy") ? null : "module")
|
|
|
|
if environment == "deploy"
|
|
script(src="https://www.google-analytics.com/analytics.js", async)
|
|
script
|
|
| window.ga=window.ga||function(){
|
|
| (ga.q=ga.q||[]).push(arguments)}; ga.l=+new Date;
|
|
| ga('create', '#{ANALYTICS}', 'auto'); ga('send', 'pageview');
|
|
|
|
if IS_PAGE
|
|
script(src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer)
|
|
script
|
|
| ((window.gitter = {}).chat = {}).options = {
|
|
| useStyles: false,
|
|
| activationElement: '.js-gitter-button',
|
|
| targetElement: '.js-gitter',
|
|
| room: '!{SOCIAL.gitter}'
|
|
| };
|