Skip to content

Commit 2706f22

Browse files
committed
1.3.1
1 parent 0aaa25b commit 2706f22

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.3.1 (2014-08-12)
2+
3+
- Fixed a compatibility bug in IE8 ([0aaa2](https://github.com/artch/angular-route-segment/commit/0aaa25be27a8d0b7e36f2e07a9a303b9b3f3c3f5)) thanks to [jincod](https://github.com/jincod).
4+
15
# 1.3.0 (2014-05-15)
26

37
## Features

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-route-segment",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"main": "build/angular-route-segment.js",
55
"ignore": [
66
"**/.*",

build/angular-route-segment.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* angular-route-segment 1.3.0
2+
* angular-route-segment 1.3.1
33
* https://angular-route-segment.com
44
* @author Artem Chivchalov
55
* @license MIT License http://opensource.org/licenses/MIT
@@ -300,7 +300,7 @@ mod.provider( '$routeSegment',
300300
curSegment = null;
301301
for (var i in children) {
302302
(function(i, children, index) {
303-
if (children[i].params.default) {
303+
if (children[i].params['default']) {
304304
defaultChildUpdatePromise = defaultChildUpdatePromise.then(function () {
305305
return updateSegment(index, {name: i, params: children[i].params})
306306
.then(function (result) {
@@ -311,6 +311,8 @@ mod.provider( '$routeSegment',
311311
lastUpdateIndex = index;
312312
}
313313
})(i, children, index);
314+
315+
314316
}
315317
}
316318
}
@@ -542,7 +544,8 @@ mod.filter('routeSegmentParam', ['$routeSegment', function($routeSegment) {
542544
}]);
543545

544546

545-
})(angular);;'use strict';
547+
})(angular);
548+
;'use strict';
546549

547550
/**
548551
* appViewSegment directive

build/angular-route-segment.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-route-segment",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"dependencies": {
55
"grunt": "",
66
"grunt-contrib-uglify": "",

src/route-segment.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ mod.provider( '$routeSegment',
305305
lastUpdateIndex = index;
306306
}
307307
})(i, children, index);
308+
309+
308310
}
309311
}
310312
}

0 commit comments

Comments
 (0)