2016-07-17 08:00:03 +00:00
|
|
|
$NetBSD$
|
|
|
|
|
2020-07-27 03:07:44 +00:00
|
|
|
--- ui/webui/resources/js/cr.js.orig 2020-07-15 18:56:34.000000000 +0000
|
2016-07-17 08:00:03 +00:00
|
|
|
+++ ui/webui/resources/js/cr.js
|
2020-07-27 03:07:44 +00:00
|
|
|
@@ -431,6 +431,11 @@ var cr = cr || function(global) {
|
|
|
|
return /Mac/.test(navigator.platform);
|
2016-07-17 08:00:03 +00:00
|
|
|
},
|
2020-07-27 03:07:44 +00:00
|
|
|
|
2016-07-17 08:00:03 +00:00
|
|
|
+ /** Whether this is on *BSD. */
|
|
|
|
+ get isBSD() {
|
2020-07-27 03:07:44 +00:00
|
|
|
+ return /BSD/.test(navigator.platform);
|
2016-07-17 08:00:03 +00:00
|
|
|
+ },
|
2020-07-27 03:07:44 +00:00
|
|
|
+
|
|
|
|
/** Whether this is on the Windows platform or not. */
|
|
|
|
get isWindows() {
|
|
|
|
return /Win/.test(navigator.platform);
|