         @.data 'aced_editor', editor
 
         delete options['id']
-        @.aced_conf options
+        @.aced 'conf', options
       ,
       conf: (options) ->
         unless @.data('aced_editor')

  ($) ->
    methods = {
      init: (options) ->
        unless options['id']
          if @.attr('id').length > 0
            options['id'] = @.attr 'id'

        if options['mode']
          editorMode = require("ace/mode/#{options['mode']}").Mode
          editor.getSession().setMode(new editorMode())  
        @
    }  

    $.fn.aced = (method) ->
