// Generated by CoffeeScript 1.10.0 (function() { window.Editor = Backbone.D3View.extend({ namespace: null, tagName: 'div', initialize: function(conf) { var editor_div, wrapper; this.d3el.classed('Editor', true); editor_div = this.d3el.append('div').attr({ "class": 'editor_div' }).style({ position: 'relative' }); wrapper = editor_div.append('div').style({ position: 'absolute', height: '100%', width: '100%' }); this.status_bar = this.d3el.append('div').attr({ "class": 'status_bar' }); this.parser = PEG.buildParser(conf.grammar); this.editor = CodeMirror(wrapper.node(), { lineNumbers: true, lineWrapping: true, keyMap: 'sublime', value: '# concept hierarchy\nCelestialBody\n \n CelestialBody\n stellula\n denotes>\n CelestialBody\n inerrans_stella\n denotes>\n FixedStar\n stella_vagans\n denotes>\n WanderingStar\n planeta\n denotes>\n WanderingStar\n Iuppiter\n denotes>\n Jupiter\n\n# other relations\nJupiter\n