public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e8159
)
See #260 - adds worker error logging.
author
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Mon, 31 Oct 2016 20:23:59 +0000
(21:23 +0100)
committer
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Thu, 3 Nov 2016 19:06:20 +0000
(20:06 +0100)
Why:
* At least there will be some feedback.
docs/js/optimizer.js
patch
|
blob
|
history
diff --git
a/docs/js/optimizer.js
b/docs/js/optimizer.js
index
74cbcbd
..
0a2349e
100644
(file)
--- a/
docs/js/optimizer.js
+++ b/
docs/js/optimizer.js
@@
-7,6
+7,9
@@
Optimizer = {
Optimizer.oncomplete(event.data.id, event.data.output)
}
}
+ this.worker.onerror = function (event) {
+ console.error(event)
+ }
},
process: function (id, styles) {