 
     @wrapperElement.appendChild @aceElement
 
+    console.log 'Just appended ace element'
+
     @aceEditor = ace.edit @aceElement
 
     @aceEditor.setTheme 'ace/theme/chrome'

              @currentHighlightedPaletteBlock = block
          else if block is @currentHighlightedPaletteBlock
            @currentHighlightedPaletteBlock = null
            @clearPalettehighlightCanvas()

        hoverDiv.addEventListener 'mouseout', (event) =>
          if block is @currentHighlightedPaletteBlock


  # PALETTE HIGHLIGHT CODE
  # ================================
  hook 'populate', 1, ->
    @paletteHighlightCanvas = document.createElement 'canvas'
    @paletteHighlightCanvas.className = 'ice-palette-highlight-canvas'
    @paletteHighlightCtx = @paletteHighlightCanvas.getContext '2d'
