summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_webui_resources_js_cr.js
blob: 73a2958bfc9182a45db8426a9648314f4bd7fa6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ui/webui/resources/js/cr.js.orig	2017-04-19 19:06:55 UTC
+++ ui/webui/resources/js/cr.js
@@ -451,6 +451,11 @@ var cr = cr || function() {
     get doc() {
       return document;
     },
+    
+    /** Whether this is on *BSD. */
+    get isBSD() {
+      return /BSD/.test(navigator.userAgent);
+    },
 
     /** Whether we are using a Mac or not. */
     get isMac() {