Skip to content

Commit 19e69b1

Browse files
authored
Feature/bumping deps (#3)
* Bumping versions. * Upgrading to the new Angular.JS API for promises * Removing bower componenets * Fixing broken service code
1 parent 80df022 commit 19e69b1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bower.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dali",
3-
"version": "1.4.0",
3+
"version": "2.0.0",
44
"authors": [
55
"Flavian Alexandru <flavian@outworkers.com>"
66
],
@@ -9,9 +9,9 @@
99
"license": "MIT",
1010
"homepage": "https://github.com/outworkers/dali",
1111
"dependencies": {
12-
"jsSHA": "2.0.2",
13-
"angular": "1.6.4",
14-
"angular-ui-bootstrap": "2.5.0"
12+
"jsSHA": "2.3.1",
13+
"angular": "1.6.6",
14+
"angular-ui-bootstrap": "1.3.3"
1515
},
1616
"devDevepencies": {
1717
"mocha": "3.4.2"

lib/services/Service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ dali.services.Service.prototype.jsonp = function(route, config) {
123123
dali.services.Service.prototype.request = function(request) {
124124
var deferred = this.q_.defer();
125125

126-
request.then(function(response)) {
126+
request.then(function(response) {
127127
deferred.resolve(
128128
new dali.http.HttpResponse(
129129
response.data,
130130
response.statusText,
131131
response.headers,
132132
response.config
133133
)
134-
);
134+
)
135135

136136
if (this.autoalert_) {
137137
dali.services.AlertService

0 commit comments

Comments
 (0)