mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Add oulipo modus (for excising the fifth glyph)
This commit is contained in:
parent
9571592de0
commit
ceaef5a1ae
@ -102,6 +102,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
|
oulipo = false;
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
$(window).load(function() {
|
$(window).load(function() {
|
||||||
// Returns a function, that, as long as it continues to be invoked, will not
|
// Returns a function, that, as long as it continues to be invoked, will not
|
||||||
@ -130,6 +131,7 @@
|
|||||||
// And it only fires 500ms or half a second after the user stopped typing
|
// And it only fires 500ms or half a second after the user stopped typing
|
||||||
$('#userInput').on('keyup', debounce(function() {
|
$('#userInput').on('keyup', debounce(function() {
|
||||||
console.log('typing occurred');
|
console.log('typing occurred');
|
||||||
|
if (oulipo == true) { $('#userInput').val($('#userInput').val().replace(/e/g,"")); }
|
||||||
$('#saveEditButton').removeClass()
|
$('#saveEditButton').removeClass()
|
||||||
$('#saveEditButton').text("Saving")
|
$('#saveEditButton').text("Saving")
|
||||||
upload();
|
upload();
|
||||||
|
Loading…
Reference in New Issue
Block a user