From b9e46730e3f3844937f6c7b3b4c095405ba03c81 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Wed, 20 Feb 2019 17:40:13 +0100 Subject: [PATCH] Revert "refactor(template): update Inject decorator" This reverts commit c5ae6362d7771b62ae35a6b8ddc6e866aa9964a9. --- scripts/templates/wrap-min.tmpl | 4 +--- scripts/templates/wrap.tmpl | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/templates/wrap-min.tmpl b/scripts/templates/wrap-min.tmpl index 30c6486b7..4548c510d 100644 --- a/scripts/templates/wrap-min.tmpl +++ b/scripts/templates/wrap-min.tmpl @@ -43,9 +43,7 @@ import { Observable } from 'rxjs'; installVariables: [], // OPTIONAL the plugin requires variables platforms: [] // Array of platforms supported, example: ['Android', 'iOS'] }) -@Injectable({ - providedIn: 'root' -}) +@Injectable() export class {{ PluginName }} extends IonicNativePlugin { /** diff --git a/scripts/templates/wrap.tmpl b/scripts/templates/wrap.tmpl index 30c6486b7..4548c510d 100644 --- a/scripts/templates/wrap.tmpl +++ b/scripts/templates/wrap.tmpl @@ -43,9 +43,7 @@ import { Observable } from 'rxjs'; installVariables: [], // OPTIONAL the plugin requires variables platforms: [] // Array of platforms supported, example: ['Android', 'iOS'] }) -@Injectable({ - providedIn: 'root' -}) +@Injectable() export class {{ PluginName }} extends IonicNativePlugin { /**