blob: 9f4e8730e896a00b08f1de61277718b625bf251a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ui/webui/resources/js/cr.js.orig 2019-03-11 22:01:19 UTC
+++ ui/webui/resources/js/cr.js
@@ -463,6 +463,11 @@ var cr = cr || function(global) {
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() {
|