Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: sky/framework/inspector/debug.sky

Issue 662523003: Add a very minimal CSSAgent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/framework/inspector/debug.sky
diff --git a/sky/framework/inspector/debug.sky b/sky/framework/inspector/debug.sky
new file mode 100644
index 0000000000000000000000000000000000000000..1a33fff5dce6ec4723704ed57e032ee3e17a8f82
--- /dev/null
+++ b/sky/framework/inspector/debug.sky
@@ -0,0 +1,16 @@
+<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>

Powered by Google App Engine
This is Rietveld 408576698