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

New functions #2

Closed
KittyGiraudel opened this issue Oct 20, 2013 · 5 comments
Closed

New functions #2

KittyGiraudel opened this issue Oct 20, 2013 · 5 comments
Milestone

Comments

@KittyGiraudel
Copy link
Contributor

Sort values in $list
sort($list)

Returns true if every element in $list satisfies the provided testing $function
every($list, $function)

Returns true if at least one element in $list satisfies the provided testing $function
some($list, $function)

@KittyGiraudel
Copy link
Contributor Author

@KittyGiraudel
Copy link
Contributor Author

I'm not sure every() and some() makes any sense since only one function returns a boolean.

@jamiebuilds
Copy link

Are every() and some() even possible? (is this a sass 3.3 thing?)

@KittyGiraudel
Copy link
Contributor Author

Yeah. I actually did them but I didn't push them to the repo.

You can find the Sass 3.3 version of SassyLists in the next branch. Although I didn't push the 3 new functions (from your repo) to this branch yet.

@KittyGiraudel KittyGiraudel removed the 3.3 label Jun 28, 2014
@KittyGiraudel KittyGiraudel mentioned this issue Jun 28, 2014
5 tasks
@KittyGiraudel
Copy link
Contributor Author

Working here: http://sassmeister.com/gist/b94b72435717a759d37f. I'd love your opinion @thejameskyle. :)

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