@@ -147,6 +147,12 @@ module Sass::Script
147
147
# \{#append append($list1, $val, \[$separator\])}
148
148
# : Appends a single value onto the end of a list.
149
149
#
150
+ # \{#zip zip($list1, $list2, ...)}
151
+ # : Combines several lists into a single multidimensional list.
152
+ #
153
+ # \{#index index($list, $value)}
154
+ # : Returns the position of a value within a list, or false.
155
+ #
150
156
# ## Introspection Functions
151
157
#
152
158
# \{#type_of type-of($value)}
@@ -1358,8 +1364,8 @@ def append(list, val, separator = Sass::Script::String.new("auto"))
1358
1364
declare :append , [ :list , :val ]
1359
1365
declare :append , [ :list , :val , :separator ]
1360
1366
1361
- # Combines several lists into a single comma separated list
1362
- # space separated lists.
1367
+ # Combines several lists into a single comma separated list, where the nth
1368
+ # value is a space separated list of the source lists' nth values .
1363
1369
#
1364
1370
# The length of the resulting list is the length of the
1365
1371
# shortest list.
@@ -1384,8 +1390,8 @@ def zip(*lists)
1384
1390
declare :zip , [ ] , :var_args => true
1385
1391
1386
1392
1387
- # Returns the position of the given value within the given
1388
- # list. If not found, returns false.
1393
+ # Returns the position of a value within a list. If not found, returns
1394
+ # false.
1389
1395
#
1390
1396
# @example
1391
1397
# index(1px solid red, solid) => 2
0 commit comments