gitlab-org--gitlab-foss/app/views/layouts/_init_client_detection_flags.html.haml

8 lines
155 B
Text
Raw Normal View History

- client = client_js_flags
- if client
-# haml-lint:disable InlineJavaScript
:javascript
gl = window.gl || {};
gl.client = #{client.to_json};