Sha256: b075f9c8aeaa517fc1fe191cdd3513eb685274a60b01aebad71db3b37d070c04

Contents?: true

Size: 413 Bytes

Versions: 15

Compression:

Stored size: 413 Bytes

Contents

///
/// Removes all false and null values from $list
///
/// @access private
///
/// @link http://sassylists.com/documentation.html#purge
///
/// @param {List} $list
///
/// @return {List}
///
/// @group Internal Functions
///
@function flint-purge($list) {
	$result: ();

	@each $item in $list {
		@if flint-is-true($item) {
			$result: append($result, $item, list-separator($list));
		}
	}

	@return $result;
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
flint-gs-2.3.6 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.3.5 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.3.4 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.3.3 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.3.2 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.3.1 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.3.0 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.2.0 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.1.4 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.1.3 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.1.2 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.1.1 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.1.0 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.0.9 stylesheets/flint/functions/lib/_purge.scss
flint-gs-2.0.8 stylesheets/flint/functions/lib/_purge.scss