Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Update embedding-trace-viewer.md #4603

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tracing/docs/embedding-trace-viewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ In your code, `<link rel="import" href="trace_viewer_full.html">`. Then, to get
With the viewer created, you need to then make a TraceModel:
```
var model = new tr.Model();
var i = new tr.importer.Import(m);
var i = new tr.importer.Import(model);
// `result` below is the javascript object of the data to analyze.
var p = i.importTracesWithProgressDialog([result]);
p.then(function() {
viewer.model = model;
Expand Down