Skip to content

Commit

Permalink
fix(iOS 9): add minification support to iOS 9 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Sep 16, 2015
1 parent 2c706c7 commit 861297a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/angular/service/decorators/angular-ios9-uiwebview.patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* License: MIT
*/

angular.module('ngIOS9UIWebViewPatch', ['ng']).config(function($provide) {
angular.module('ngIOS9UIWebViewPatch', ['ng']).config(['$provide', function($provide) {
$provide.decorator('$browser', ['$delegate', '$window', function($delegate, $window) {

if (isIOS9UIWebView($window.navigator.userAgent)) {
Expand Down Expand Up @@ -70,4 +70,4 @@ angular.module('ngIOS9UIWebViewPatch', ['ng']).config(function($provide) {
return browser;
}
}]);
});
}]);

0 comments on commit 861297a

Please sign in to comment.