Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -179,6 +179,14 @@ |
}; |
} |
+ if (message.what == "browserInfo") |
Sebastian Noack
2017/09/25 17:09:22
Just an idea; how about merging the logic into the
saroyanm
2017/09/25 18:07:53
Don't have strong opinion, on one hand it makes th
Sebastian Noack
2017/09/25 19:07:47
Also note that the reason you introduced "browserI
saroyanm
2017/09/25 20:50:12
I agree with you, looks much more better now.
Done
|
+ { |
+ return { |
+ platform: info.platform, |
+ application: info.application |
+ }; |
+ } |
+ |
return info[message.what]; |
}); |