Skip to content

Commit

Permalink
chore; upgrade to Angular 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuinness committed Dec 15, 2018
1 parent 61aa87f commit 1f9e9a5
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ lib
coverage
.vscode
package-lock.json
/.history
2 changes: 1 addition & 1 deletion docs/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ demo.config($locationProvider => {
});

demo.run($httpBackend => {
$httpBackend.whenRoute('POST', '/api/v1/log-messages').respond({'logMessage': 'OK'});
$httpBackend.when('POST', '/api/v1/log-messages').respond({'logMessage': 'OK'});
});
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@
},
"dependencies": {
"@uirouter/angularjs": "^1.0.4",
"angular": "1.6.x",
"angular-animate": "1.6.x",
"angular-mocks": "1.6.x",
"angular-sanitize": "1.6.x",
"angular": "1.7.x",
"angular-animate": "1.7.x",
"angular-mocks": "1.7.x",
"angular-sanitize": "1.7.x",
"angular-shims-placeholder": "^0.4.7",
"angular-ui-mask": "^1.8.7",
"availity-uikit": "^2.1.0",
"bootstrap": "^3.3.7",
"bootstrap": "^3.4.0",
"bootstrap-datepicker": "^1.7.1",
"jquery": "^3.0.0",
"lodash.debounce": "^4.0.8",
Expand Down
2 changes: 1 addition & 1 deletion src/core/authorizations/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ demo.controller('DemoAuthenticationController', ($scope, demoAuthenticationServi

demo.run($httpBackend => {
$httpBackend
.whenRoute('GET', /\/api\/internal\/v1\/axi-user-permissions\?permissionId=(7100|8100|9100).*&sessionBust=.*/)
.when('GET', /\/api\/internal\/v1\/axi-user-permissions\?permissionId=(7100|8100|9100).*&sessionBust=.*/)
.respond(response);
});

2 changes: 1 addition & 1 deletion src/ui/breadcrumbs/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ demo.controller('DemoBreadcrumbsController', ($scope, demoDropdownService) => {
demo.run($httpBackend => {

$httpBackend
.whenRoute('GET', /\/api\/sdk\/platform\/v1\/spaces\/1093906101146120962309999999/)
.when('GET', /\/api\/sdk\/platform\/v1\/spaces\/1093906101146120962309999999/)
.respond(json);

});
12 changes: 6 additions & 6 deletions src/ui/dropdown/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ demo.controller('DemoDropdownController', ($scope, demoDropdownService) => {
demo.run($httpBackend => {

$httpBackend
.whenRoute('GET', /\/api\/v1\/photos\?offset=.*&q=a.*/)
.when('GET', /\/api\/v1\/photos\?offset=.*&q=a.*/)
.respond(photos1);

$httpBackend
.whenRoute('GET', /\/api\/v1\/photos\?offset=.*&q=.*/)
.when('GET', /\/api\/v1\/photos\?offset=.*&q=.*/)
.respond(photos2);

$httpBackend
.whenRoute('GET', /\/api\/sdk\/platform\/v1\/users\/me.*/)
.when('GET', /\/api\/sdk\/platform\/v1\/users\/me.*/)
.respond(user);

$httpBackend
.whenRoute('GET', /\/api\/sdk\/platform\/v1\/organizations\?offset=.*&q=.*/)
.when('GET', /\/api\/sdk\/platform\/v1\/organizations\?offset=.*&q=.*/)
.respond(organizations3);

$httpBackend
.whenRoute('GET', /\/api\/sdk\/platform\/v1\/organizations\?offset=0.*/)
.when('GET', /\/api\/sdk\/platform\/v1\/organizations\?offset=0.*/)
.respond(organizations1);

$httpBackend
.whenRoute('GET', /\/api\/sdk\/platform\/v1\/organizations\?offset=50.*/)
.when('GET', /\/api\/sdk\/platform\/v1\/organizations\?offset=50.*/)
.respond(organizations2);

});

0 comments on commit 1f9e9a5

Please sign in to comment.