scinote-web/app/assets/javascripts/sitewide/constants.js.erb
2019-06-04 15:55:44 +02:00

4 lines
168 B
Text

const globalConstants = {
name_truncation_length: <%= Constants::NAME_TRUNCATION_LENGTH %>,
is_safari: /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
}