 
       clickHandler = =>
         do updatePalette
-        for event in editorBindings.set_palette
-          event.call this
 
       paletteGroupHeader.addEventListener 'click', clickHandler
       paletteGroupHeader.addEventListener 'touchstart', clickHandler

    if @currentHighlightedPaletteBlock?
      @paletteHighlightPath.draw @paletteHighlightCtx

  hook 'rebuild_palette', 0, ->
    # Remove the existent blocks
    @paletteScrollerStuffing.innerHTML = ''


  # PUBLIC EVENT BINDING HOOKS
  # ===============================

  Editor::on = (event, handler) ->
    @bindings[event] = handler

