cordova-plugin-hello-world-test-spectrum
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "cordova-plugin-hello-world-test-spectrum", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -1,5 +0,8 @@ | ||
var exec = require('cordova/exec'); | ||
var HelloWorld = function() {}; | ||
exports.greet = function(name, successCallback, errorCallback) { | ||
exec(susuccessCallbackccess, errorCallback, "HelloWorld", "greet", [name]); | ||
HelloWorld.prototype.say = function(success, fail) { | ||
cordova.exec(success, fail, "HelloWorldPlugin","say", []); | ||
}; | ||
var helloWorld = new HelloWorld(); | ||
module.exports = helloWorld; |
Sorry, the diff of this file is not supported yet
2415
28