From 0d624c4cb643256178ea5250fbe2d712ef3c3811 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 9 Jun 2016 21:18:13 -0400 Subject: [PATCH 1/3] Fix typo --- src/plugins/safari-view-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/safari-view-controller.ts b/src/plugins/safari-view-controller.ts index ac718122..5af60f6f 100644 --- a/src/plugins/safari-view-controller.ts +++ b/src/plugins/safari-view-controller.ts @@ -15,7 +15,7 @@ import {Plugin, Cordova} from './plugin'; * if(available){ * * SafariViewController.show({ - * utl: 'http://ionic.io', + * url: 'http://ionic.io', * hidden: false, * animated: false, * transition: 'curl', From b49efd89a72f5c80fef214984915ab385a1b3a78 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 9 Jun 2016 21:20:55 -0400 Subject: [PATCH 2/3] Missing semicolumn!! --- src/ng1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng1.ts b/src/ng1.ts index cd3bc0ce..dc897a21 100644 --- a/src/ng1.ts +++ b/src/ng1.ts @@ -21,7 +21,7 @@ export function initAngular1(plugins) { } funcs['name'] = name; return funcs; - }]) + }]); })(serviceName, cls, name); } } From 81f5d4acd1eca8d5b6cae0ecc86e9eb1411a0305 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 9 Jun 2016 21:22:05 -0400 Subject: [PATCH 3/3] tslint --- src/ng1.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ng1.ts b/src/ng1.ts index dc897a21..9bca8116 100644 --- a/src/ng1.ts +++ b/src/ng1.ts @@ -1,7 +1,7 @@ declare var window; /** - * Initialize the ngCordova Angular module if we're running in ng1. + * Initialize the ionic.native Angular module if we're running in ng1. * This iterates through the list of registered plugins and dynamically * creates Angular 1 services of the form $cordovaSERVICE, ex: $cordovStatusBar. */ @@ -9,7 +9,7 @@ export function initAngular1(plugins) { if (window.angular) { window.angular.module('ionic.native', []); - for(var name in plugins) { + for (var name in plugins) { let serviceName = '$cordova' + name; let cls = plugins[name]; @@ -25,4 +25,4 @@ export function initAngular1(plugins) { })(serviceName, cls, name); } } -} +} \ No newline at end of file