// Generated by CoffeeScript 1.10.0 (function() { var app, main_component, side_component; main_component = { props: { data: { type: Array, required: true }, value: { type: Object, required: true } }, template: '
\n
\n
{{item.title}}
\n
\n
', methods: { select: function(d) { return this.$emit('input', d); } } }; side_component = { props: { value: { type: Object, required: true } }, template: '
\n
\n
{{value.title}}
\n
{{value.subtitle}}
\n
{{value.description}}
\n
\n
' }; app = new Vue({ el: '#app', data: { list: [], selection: {} }, components: { 'mainsec': main_component, 'sidesec': side_component }, mounted: function() { return d3.json('data.json', (function(_this) { return function(data) { _this.list = data; return _this.selection = data[0]; }; })(this)); } }); }).call(this);