 # ------------------------------------------------------------------------------
 # Handling pjax calls
 # @constructor
-# @param {#object} args
-#   url - the remote url for the ajax call
-#   parent - The parent dom element for the events, defaults to body
-#   container - defaults to js-pjax-container
-#   success - Callback function to fire on pjax success
-#   error - Callback function to fire on pjax error
+# @param {#object} args - defined by config below
 # ------------------------------------------------------------------------------
 
 define ['jquery', 'jplugs/jquery.pjax'], ($) ->

      init()
      $.pjax
        url       : config.url
        container : config.container
    config =
      container : '#js-pjax-container'
      parent    : 'body'
      type      : 'GET'
      timeout   : 650
      url       : ''
      data      : ''
      success   : ->
      error     : ->

