Created
June 28, 2012 02:48
-
-
Save Snugug/3008508 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$test: false; | |
@for $i from 0 through 5 { | |
@if $test == false { | |
$test: 'This is #{$i}'; | |
} | |
@else { | |
$test: $test, 'This is #{$i}'; | |
} | |
} | |
@debug nth($test, 1); | |
//////////////////////// | |
// Expected Output | |
//////////////////////// | |
"This is 0"; | |
//////////////////////// | |
// Actual Output | |
//////////////////////// | |
"This is 0", "This is 1", "This is 2", "This is 3", "This is 4"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment