Commit 90027dd8 by chencong

修改测试文件

parent 08a79d7b
...@@ -3,6 +3,6 @@ var laserExtensionId = "abcdefghijklmnoabcdefhijklmnoabc"; ...@@ -3,6 +3,6 @@ var laserExtensionId = "abcdefghijklmnoabcdefhijklmnoabc";
// Make a simple request: // Make a simple request:
chrome.runtime.sendMessage(laserExtensionId, {getTargetData: true}, chrome.runtime.sendMessage(laserExtensionId, {getTargetData: true},
function(response) { function(response) {
if (targetInRange(response.targetData)) alert(1)
chrome.runtime.sendMessage(laserExtensionId, {activateLasers: true}); console.log(response)
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment