mirror of
https://github.com/quantum5/correcthorsebatterystaple.git
synced 2025-04-24 10:11:57 -04:00
Move more popular symbols to the beginning
This commit is contained in:
parent
3fcf6e5327
commit
94d9ca92e3
|
@ -1,6 +1,6 @@
|
|||
const words = require('./words')
|
||||
const digits = '0123456789'
|
||||
const symbols = '`~!@#$%^&*()_+-=,./<>?;:|[]{} '
|
||||
const symbols = '-_.,; /`~!@#$%^&*()+=<>?:|[]{}'
|
||||
const defaultSymbol = '-'
|
||||
|
||||
function getWordList (name) {
|
||||
|
|
|
@ -85,8 +85,7 @@
|
|||
<label for="use-symbol">Use separator symbol:</label>
|
||||
<select id="separator-symbol" name="separator">
|
||||
<% [...require('./generator').symbols].forEach(symbol => { %>
|
||||
<option<% if (symbol === require('./generator').defaultSymbol) { %> selected<% }
|
||||
else if (symbol === ' ') { %> value=" "<% } %>><%= _.escape(symbol) %></option>
|
||||
<option<% if (symbol === ' ') { %> value=" "<% } %>><%= _.escape(symbol) %></option>
|
||||
<% }) %>
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue