Change: don't wait when broadcasting messages

This commit is contained in:
eight 2018-12-26 01:41:20 +08:00
parent ddd03eab1d
commit f01ec23307

View File

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