Created
June 7, 2013 19:46
-
-
Save jdsharp/5731905 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
var ary = 'tlbr'.split(//); | |
var str = (new Array(5)).join('<span class="flyout__wrapper-{%}"></span>').replace('{%}', function() { return ary.shift(); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment