   ###
 
   notification = null
-  notify:(msg, style, details)->
+  notify:(msg, style, details, duration)->
 
     notification.destroy() if notification
 


    file = @getData()
    unless /localfile:/.test file.path
      file.fetchContents callback
    else
      callback null, file.contents or ""

      type      : "mini"
      cssClass  : "editor #{style}"
      container : @parent
      duration  : duration or if details then 5000 else 2500
      details   : details
      click     : ->
        if notification.getOptions().details
