Skip to content

Commit

Permalink
1.3.2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
artch committed Sep 19, 2014
1 parent e8fafff commit fa5388e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/angular-route-segment.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* angular-route-segment 1.3.1
* angular-route-segment 1.3.2
* https://angular-route-segment.com
* @author Artem Chivchalov
* @license MIT License http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -410,7 +410,7 @@ mod.provider( '$routeSegment',
if(params.watcher) {

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

return $injector.invoke(
Expand Down
4 changes: 2 additions & 2 deletions build/angular-route-segment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fa5388e

Please sign in to comment.