mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Also fixed the exception caused by IndexedDB being missing. It was there, just not used by inspector.sky. R=esprehn@chromium.org, abarth@chromium.org Review URL: https://codereview.chromium.org/662523003
17 lines
294 B
Plaintext
17 lines
294 B
Plaintext
<script>
|
|
function logParams(name, params) {
|
|
console.log(name + "(" + JSON.stringify(params, null, " ") + ")");
|
|
}
|
|
|
|
function loggingStub(name) {
|
|
return function(params) {
|
|
logParams(name, params);
|
|
}
|
|
}
|
|
|
|
this.exports = {
|
|
logParams: logParams,
|
|
loggingStub: loggingStub,
|
|
}
|
|
</script>
|