Procházet zdrojové kódy

made some changes in my apiProvider

Roy před 6 roky
rodič
revize
65c7d15479

+ 1
- 1
ionic-fb/.sourcemaps/main.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 2
- 0
ionic-fb/src/index.html Zobrazit soubor

@@ -45,5 +45,7 @@
45 45
   <!-- The main bundle js is generated during the build process -->
46 46
   <script src="build/main.js"></script>
47 47
 
48
+  
49
+
48 50
 </body>
49 51
 </html>

+ 2
- 1
ionic-fb/src/providers/api/api.ts Zobrazit soubor

@@ -20,7 +20,8 @@ export class ApiProvider {
20 20
   }
21 21
 
22 22
   saveUser(createAccountInfo: any) : Observable<Object> {
23
-    return this.http.post(`http://localhost:8080/user/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
23
+    //return this.http.post(`http://localhost:8080/user/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
24
+    return this.http.post(`http://localhost:8080/user/add`, createAccountInfo);
24 25
   }
25 26
 
26 27
 }

+ 1
- 1
ionic-fb/www/build/1.js Zobrazit soubor

@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamsPageModule", function() { return TeamsPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams__ = __webpack_require__(103);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams__ = __webpack_require__(104);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 2
- 2
ionic-fb/www/build/2.js Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([2],{
2 2
 
3
-/***/ 286:
3
+/***/ 285:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamHomePageModule", function() { return TeamHomePageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home__ = __webpack_require__(104);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home__ = __webpack_require__(105);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 2
- 2
ionic-fb/www/build/3.js Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([3],{
2 2
 
3
-/***/ 285:
3
+/***/ 286:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamDetailsPageModule", function() { return TeamDetailsPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details__ = __webpack_require__(105);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details__ = __webpack_require__(106);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 1
- 1
ionic-fb/www/build/4.js Zobrazit soubor

@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StandingsPageModule", function() { return StandingsPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__standings__ = __webpack_require__(106);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__standings__ = __webpack_require__(107);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 2
- 2
ionic-fb/www/build/5.js Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([5],{
2 2
 
3
-/***/ 283:
3
+/***/ 282:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SignUpPageModule", function() { return SignUpPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__sign_up__ = __webpack_require__(107);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__sign_up__ = __webpack_require__(102);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 2
- 2
ionic-fb/www/build/6.js Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([6],{
2 2
 
3
-/***/ 282:
3
+/***/ 283:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MyTeamsPageModule", function() { return MyTeamsPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__my_teams__ = __webpack_require__(102);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__my_teams__ = __webpack_require__(103);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 92
- 91
ionic-fb/www/build/main.js Zobrazit soubor

@@ -4,12 +4,74 @@ webpackJsonp([7],{
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
7
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
8
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_api__ = __webpack_require__(78);
11
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
12
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
15
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+};
17
+var __metadata = (this && this.__metadata) || function (k, v) {
18
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
19
+};
20
+
21
+
22
+
23
+/**
24
+ * Generated class for the SignUpPage page.
25
+ *
26
+ * See https://ionicframework.com/docs/components/#navigation for more info on
27
+ * Ionic pages and navigation.
28
+ */
29
+var SignUpPage = /** @class */ (function () {
30
+    function SignUpPage(navCtrl, navParams, apiProvider) {
31
+        this.navCtrl = navCtrl;
32
+        this.navParams = navParams;
33
+        this.apiProvider = apiProvider;
34
+        this.user = {};
35
+    }
36
+    // ngOnInit(){
37
+    //   this.loadUsers();
38
+    // }
39
+    // loadUsers(){
40
+    //   this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
41
+    // err => {
42
+    //   console.log(err);
43
+    // });
44
+    // }
45
+    SignUpPage.prototype.ionViewDidLoad = function () {
46
+        console.log('ionViewDidLoad SignUpPage');
47
+    };
48
+    SignUpPage.prototype.test = function (createAccountInfo) {
49
+        console.log(createAccountInfo);
50
+        this.apiProvider.saveUser(createAccountInfo).subscribe(console.log);
51
+    };
52
+    SignUpPage = __decorate([
53
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
54
+            selector: 'page-sign-up',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/'<!--\n  Generated template for the SignUpPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>sign-up</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n    <div class="signUp-box">\n    <form #registerForm="ngForm" (ng-submit)="test(registerForm.value)">\n      <ion-row>\n        <ion-col>\n          <ion-list inset>\n            <ion-item>\n              <ion-input type="text" placeholder="Username" name="name" required [(ngModel)]="Username" ></ion-input>\n            </ion-item>\n            <ion-item>\n                <ion-input type="text" placeholder="Email" name="email" required [(ngModel)]="Email" ></ion-input>\n              </ion-item>\n            <ion-item>\n              <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n            </ion-item>\n          </ion-list>\n        </ion-col>\n      </ion-row>\n      <ion-row>\n        <ion-col class="signup-col">\n          <button ion-button class="submit-btn" type="submit" (click)="test(registerForm.value)">Create Account</button>\n        </ion-col>\n      </ion-row>\n    </form>\n  \n  </div>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/,
55
+        }),
56
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_api__["a" /* ApiProvider */]])
57
+    ], SignUpPage);
58
+    return SignUpPage;
59
+}());
60
+
61
+//# sourceMappingURL=sign-up.js.map
62
+
63
+/***/ }),
64
+
65
+/***/ 103:
66
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
67
+
68
+"use strict";
7 69
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyTeamsPage; });
8 70
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9 71
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
10 72
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__ = __webpack_require__(50);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_api_api__ = __webpack_require__(79);
12
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__ = __webpack_require__(107);
73
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_api_api__ = __webpack_require__(78);
74
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__ = __webpack_require__(102);
13 75
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
14 76
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15 77
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -59,14 +121,14 @@ var MyTeamsPage = /** @class */ (function () {
59 121
 
60 122
 /***/ }),
61 123
 
62
-/***/ 103:
124
+/***/ 104:
63 125
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
64 126
 
65 127
 "use strict";
66 128
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamsPage; });
67 129
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
68 130
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
69
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home_team_home__ = __webpack_require__(104);
131
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home_team_home__ = __webpack_require__(105);
70 132
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
71 133
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
72 134
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -114,15 +176,15 @@ var TeamsPage = /** @class */ (function () {
114 176
 
115 177
 /***/ }),
116 178
 
117
-/***/ 104:
179
+/***/ 105:
118 180
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
119 181
 
120 182
 "use strict";
121 183
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamHomePage; });
122 184
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
123 185
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
124
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__ = __webpack_require__(105);
125
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__standings_standings__ = __webpack_require__(106);
186
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__ = __webpack_require__(106);
187
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__standings_standings__ = __webpack_require__(107);
126 188
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
127 189
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
128 190
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -165,7 +227,7 @@ var TeamHomePage = /** @class */ (function () {
165 227
 
166 228
 /***/ }),
167 229
 
168
-/***/ 105:
230
+/***/ 106:
169 231
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
170 232
 
171 233
 "use strict";
@@ -213,7 +275,7 @@ var TeamDetailsPage = /** @class */ (function () {
213 275
 
214 276
 /***/ }),
215 277
 
216
-/***/ 106:
278
+/***/ 107:
217 279
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
218 280
 
219 281
 "use strict";
@@ -258,68 +320,6 @@ var StandingsPage = /** @class */ (function () {
258 320
 
259 321
 /***/ }),
260 322
 
261
-/***/ 107:
262
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
263
-
264
-"use strict";
265
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
266
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
267
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
268
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_api__ = __webpack_require__(79);
269
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
270
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
271
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
272
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
273
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
274
-};
275
-var __metadata = (this && this.__metadata) || function (k, v) {
276
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
277
-};
278
-
279
-
280
-
281
-/**
282
- * Generated class for the SignUpPage page.
283
- *
284
- * See https://ionicframework.com/docs/components/#navigation for more info on
285
- * Ionic pages and navigation.
286
- */
287
-var SignUpPage = /** @class */ (function () {
288
-    function SignUpPage(navCtrl, navParams, apiProvider) {
289
-        this.navCtrl = navCtrl;
290
-        this.navParams = navParams;
291
-        this.apiProvider = apiProvider;
292
-        this.user = {};
293
-    }
294
-    // ngOnInit(){
295
-    //   this.loadUsers();
296
-    // }
297
-    // loadUsers(){
298
-    //   this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
299
-    // err => {
300
-    //   console.log(err);
301
-    // });
302
-    // }
303
-    SignUpPage.prototype.ionViewDidLoad = function () {
304
-        console.log('ionViewDidLoad SignUpPage');
305
-    };
306
-    SignUpPage.prototype.test = function (createAccountInfo) {
307
-        console.log(createAccountInfo);
308
-        this.apiProvider.saveUser(createAccountInfo).subscribe(console.log);
309
-    };
310
-    SignUpPage = __decorate([
311
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
312
-            selector: 'page-sign-up',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/'<!--\n  Generated template for the SignUpPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar color="primary">\n    <ion-title>sign-up</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n    <div class="signUp-box">\n    <form #registerForm="ngForm" (ng-submit)="test(registerForm.value)">\n      <ion-row>\n        <ion-col>\n          <ion-list inset>\n            <ion-item>\n              <ion-input type="text" placeholder="Username" name="name" required [(ngModel)]="Username" ></ion-input>\n            </ion-item>\n            <ion-item>\n                <ion-input type="text" placeholder="Email" name="email" required [(ngModel)]="Email" ></ion-input>\n              </ion-item>\n            <ion-item>\n              <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n            </ion-item>\n          </ion-list>\n        </ion-col>\n      </ion-row>\n      <ion-row>\n        <ion-col class="signup-col">\n          <button ion-button class="submit-btn" type="submit" (click)="test(registerForm.value)">Create Account</button>\n        </ion-col>\n      </ion-row>\n    </form>\n  \n  </div>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/,
313
-        }),
314
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_api__["a" /* ApiProvider */]])
315
-    ], SignUpPage);
316
-    return SignUpPage;
317
-}());
318
-
319
-//# sourceMappingURL=sign-up.js.map
320
-
321
-/***/ }),
322
-
323 323
 /***/ 119:
324 324
 /***/ (function(module, exports) {
325 325
 
@@ -342,11 +342,11 @@ webpackEmptyAsyncContext.id = 119;
342 342
 
343 343
 var map = {
344 344
 	"../pages/my-teams/my-teams.module": [
345
-		282,
345
+		283,
346 346
 		6
347 347
 	],
348 348
 	"../pages/sign-up/sign-up.module": [
349
-		283,
349
+		282,
350 350
 		5
351 351
 	],
352 352
 	"../pages/standings/standings.module": [
@@ -354,11 +354,11 @@ var map = {
354 354
 		4
355 355
 	],
356 356
 	"../pages/team-details/team-details.module": [
357
-		285,
357
+		286,
358 358
 		3
359 359
 	],
360 360
 	"../pages/team-home/team-home.module": [
361
-		286,
361
+		285,
362 362
 		2
363 363
 	],
364 364
 	"../pages/teams/teams.module": [
@@ -391,7 +391,7 @@ module.exports = webpackAsyncContext;
391 391
 
392 392
 "use strict";
393 393
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LeagueServiceProvider; });
394
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
394
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(79);
395 395
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
396 396
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
397 397
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -457,19 +457,19 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
457 457
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
458 458
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
459 459
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(18);
460
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_common_http__ = __webpack_require__(78);
460
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_common_http__ = __webpack_require__(79);
461 461
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(274);
462 462
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_status_bar__ = __webpack_require__(202);
463 463
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_splash_screen__ = __webpack_require__(205);
464
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_teams_teams__ = __webpack_require__(103);
465
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_my_teams_my_teams__ = __webpack_require__(102);
464
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_teams_teams__ = __webpack_require__(104);
465
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_my_teams_my_teams__ = __webpack_require__(103);
466 466
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__ = __webpack_require__(50);
467
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__ = __webpack_require__(105);
468
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__ = __webpack_require__(106);
469
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__ = __webpack_require__(104);
467
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__ = __webpack_require__(106);
468
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__ = __webpack_require__(107);
469
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__ = __webpack_require__(105);
470 470
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_league_service_league_service__ = __webpack_require__(162);
471
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_api_api__ = __webpack_require__(79);
472
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__ = __webpack_require__(107);
471
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_api_api__ = __webpack_require__(78);
472
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__ = __webpack_require__(102);
473 473
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
474 474
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
475 475
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -512,11 +512,11 @@ var AppModule = /** @class */ (function () {
512 512
                 __WEBPACK_IMPORTED_MODULE_3__angular_common_http__["b" /* HttpClientModule */],
513 513
                 __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
514 514
                     links: [
515
-                        { loadChildren: '../pages/my-teams/my-teams.module#MyTeamsPageModule', name: 'MyTeamsPage', segment: 'my-teams', priority: 'low', defaultHistory: [] },
516 515
                         { loadChildren: '../pages/sign-up/sign-up.module#SignUpPageModule', name: 'SignUpPage', segment: 'sign-up', priority: 'low', defaultHistory: [] },
516
+                        { loadChildren: '../pages/my-teams/my-teams.module#MyTeamsPageModule', name: 'MyTeamsPage', segment: 'my-teams', priority: 'low', defaultHistory: [] },
517 517
                         { loadChildren: '../pages/standings/standings.module#StandingsPageModule', name: 'StandingsPage', segment: 'standings', priority: 'low', defaultHistory: [] },
518
-                        { loadChildren: '../pages/team-details/team-details.module#TeamDetailsPageModule', name: 'TeamDetailsPage', segment: 'team-details', priority: 'low', defaultHistory: [] },
519 518
                         { loadChildren: '../pages/team-home/team-home.module#TeamHomePageModule', name: 'TeamHomePage', segment: 'team-home', priority: 'low', defaultHistory: [] },
519
+                        { loadChildren: '../pages/team-details/team-details.module#TeamDetailsPageModule', name: 'TeamDetailsPage', segment: 'team-details', priority: 'low', defaultHistory: [] },
520 520
                         { loadChildren: '../pages/teams/teams.module#TeamsPageModule', name: 'TeamsPage', segment: 'teams', priority: 'low', defaultHistory: [] },
521 521
                         { loadChildren: '../pages/tournaments/tournaments.module#TournamentsPageModule', name: 'TournamentsPage', segment: 'tournaments', priority: 'low', defaultHistory: [] }
522 522
                     ]
@@ -558,7 +558,7 @@ var AppModule = /** @class */ (function () {
558 558
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
559 559
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
560 560
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(205);
561
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_my_teams_my_teams__ = __webpack_require__(102);
561
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_my_teams_my_teams__ = __webpack_require__(103);
562 562
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__ = __webpack_require__(50);
563 563
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
564 564
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -627,7 +627,7 @@ var MyApp = /** @class */ (function () {
627 627
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TournamentsPage; });
628 628
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
629 629
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
630
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams_teams__ = __webpack_require__(103);
630
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams_teams__ = __webpack_require__(104);
631 631
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__ = __webpack_require__(162);
632 632
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
633 633
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -686,12 +686,12 @@ var TournamentsPage = /** @class */ (function () {
686 686
 
687 687
 /***/ }),
688 688
 
689
-/***/ 79:
689
+/***/ 78:
690 690
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
691 691
 
692 692
 "use strict";
693 693
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProvider; });
694
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
694
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(79);
695 695
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
696 696
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
697 697
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -719,7 +719,8 @@ var ApiProvider = /** @class */ (function () {
719 719
         return this.http.get('http:localhost:8080/user');
720 720
     };
721 721
     ApiProvider.prototype.saveUser = function (createAccountInfo) {
722
-        return this.http.post("http://localhost:8080/user/add?username=" + createAccountInfo.name + "&email=" + createAccountInfo.email + "&password=" + createAccountInfo.password, {});
722
+        //return this.http.post(`http://localhost:8080/user/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
723
+        return this.http.post("http://localhost:8080/user/add", createAccountInfo);
723 724
     };
724 725
     ApiProvider = __decorate([
725 726
         Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),

+ 1
- 1
ionic-fb/www/build/main.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 2
- 2
ionic-fb/www/build/vendor.js Zobrazit soubor

@@ -57799,7 +57799,8 @@ function setupPreloading(config, deepLinkConfig, moduleLoader, ngZone) {
57799 57799
 //# sourceMappingURL=module-loader.js.map
57800 57800
 
57801 57801
 /***/ }),
57802
-/* 78 */
57802
+/* 78 */,
57803
+/* 79 */
57803 57804
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
57804 57805
 
57805 57806
 "use strict";
@@ -60594,7 +60595,6 @@ var HttpClientJsonpModule = /** @class */ (function () {
60594 60595
 
60595 60596
 
60596 60597
 /***/ }),
60597
-/* 79 */,
60598 60598
 /* 80 */
60599 60599
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
60600 60600
 

+ 1
- 1
ionic-fb/www/build/vendor.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 2
- 0
ionic-fb/www/index.html Zobrazit soubor

@@ -48,5 +48,7 @@
48 48
   <!-- The main bundle js is generated during the build process -->
49 49
   <script src="build/main.js"></script>
50 50
 
51
+  
52
+
51 53
 </body>
52 54
 </html>