Sha256: bd2a98105f86cabb9c247e1e04dd90893b5e95ac76db95f17508437f0b4bf1af

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

/**
 * Gets the index of the passed key
 *
 * @access private
 *
 * @param {String} $key - breakpoint key
 *
 * @return {Number}
 */
@function flint-get-index($key) {

    @for $i from 1 through length(map-keys(flint-get-value("breakpoints"))) {
        @if flint-steal-key($i) == $key {
            @return $i;
        }
	}

    @return false;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flint-gs-2.0.2 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-2.0.1 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-2.0.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-2.0.0.rc.4 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-2.0.0.rc.3 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-2.0.0.rc.2 stylesheets/flint/functions/lib/_get-index.scss