You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/06/02 18:31:53 UTC

android commit: CB-11365 fixed plugin rm issue with emit being undefined

Repository: cordova-android
Updated Branches:
  refs/heads/master 3a1b4ffcb -> 81d621966


CB-11365 fixed plugin rm issue with emit being undefined


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/81d62196
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/81d62196
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/81d62196

Branch: refs/heads/master
Commit: 81d6219663ee4c9100a7bdaab49f5cf58c82e578
Parents: 3a1b4ff
Author: Steve Gill <st...@gmail.com>
Authored: Thu Jun 2 11:32:21 2016 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Jun 2 11:32:21 2016 -0700

----------------------------------------------------------------------
 bin/templates/cordova/Api.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/81d62196/bin/templates/cordova/Api.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/Api.js b/bin/templates/cordova/Api.js
index e688f1c..1a30d1a 100644
--- a/bin/templates/cordova/Api.js
+++ b/bin/templates/cordova/Api.js
@@ -226,7 +226,7 @@ Api.prototype.removePlugin = function (plugin, uninstallOptions) {
         .then(function () {
             if (plugin.getFrameworks(this.platform).length === 0) return;
 
-            this.events.emit('verbose', 'Updating build files since android plugin contained <framework>');
+            selfEvents.emit('verbose', 'Updating build files since android plugin contained <framework>');
             require('./lib/builders/builders').getBuilder('gradle').prepBuildFiles();
         }.bind(this))
         // CB-11022 Return truthy value to prevent running prepare after


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org