Skip to content

Commit

Permalink
docs(iOS 9): updating patch version and docs to match igor's
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Sep 18, 2015
1 parent 4c7ae0d commit 500cf94
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions js/angular/service/decorators/angular-ios9-uiwebview.patch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.0 ==================
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
Expand All @@ -8,7 +8,7 @@
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a
* dependency on the "ngIOS9Patch" module to your main app module.
* dependency on the "ngIOS9UIWebViewPatch" module to your main app module.
*
* For example:
*
Expand All @@ -35,8 +35,9 @@
*/

angular.module('ngIOS9UIWebViewPatch', ['ng']).config(['$provide', function($provide) {
'use strict';

$provide.decorator('$browser', ['$delegate', '$window', function($delegate, $window) {
'use strict';

if (isIOS9UIWebView($window.navigator.userAgent)) {
return applyIOS9Shim($delegate);
Expand Down

0 comments on commit 500cf94

Please sign in to comment.