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

Support for multiple types parameters #36

Closed
angelozerr opened this issue Apr 28, 2015 · 2 comments
Closed

Support for multiple types parameters #36

angelozerr opened this issue Apr 28, 2015 · 2 comments

Comments

@angelozerr
Copy link
Owner

No description provided.

@angelozerr
Copy link
Owner Author

See 154f10c

@angelozerr angelozerr changed the title Support for multiple parameters Support for multiple types parameters Jun 16, 2015
angelozerr added a commit that referenced this issue Jun 20, 2015
@angelozerr
Copy link
Owner Author

@gamerson here a sample with YUI and multiple type validation :

multitypelintwithyui

YUI().use("node", function(Y) {

    Y.one(""); // OK => Y.one waits String

    Y.one(document.getElementById("MyId")); // OK => Y.one waits Element

    Y.one(10); // NOK => Y.one doesn't wait Number

})

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

1 participant