We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b6441c commit 58c8c27Copy full SHA for 58c8c27
1 file changed
src/Analyser/Header/Useragent/Device/Appliance.js
@@ -5,6 +5,7 @@ const Constants = require('../../../../constants');
5
class Appliance {
6
static detectAppliance(ua) {
7
Appliance.detectIOpener.call(this, ua);
8
+ Appliance.detectWebLight.call(this, ua);
9
}
10
11
/* Netpliance i-Opener */
@@ -18,6 +19,18 @@ class Appliance {
18
19
});
20
21
22
+
23
+ /* KOMATSU WebLight */
24
+ static detectWebLight(ua) {
25
+ if (/KOMATSU.*WL\//u.test(ua)) {
26
+ this.data.os.reset();
27
+ this.data.device.setIdentification({
28
+ manufacturer: 'KOMATSU',
29
+ model: 'WebLight',
30
+ type: Constants.deviceType.DESKTOP,
31
+ });
32
+ }
33
34
35
36
module.exports = Appliance;
0 commit comments