Skip to content

Commit 14aedb5

Browse files
author
Robert Jackson
committed
Update blank example...
1 parent 4d08e20 commit 14aedb5

File tree

3 files changed

+4455
-3625
lines changed

3 files changed

+4455
-3625
lines changed

app/controllers/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export default Ember.Controller.extend({
2525
.then((response) => {
2626
return response.json();
2727
})
28-
.then((response) => {
29-
this.get('graph').setGraph(JSON.parse(contents));
28+
.then((contents) => {
29+
this.get('graph').setGraph(contents);
3030
});
3131
}
3232
}

app/templates/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div>
77
<select onchange={{action 'useSample' value="target.value"}}>
88
<option selected disabled>Choose sample file</option>
9-
<option value="./broccoli-viz-files/initial-build-canary-20161220.json">Empty Project - 2016-12-20</option>
9+
<option value="./broccoli-viz-files/initial-build-2-12-beta-1.json">Empty Project - [email protected]</option>
1010
<option value="./broccoli-viz-files/ghost-initial-build-canary-ember-cli-20161222.json">Ghost Admin Client - 2016-12-22</option>
1111
</select>
1212
</div>

0 commit comments

Comments
 (0)