penpot/frontend/src/app/util/navigator.cljs
2023-07-13 17:05:25 +02:00

14 lines
367 B
Clojure

;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) KALEIDOS INC
(ns app.util.navigator
(:require [app.util.globals :as globals]))
(defn get-user-agent []
(.-userAgent globals/navigator))