Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in the example of the documentation of the plugin. The 'clipboard' part is missing from the function calls. #10

Open
leondroog opened this issue Apr 29, 2015 · 1 comment

Comments

@leondroog
Copy link

There is a typo in the example of the documentation of the plugin. The 'clipboard' part is missing from the function calls. The example in the documentation did not work when using the phonegap build.

Incorrect example:
var text = "Hello World!";
window.plugins.copy(text);
window.plugins.paste(function (text) { alert(text); });

This is what it should be:
var text = "Hello World!";
window.plugins.clipboard.copy(text);
window.plugins.clipboard.paste(function (text) { alert(text); });

@dcousens
Copy link

@leondroog submit a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants