stylesheets/flint/functions/lib/_next-index.scss in flint-gs-1.6.5 vs stylesheets/flint/functions/lib/_next-index.scss in flint-gs-1.7.0
- old
+ new
@@ -2,14 +2,14 @@
// -------------------------------------------------------------------------------
// @param $index [number] : index
// -------------------------------------------------------------------------------
// @return [string] | null
-@function next-index($index) {
- @if $index != (length(map-fetch($flint, "config")) - 1) {
+@function flint-next-index($index) {
+ @if $index != (length(flint-map-fetch($flint, "config")) - 1) {
@each $key in nth(map-get($flint, "config"), $index + 1) {
@return $key;
}
} @else {
@return null;
}
-}
\ No newline at end of file
+}