Skip to content

Commit 5098ea3

Browse files
author
Karl Hepler
committed
Minified, bumping version
1 parent a68e1e5 commit 5098ea3

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-middleware",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Laravel-like middleware for angular ui.router and ngRoute",
55
"main": "dist/angular-middleware.min.js",
66
"authors": [

dist/angular-middleware.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ function($rootScope, $route, $location, $middleware) {
238238
event.preventDefault();
239239

240240
// If the redirect route is the same, then just reload
241-
// Make sure to only do this once though - we don't want an infinite loop
242241
if ( current.regexp.test(match[1]) ) {
243242
return $route.reload();
244243
}

dist/angular-middleware.min.js

Lines changed: 1 addition & 1 deletion
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-middleware",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Laravel-like middleware for angular uiRouter",
55
"main": "dist/angular-middleware.min.js",
66
"scripts": {

0 commit comments

Comments
 (0)