code: function() {
          $module
            .data(metadata.promise, false)
            .data(metadata.xhr, false)
          ;
          $context
            .removeClass(className.error)
            .removeClass(className.loading)
          ;
        }
docs: reset api request