Skip to content
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.

Commit

Permalink
Renamed Appsee -> CDVAppsee.
Browse files Browse the repository at this point in the history
  • Loading branch information
andhapp committed Mar 6, 2014
1 parent 85d9850 commit 0468e81
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" <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> <name>Appsee</name>
<description>Reallyenglish Appsee</description> <description>Reallyenglish Appsee</description>
<license>Apache 2.0</license> <license>Apache 2.0</license>
Expand All @@ -19,8 +19,8 @@
</feature> </feature>
</config-file> </config-file>


<header-file src="src/ios/Appsee.h" /> <header-file src="src/ios/CDVAppsee.h" />
<source-file src="src/ios/Appsee.m" /> <source-file src="src/ios/CDVAppsee.m" />


<framework src="AVFoundation.framework" /> <framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" /> <framework src="CoreGraphics.framework" />
Expand Down
4 changes: 2 additions & 2 deletions src/ios/Appsee.h → src/ios/CDVAppsee.h
Original file line number Original file line Diff line number Diff line change
@@ -1,11 +1,11 @@
// //
// Appsee.h // CDVAppsee.h
// //
// Copyright (c) 2014 Reallyenglish. All rights reserved. // Copyright (c) 2014 Reallyenglish. All rights reserved.


#import <Cordova/CDVPlugin.h> #import <Cordova/CDVPlugin.h>


@interface Appsee : CDVPlugin {} @interface CDVAppsee : CDVPlugin {}


- (void)init:(CDVInvokedUrlCommand *)command; - (void)init:(CDVInvokedUrlCommand *)command;


Expand Down
4 changes: 2 additions & 2 deletions src/ios/Appsee.m → src/ios/CDVAppsee.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
// Copyright (c) 2014 Reallyenglish. All rights reserved. // Copyright (c) 2014 Reallyenglish. All rights reserved.
// //


#import "Appsee.h" #import "CDVAppsee.h"
#import <Appsee/Appsee.h> #import <Appsee/Appsee.h>


@implementation Appsee @implementation CDVAppsee


- (void)init:(CDVInvokedUrlCommand *)command - (void)init:(CDVInvokedUrlCommand *)command
{ {
Expand Down
7 changes: 4 additions & 3 deletions www/Appsee.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
* Copyright(c) Reallyenglish 2014 * Copyright(c) Reallyenglish 2014
*/ */


var exec = require('cordova/exec'), var exec = require('cordova/exec');
Appsee = function(){};


Appsee.prototype.init = function(key, successCallback, errorCallback){ var Appsee = function(){};

Appsee.init = function(key, successCallback, errorCallback){
return exec(successCallback, errorCallback, "Appsee", "init", [key]); return exec(successCallback, errorCallback, "Appsee", "init", [key]);
}; };


Expand Down

0 comments on commit 0468e81

Please sign in to comment.