Turning off use strict in prep for turning it right back on in the magazine branch.

This commit is contained in:
Samuel Clay 2022-02-28 14:28:15 -05:00
parent 170529682a
commit d7b81d7b68
2 changed files with 21 additions and 21 deletions

View file

@ -80,15 +80,6 @@
tags:
- never
- static
- name: Pull newsblur_web github
git:
repo: https://github.com/samuelclay/NewsBlur.git
dest: /srv/newsblur/
version: master
register: pulled
tags:
- static
- name: Downloading JS/CSS assets from S3
vars:
@ -114,19 +105,28 @@
tags:
- never
- static
- name: Reload gunicorn
become: yes
block:
- name: Find gunicorn master process
shell: "ps -C gunicorn fch -o pid | head -n 1"
register: psaux
- name: Reload gunicorn
command: "kill -HUP {{ psaux.stdout }}"
# when: pulled.changed
- name: Pull newsblur_web github
git:
repo: https://github.com/samuelclay/NewsBlur.git
dest: /srv/newsblur/
version: master
register: pulled
tags:
- static
- never
# - name: Reload gunicorn
# become: yes
# block:
# - name: Find gunicorn master process
# shell: "ps -C gunicorn fch -o pid | head -n 1"
# register: psaux
# - name: Reload gunicorn
# command: "kill -HUP {{ psaux.stdout }}"
# # when: pulled.changed
# tags:
# - static
# - never
- name: Start Consul
become: yes

View file

@ -813,7 +813,7 @@ PIPELINE = {
# 'CSS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
# 'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
'CLOSURE_BINARY': '/usr/bin/java -jar /usr/local/bin/compiler.jar',
'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --language_out ECMASCRIPT_2016 --warning_level DEFAULT',
'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --language_out ECMASCRIPT_2016 --warning_level DEFAULT --emit_use_strict=false',
'JAVASCRIPT': {
'common': {
'source_filenames': assets['javascripts']['common'],