7 Commits

Author SHA1 Message Date
rebloor
82217a05bc Replace var with let in examples (#484)
* Replace var with let in examples

store-collected-images/webextension-plain/deps/uuidv4.js

* Reverted third–party code
2022-08-11 04:27:28 +12:00
YFdyh000
a547c672e7 run eslint --fix . 2017-07-09 05:57:35 +08:00
Rob Wu
3870a213bb Fix value check in page-to-extension-messaging example (#229)
Check the value of "event.data" before dereferencing it,
to avoid errors when void messages are sent using postMessage.

And remove the "event.data.direction" truthness check, because the
actual value is already tested at the next line.
2017-06-08 08:06:34 -07:00
Will Bamberg
1967f9ba6a move listener definitions above references 2016-02-19 13:30:32 -08:00
Will Bamberg
5f58a9f23b added comments to one missing file 2016-01-14 15:08:36 -08:00
Will Bamberg
bcc14c1b7a added origin in postMessage() call 2016-01-05 16:15:15 -08:00
Will Bamberg
29697b03f8 2-way messaging 2015-09-17 22:12:53 -07:00