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
| <div class="loading"></div> |
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
| // get long list of options to test select performance | |
| function getFakeTableOptions(numOptions) { | |
| let counter = 0; | |
| let options = []; | |
| const prefixes = ['foo', 'bar', 'baz', 'zeb', 'alpha', 'beta', 'xylo', 'superfragilistic', | |
| 'quick', 'brown', 'fox', 'jumped', 'over', 'lazy', 'dog', 'yak', 'cucumber']; | |
| while (counter < numOptions) { | |
| const label = `${prefixes[Math.floor(Math.random() * prefixes.length)]}--${counter}`; | |
| options.push({ label: label, value: label }); | |
| counter++; |
This is a SCRIPT-8 cassette.
-
Visit http://en.gravatar.com and click Create Your Own Gravatar
-
Sign up or login for a Wordpress.com account using the same email address you use to sign in to Participedia
OlderNewer


