Created
October 8, 2012 19:30
-
-
Save davidrhoden/3854420 to your computer and use it in GitHub Desktop.
I want to return the index each time I loop through
This file contains hidden or 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
var portfolio = '<% _.each(projects, function(projects, index) { %><div id="<%= projects.iimage %>" class="anImage <%= (projects.index)== 1 ? "active visible" : "hidden" %> ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment