Permalink
Browse files

Renamed Appsee -> CDVAppsee.

  • Loading branch information...
1 parent 85d9850 commit 0468e812444afc5036caee0973aab3bb05a9b762 @andhapp andhapp committed Mar 6, 2014
Showing with 11 additions and 10 deletions.
  1. +3 −3 plugin.xml
  2. +2 −2 src/ios/{Appsee.h → CDVAppsee.h}
  3. +2 −2 src/ios/{Appsee.m → CDVAppsee.m}
  4. +4 −3 www/Appsee.js
View
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
- id="org.reallyenglish.appsee" version="0.1.0">
+ id="org.reallyenglish.appsee" version="0.2.0">
<name>Appsee</name>
<description>Reallyenglish Appsee</description>
<license>Apache 2.0</license>
@@ -19,8 +19,8 @@
</feature>
</config-file>
- <header-file src="src/ios/Appsee.h" />
- <source-file src="src/ios/Appsee.m" />
+ <header-file src="src/ios/CDVAppsee.h" />
+ <source-file src="src/ios/CDVAppsee.m" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
@@ -1,11 +1,11 @@
//
-// Appsee.h
+// CDVAppsee.h
//
// Copyright (c) 2014 Reallyenglish. All rights reserved.
#import <Cordova/CDVPlugin.h>
-@interface Appsee : CDVPlugin {}
+@interface CDVAppsee : CDVPlugin {}
- (void)init:(CDVInvokedUrlCommand *)command;
@@ -4,10 +4,10 @@
// Copyright (c) 2014 Reallyenglish. All rights reserved.
//
-#import "Appsee.h"
+#import "CDVAppsee.h"
#import <Appsee/Appsee.h>
-@implementation Appsee
+@implementation CDVAppsee
- (void)init:(CDVInvokedUrlCommand *)command
{
View
@@ -6,10 +6,11 @@
* Copyright(c) Reallyenglish 2014
*/
-var exec = require('cordova/exec'),
- Appsee = function(){};
+var exec = require('cordova/exec');
-Appsee.prototype.init = function(key, successCallback, errorCallback){
+var Appsee = function(){};
+
+Appsee.init = function(key, successCallback, errorCallback){
return exec(successCallback, errorCallback, "Appsee", "init", [key]);
};

0 comments on commit 0468e81

Please sign in to comment.