Skip to content

Commit fa5388e

Browse files
committed
1.3.2 build
1 parent e8fafff commit fa5388e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/angular-route-segment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* angular-route-segment 1.3.1
2+
* angular-route-segment 1.3.2
33
* https://angular-route-segment.com
44
* @author Artem Chivchalov
55
* @license MIT License http://opensource.org/licenses/MIT
@@ -410,7 +410,7 @@ mod.provider( '$routeSegment',
410410
if(params.watcher) {
411411

412412
var getWatcherValue = function() {
413-
if(!angular.isFunction(params.watcher))
413+
if(!angular.isFunction(params.watcher) && !angular.isArray(params.watcher))
414414
throw new Error('Watcher is not a function in segment `'+name+'`');
415415

416416
return $injector.invoke(

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.

0 commit comments

Comments
 (0)