Skip to content

Commit c71d976

Browse files
committed
Bumped 2.2.3
1 parent 83a3ac2 commit c71d976

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+290
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changelog
22

3+
* `2.2.3`: adding examples to documentation
34
* `2.2.2`: fixing a bug with aliases for `sl-to-list()` and moved all comments to C-like
45
* `2.2.1`: improving `sl-to-list()`'s performance
56
* `2.2.0`:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SassyLists",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"homepage": "https://github.com/Team-Sass/SassyLists",
55
"authors": [
66
"Hugo Giraudel"

lib/SassyLists.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Version is a number. If a version contains alphas, it will be created as a prerelease version
1616
# Date is in the form of YYYY-MM-DD
1717
module SassyLists
18-
VERSION = "2.2.2"
18+
VERSION = "2.2.3"
1919
DATE = "2014-07-05"
2020
end
2121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SassyLists",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "A Sass API for lists.",
55
"scripts": {
66
"test": "grunt test"

stylesheets/SassyLists/_chunk.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
*
1111
* @requires sl-to-list
1212
*
13+
* @example
14+
* sl-chunk(a b c d e, 2)
15+
* // a b, c d, e
16+
*
1317
* @return {List | Null}
1418
*/
1519

stylesheets/SassyLists/_comma-list.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
*
44
* @ignore Documentation: http://sassylists.com/documentation.html#sl-comma-list
55
*
6+
* @example
7+
* sl-comma-list()
8+
* // ()
9+
*
610
* @return {List}
711
*/
812

stylesheets/SassyLists/_contain.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
* @param {List} $list - list to check
77
* @param {*} $value - value to look for
88
*
9+
* @example
10+
* sl-contain(a b c, a)
11+
* // true
12+
*
13+
* @example
14+
* sl-contain(a b c, z)
15+
* // false
16+
*
917
* @return {Bool}
1018
*/
1119

stylesheets/SassyLists/_count-values.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
*
66
* @param {List} $list - list to count values from
77
*
8+
* @example
9+
* sl-count-values(a b c a)
10+
* // (a: 2, b: 1, c: 1)
11+
*
812
* @return {Map} Values mapped to their count
913
*/
1014

stylesheets/SassyLists/_debug.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
* @requires sl-is-single
1212
* @requires sl-has-multiple-values
1313
*
14+
* @example
15+
* sl-debug(a b c)
16+
* // '("a", "b", "c")'
17+
*
1418
* @return {String}
1519
*/
1620

stylesheets/SassyLists/_every.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
* @param {String} $function - function to run against every item from list
88
* @param {ArgList} $args - extra arguments to pass to the function
99
*
10+
* @example
11+
* sl-every(1 2 3, unitless)
12+
* // true
13+
*
14+
* @example
15+
* sl-every(1 2 3px, unitless)
16+
* // false
17+
*
1018
* @return {Bool}
1119
*/
1220

0 commit comments

Comments
 (0)