From fc2d282e9377303f1fa83caf2fc9a842e79d2c06 Mon Sep 17 00:00:00 2001 From: Daniel Brain Date: Wed, 5 Oct 2016 12:15:07 -0700 Subject: [PATCH] Use jsonStringify for sending messages --- src/drivers/send/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/send/index.js b/src/drivers/send/index.js index eb4627e0..d1e5619c 100644 --- a/src/drivers/send/index.js +++ b/src/drivers/send/index.js @@ -62,7 +62,7 @@ export function sendMessage(win, message, domain) { let messages = []; - let serializedMessage = JSON.stringify({ + let serializedMessage = jsonStringify({ [ CONSTANTS.WINDOW_PROPS.POSTROBOT ]: message }, 0, 2);