blob: 8ca0fc0862a5beee7edca333c02d0ec070fd4d2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ui/webui/resources/js/cr.js.orig 2016-05-11 19:02:36 UTC
+++ ui/webui/resources/js/cr.js
@@ -444,6 +444,11 @@ var 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() {
|