Skip to content

Commit

Permalink
Support 'only' and 'ignore' in 'vendor-value'
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Aug 8, 2012
1 parent 2cc93cb commit 639307f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nib/vendor.styl
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ vendor(prop, args, only = null, ignore = null)
* Vendorize the given value.
*/

vendor-value(arg)
vendor-value(arg, only = null, ignore = null)
prop = current-property[0]
for prefix in vendor-prefixes
unless official == prefix
unless (only and !(prefix in only)) or (ignore and prefix in ignore) or official == prefix
add-property(prop, '-%s-%s' % (prefix arg))
arg

Expand Down

0 comments on commit 639307f

Please sign in to comment.