     else
       at += " center"
       my += " center"
-    target = if obj.hasClass("from-mouse") then 'mouse' else obj
-    obj.qtip
+    target = if obj.hasClass("from-mouse") then "mouse" else obj
+    options =
       position:
         my: my
         at: at

          method: "shift"
      style:
        classes: "ui-tooltip-tipsy ui-tooltip-mconf-label"

$ ->
  bindTooltips()

mconf = window.mconf or= {}
mconf.tooltips = {}

mconf.tooltips.create = (obj, options={}) ->
  obj.qtip options

mconf.tooltips.bind = ->
  # Inserts a tooltip for every element with the class 'tooltipped'
  # Uses qTip
  # Examples:
