function (success, fail, args, env) {
		var result = new PluginResult(args, env);
		args = JSON.parse(decodeURIComponent(args["input"]));
		var values = { value: args };
		result.ok(clipboardjs.getInstance().setText(result.callbackId, values), false);
	}
function (success, fail, args, env) {
		var result = new PluginResult(args, env);
		args = JSON.parse(decodeURIComponent(args["input"]));
		var values = { value: args };
		result.ok(clipboardjs.getInstance().setText(result.callbackId, values), false);
	}
function ( success , fail , args , env ) { var result = new PluginResult ( args , env ) ; args = JSON . parse ( decodeURIComponent ( args [ "input" ] ) ) ; var values = { value : args } ; result . ok ( clipboardjs . getInstance ( ) . setText ( result . callbackId , values ) , false ) ; }
Code can be declared and used outside the module.exports object, but any functions to be called by client.js need to be declared here in this object.
Code can be declared and used outside the module . exports object but any functions to be called by client . js need to be declared here in this object .