File tree Expand file tree Collapse file tree 3 files changed +4455
-3625
lines changed
public/broccoli-viz-files Expand file tree Collapse file tree 3 files changed +4455
-3625
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export default Ember.Controller.extend({
25
25
. then ( ( response ) => {
26
26
return response . json ( ) ;
27
27
} )
28
- . then ( ( response ) => {
29
- this . get ( 'graph' ) . setGraph ( JSON . parse ( contents ) ) ;
28
+ . then ( ( contents ) => {
29
+ this . get ( 'graph' ) . setGraph ( contents ) ;
30
30
} ) ;
31
31
}
32
32
}
Original file line number Diff line number Diff line change 6
6
<div >
7
7
<select onchange ={{ action ' useSample' value =" target.value" }} >
8
8
<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 >
10
10
<option value =" ./broccoli-viz-files/ghost-initial-build-canary-ember-cli-20161222.json" >Ghost Admin Client - 2016-12-22</option >
11
11
</select >
12
12
</div >
You can’t perform that action at this time.
0 commit comments