Skip to content

Commit

Permalink
Fix some of the conflict-induced errors in the merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dabbler0 committed Jun 23, 2016
1 parent e06d213 commit 693fcd9
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 99 deletions.
16 changes: 8 additions & 8 deletions example/example.coffee
Expand Up @@ -43,16 +43,16 @@ unless window.ALREADY_LOADED
editor = null

# Droplet itself
<<<<<<< HEAD
#<<<<<<< HEAD
createEditor = (options) ->
$('#droplet-editor').html ''
editor = new droplet.Editor $('#droplet-editor')[0], options
=======
createEditor = (options) ->
$('#droplet-editor').html '<div id="ace-target"></div>'
aceEditor = ace.edit 'ace-target'
editor = new droplet.Editor aceEditor, options
>>>>>>> c_support
#=======
#createEditor = (options) ->
# $('#droplet-editor').html '<div id="ace-target"></div>'
# aceEditor = ace.edit 'ace-target'
# editor = new droplet.Editor aceEditor, options
#>>>>>>> c_support

editor.setEditorState localStorage.getItem('blocks') is 'yes'
editor.aceEditor.getSession().setUseWrapMode true
Expand All @@ -71,7 +71,7 @@ createEditor = (options) ->
editor.toggleBlocks()
localStorage.setItem 'blocks', (if editor.currentlyUsingBlocks then 'yes' else 'no')

# Stuff for testing convenience
# Stuff for testing convenience
$('#update').on 'click', ->
localStorage.setItem 'config', dropletConfig.getValue()
createEditor eval dropletConfig.getValue()
Expand Down

0 comments on commit 693fcd9

Please sign in to comment.