From 500cf94ed6358e1fdbd48610ab7e34a0648e92a2 Mon Sep 17 00:00:00 2001 From: perry Date: Fri, 18 Sep 2015 13:02:38 -0500 Subject: [PATCH] docs(iOS 9): updating patch version and docs to match igor's --- .../service/decorators/angular-ios9-uiwebview.patch.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/angular/service/decorators/angular-ios9-uiwebview.patch.js b/js/angular/service/decorators/angular-ios9-uiwebview.patch.js index 722c296c9e4..050de4a7d02 100644 --- a/js/angular/service/decorators/angular-ios9-uiwebview.patch.js +++ b/js/angular/service/decorators/angular-ios9-uiwebview.patch.js @@ -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. @@ -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: * @@ -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);