From 20543ff0c8b08bf87c46a4bf087a75c9d468cfa8 Mon Sep 17 00:00:00 2001 From: utkarsh.singh Date: Thu, 29 Jun 2017 11:07:09 +0530 Subject: [PATCH] Committed updated files --- 400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js | 10 +--------- 400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js.map | 2 +- 400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.ts | 11 +---------- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js b/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js index 69442c2..224550e 100644 --- a/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js +++ b/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js @@ -85,15 +85,7 @@ var UpdateUserService = (function () { var body = response.json(); console.log(body); }) - .catch(this.logError); - }; - UpdateUserService.prototype.extractData2 = function (res) { - var body = res.json(); - console.log('ServiceResult: ' + body); - return body || {}; - }; - UpdateUserService.prototype.logError = function (error) { - console.log('ServiceError: ' + err); + .catch(this.handleError); }; UpdateUserService = __decorate([ core_1.Injectable(), diff --git a/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js.map b/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js.map index 48a45e0..7e9eadc 100644 --- a/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js.map +++ b/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js.map @@ -1 +1 @@ -{"version":3,"file":"update-user.service.js","sourceRoot":"","sources":["update-user.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA2B,eAAe,CAAC,CAAA;AAC3C,qBAAyE,eAAe,CAAC,CAAA;AACzF,uBAAuB,iBAAiB,CAAC,CAAA;AAEzC,2BAA2B,iBAAiB,CAAC,CAAA;AAC7C,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,yBAAyB,CAA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,CAAA"} \ No newline at end of file +{"version":3,"file":"update-user.service.js","sourceRoot":"","sources":["update-user.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA2B,eAAe,CAAC,CAAA;AAC3C,qBAAyE,eAAe,CAAC,CAAA;AACzF,uBAAuB,iBAAiB,CAAC,CAAA;AAEzC,2BAA2B,iBAAiB,CAAC,CAAA;AAC7C,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,yBAAyB,CAAC,CAAA;AAGjC,0DAA0D;AAG1D;IAaI,2BAAoB,IAAU,EAAU,MAAc;QAClD,iCAAiC;QACjC,qDAAqD;QAFrC,SAAI,GAAJ,IAAI,CAAM;QAAU,WAAM,GAAN,MAAM,CAAQ;QAIlD,yBAAyB;QACzB,8CAA8C;QAC9C,+BAA+B;QAC/B,OAAO;QACP,GAAG;QACH,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IAEtB,CAAC;IAEO,uCAAW,GAAnB,UAAoB,GAAa;QAC7B,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACtB,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;IACtB,CAAC;IACO,uCAAW,GAAnB,UAAoB,KAAqB;QACrC,oEAAoE;QACpE,IAAI,MAAc,CAAC;QACnB,EAAE,CAAC,CAAC,KAAK,YAAY,eAAQ,CAAC,CAAC,CAAC;YAC5B,IAAM,IAAI,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC;YAChC,IAAM,GAAG,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAC/C,MAAM,GAAM,KAAK,CAAC,MAAM,YAAM,KAAK,CAAC,UAAU,IAAI,EAAE,UAAI,GAAK,CAAC;QAClE,CA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a/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.ts b/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.ts index 12da464..6965b50 100644 --- a/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.ts +++ b/400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.ts @@ -100,16 +100,7 @@ export class UpdateUserService { var body = response.json(); console.log(body); }) - .catch(this.logError); - } - - private extractData2(res: Response) { - let body = res.json(); - console.log('ServiceResult: ' + body); - return body || {}; + .catch(this.handleError); } - logError(error: Response | any) { - console.log('ServiceError: ' + err); - } } \ No newline at end of file -- libgit2 0.21.4