var WifiInfo= function() {
};

WifiInfo.prototype.get = function(success, fail) {
		PhoneGap.exec(success, success, 'WifiInfoPlugin', null, [] );
};

cordova.addConstructor(function() {

	if (!window.plugins) {
		window.plugins = {};
	}
	window.plugins.WifiInfo = new WifiInfo();
});

@@ -23,16 +23,51 @@
 () %7B%0A%7D;%0A
+var exec = require('cordova/exec');
 %0AWifiInf
@@ -116,22 +116,12 @@
 %7B%0A%09%09
-PhoneGap.
 exec
-(
 succ

Update WifiInfoPlugin.js