Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2231)

Issue 56400043: Allowing a HTML/JavaScript interface for Spark to use for logging. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by pajamallama
Modified:
10 years, 3 months ago
Reviewers:
tapted
CC:
chrome-apps-internsyd_google.com
Base URL:
https://github.com/tapted/bleeding_edge.git@master
Visibility:
Public.

Description

Allowing a HTML/JavaScript interface for Spark to use for logging. Now if the spark app's HTML includes "packages/tavern/tavern_log.js" then it can pass "js.context.logMessage" to tavern.getDependencies as and the log window will appear mirroring the log output. Known bug to be fixed soon: multiple calls to getDependencies re-adds the extra logging function so the nth call will show each log message n times. R=tapted@chromium.org Committed: https://github.com/tapted/bleeding_edge/commit/4105976

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fixing JS nits. #

Patch Set 3 : Removing jszip.js from repo, made it a makefile cp step. #

Patch Set 4 : No change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -49 lines) Patch
M dart/sdk/lib/_internal/pub/.gitignore View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M dart/sdk/lib/_internal/pub/Makefile View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + dart/sdk/lib/_internal/pub/lib/archive.js View 0 chunks +-1 lines, --1 lines 0 comments Download
D dart/sdk/lib/_internal/pub/lib/src/app/tavern.dart View 1 chunk +0 lines, -36 lines 0 comments Download
A + dart/sdk/lib/_internal/pub/lib/tavern.dart View 1 chunk +6 lines, -6 lines 0 comments Download
A + dart/sdk/lib/_internal/pub/lib/tavern_log.css View 2 chunks +0 lines, -8 lines 0 comments Download
A dart/sdk/lib/_internal/pub/lib/tavern_log.html View 1 chunk +13 lines, -0 lines 0 comments Download
A dart/sdk/lib/_internal/pub/lib/tavern_log.js View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 5
pajamallama
10 years, 3 months ago (2014-01-24 03:29:41 UTC) #1
tapted
https://codereview.appspot.com/56400043/diff/1/dart/sdk/lib/_internal/pub/lib/jszip.js File dart/sdk/lib/_internal/pub/lib/jszip.js (right): https://codereview.appspot.com/56400043/diff/1/dart/sdk/lib/_internal/pub/lib/jszip.js#newcode1 dart/sdk/lib/_internal/pub/lib/jszip.js:1: (function(e){if("function"==typeof bootstrap)bootstrap("jszip",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJSZip=e}else"undefined"!=typeof window?window.JSZip=e():global.JSZip=e()})(function(){var ...
10 years, 3 months ago (2014-01-24 03:41:07 UTC) #2
pajamallama
Fixed those JS nits & removed jszip.js from the repo (now a Makefile step). https://codereview.appspot.com/56400043/diff/1/dart/sdk/lib/_internal/pub/lib/jszip.js ...
10 years, 3 months ago (2014-01-24 05:16:17 UTC) #3
tapted
lgtm
10 years, 3 months ago (2014-01-24 06:13:18 UTC) #4
pajamallama
10 years, 3 months ago (2014-01-27 22:58:45 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r4105976.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b