Al utilizar parenscript si ejecuto¿Por qué las funciones de parenscript cambian a minúsculas?
(parenscript:ps (slot-value ($ "#mytextarea") 'selectionStart))
Produce el javascript
$('#mytextarea').selectionstart;
Tenga en cuenta que selectionStart
es ahora selectionstart
. Perdió la S mayúscula en el Start
! ¿Cómo mantengo esa S mayúscula?
Por defecto, los formularios Common Lisp (que Parenscript toma como entrada) están doblados en mayúsculas (mayúsculas) por el lector. 'selectionStart' se convertirá en' SELECTIONSTART', que Parenscript presumiblemente luego desciende cuando genera salida de JavaScript. – Pillsy