You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/10/31 07:59:27 UTC

git commit: CB-7909 - Remove CDV prefixes from the templates, and filenames - for "plugman platform add"

Repository: cordova-lib
Updated Branches:
  refs/heads/master 281aee737 -> 4af51a2b4


CB-7909 - Remove CDV prefixes from the templates, and filenames - for "plugman platform add"


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/4af51a2b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/4af51a2b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/4af51a2b

Branch: refs/heads/master
Commit: 4af51a2b415aafb40f1db1bd2fe549a93e319168
Parents: 281aee7
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Oct 30 23:59:25 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Oct 30 23:59:25 2014 -0700

----------------------------------------------------------------------
 cordova-lib/templates/platforms/android/base.java | 2 +-
 cordova-lib/templates/platforms/ios/base.m        | 6 +++---
 cordova-lib/templates/platforms/ios/ios.xml       | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/4af51a2b/cordova-lib/templates/platforms/android/base.java
----------------------------------------------------------------------
diff --git a/cordova-lib/templates/platforms/android/base.java b/cordova-lib/templates/platforms/android/base.java
index 3136c1c..1b25d07 100644
--- a/cordova-lib/templates/platforms/android/base.java
+++ b/cordova-lib/templates/platforms/android/base.java
@@ -10,7 +10,7 @@ import org.json.JSONObject;
 /**
  * This class echoes a string called from JavaScript.
  */
-public class CDV%pluginName% extends CordovaPlugin {
+public class %pluginName% extends CordovaPlugin {
 
     @Override
     public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/4af51a2b/cordova-lib/templates/platforms/ios/base.m
----------------------------------------------------------------------
diff --git a/cordova-lib/templates/platforms/ios/base.m b/cordova-lib/templates/platforms/ios/base.m
index cb25117..f95eff7 100644
--- a/cordova-lib/templates/platforms/ios/base.m
+++ b/cordova-lib/templates/platforms/ios/base.m
@@ -1,15 +1,15 @@
-/********* CDV%pluginName%.m Cordova Plugin Implementation *******/
+/********* %pluginName%.m Cordova Plugin Implementation *******/
 
 #import <Cordova/CDV.h>
 
-@interface CDV%pluginName% : CDVPlugin {
+@interface %pluginName% : CDVPlugin {
   // Member variables go here.
 }
 
 - (void)coolMethod:(CDVInvokedUrlCommand*)command;
 @end
 
-@implementation CDV%pluginName%
+@implementation %pluginName%
 
 - (void)coolMethod:(CDVInvokedUrlCommand*)command
 {

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/4af51a2b/cordova-lib/templates/platforms/ios/ios.xml
----------------------------------------------------------------------
diff --git a/cordova-lib/templates/platforms/ios/ios.xml b/cordova-lib/templates/platforms/ios/ios.xml
index 6600567..855e8f2 100644
--- a/cordova-lib/templates/platforms/ios/ios.xml
+++ b/cordova-lib/templates/platforms/ios/ios.xml
@@ -5,5 +5,5 @@
         </feature>
     </config-file>
 
-    <source-file src="src/ios/CDV%pluginName%.m" />
+    <source-file src="src/ios/%pluginName%.m" />
 </platform>


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