Skip to content

Commit

Permalink
chore: Bump version to 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
masterspambot committed Jan 30, 2017
1 parent 705918b commit e3823e9
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 54 deletions.
2 changes: 1 addition & 1 deletion dist/angular-permission-ng.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* angular-permission-ng
* Extension module of angular-permission for access control within angular-route
* @version v5.1.0 - 2016-12-10
* @version v5.1.0 - 2017-01-30
* @link https://github.com/Narzerus/angular-permission
* @author Rafael Vidaurre <[email protected]> (http://www.rafaelvidaurre.com), Blazej Krysiak <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-permission-ng.min.js

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

14 changes: 8 additions & 6 deletions dist/angular-permission-ui.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* angular-permission-ui
* Extension module of angular-permission for access control within ui-router
* @version v5.1.0 - 2016-12-10
* @version v5.1.0 - 2017-01-30
* @link https://github.com/Narzerus/angular-permission
* @author Rafael Vidaurre <[email protected]> (http://www.rafaelvidaurre.com), Blazej Krysiak <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand All @@ -26,7 +26,7 @@
function config($stateProvider) {
'ngInject';

$stateProvider.decorator('$state', function (state) {
function $state($delegate) {
/**
* Property containing full state object definition
*
Expand All @@ -35,12 +35,14 @@
*
* @returns {Object}
*/
state.self.$$permissionState = function () {
return state;
$delegate.self.$$permissionState = function () {
return $delegate;
};

return state;
});
return $delegate;
}

$stateProvider.decorator('$state', $state);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-permission-ui.min.js

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

Loading

0 comments on commit e3823e9

Please sign in to comment.