Change: don't wait when broadcasting messages (#622)

This commit is contained in:
eight 2018-12-26 20:51:21 +08:00 committed by Rob Garrison
parent ddd03eab1d
commit 52b7742a45

View File

@ -290,8 +290,8 @@ const styleManager = (() => {
style.data = data;
method = 'styleUpdated';
}
return broadcastStyleUpdated(data, reason, method, codeIsUpdated)
.then(() => data);
broadcastStyleUpdated(data, reason, method, codeIsUpdated);
return data;
}
// get styles matching a URL, including sloppy regexps and excluded items.