Skip to content

Commit f7644c6

Browse files
committed
- Update v3.0.6:
+ Support angular 1.6.
1 parent d07777b commit f7644c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+39748
-16162
lines changed

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
"src"
4646
],
4747
"dependencies": {
48-
"angular": "~1.2"
48+
"angular": ">=1.2.1"
4949
},
5050
"devDependencies": {
51-
"angular-mocks": "~1.2",
52-
"angular-route": "~1.2",
53-
"angular-animate": "~1.2",
54-
"angular-bootstrap": "^0.12",
51+
"angular-mocks": ">=1.2.1",
52+
"angular-route": ">=1.2.1",
53+
"angular-animate": ">=1.2.1",
54+
"angular-bootstrap": "*",
5555
"bootstrap-css": "^3.3",
5656
"angularjs-toaster": "*"
5757
}

demo/libs/directive/view-source.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ app.directive('viewSource', function ($http, $timeout) {
2929

3030
angular.forEach(scope.models.types, function (type) {
3131
$http.get('routers/' + scope.demoName + '/' + scope.demoName + '.' + type.extension)
32-
.success(function (data) {
33-
type.source = data;
32+
.then(function (httpResponse) {
33+
type.source = httpResponse.data;
3434
$timeout(Prism.highlightAll, 0);
3535
})
36-
.error(function () {
37-
// todo: something
38-
})
3936
;
4037
});
4138

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "angular-animate",
3-
"version": "1.2.32",
3+
"version": "1.6.8",
44
"license": "MIT",
55
"main": "./angular-animate.js",
66
"ignore": [],
77
"dependencies": {
8-
"angular": "1.2.32"
8+
"angular": "1.6.8"
99
},
1010
"homepage": "https://github.com/angular/bower-angular-animate",
11-
"_release": "1.2.32",
11+
"_release": "1.6.8",
1212
"_resolution": {
1313
"type": "version",
14-
"tag": "v1.2.32",
15-
"commit": "8ce2578f2fba61d1334424c0708776b1f7a33068"
14+
"tag": "v1.6.8",
15+
"commit": "cb64242dbe2023fc1186a849387c17408ee4b1b0"
1616
},
1717
"_source": "https://github.com/angular/bower-angular-animate.git",
18-
"_target": "~1.2",
18+
"_target": ">=1.2.1",
1919
"_originalSource": "angular-animate"
2020
}

0 commit comments

Comments
 (0)