phantom/bindings.js
function wrapSuccess(result) {
      return {
        url: page.url,
        body: getContent(),
        headers: pageInformation.response.headers,
        status: pageInformation.response.status,
        error: result.error ? helpers.serializeError(result.error) : null,
        data: result.data
      };
    }
function wrapSuccess(result) {
      return {
        url: page.url,
        body: getContent(),
        headers: pageInformation.response.headers,
        status: pageInformation.response.status,
        error: result.error ? helpers.serializeError(result.error) : null,
        data: result.data
      };
    }
function wrapSuccess ( result ) { return { url : page . url , body : getContent ( ) , headers : pageInformation . response . headers , status : pageInformation . response . status , error : result . error ? helpers . serializeError ( result . error ) : null , data : result . data } ; }
Wrapping success helper
Wrapping success helper