cassis
cassis copied to clipboard
CASSIS is universal javascript/PHP that works on the client and the server for scalable application logic.
I see test suite failures locally: ``` % npm test > [email protected] test /home/alex/Development/cassis > tape js-tests/*.js | tap-spec { auto_link: [Function: auto_link], num_to_sxg: [Function: num_to_sxg], sxg_to_num: [Function: sxg_to_num] }...
From @tabatkins https://twitter.com/tabatkins/status/935255134635884544 document the "declare all the variables in the function's head, for JS scoping reasons" thing that Cassis requires
auto_link should detect and link URLs with emoji e.g. 💯.aaronparecki.com should autolink to http://💯.aaronparecki.com. Thanks @aaronpk for the report. See also https://aaronparecki.com/2017/02/18/12/day-60-emoji-detector which might help.
Currently the autolinker will match the domain name in a permashortcitation, turning ``` Hello world (ttk.me 123) ``` into ``` Hello world (ttk.me 123) ``` Since permashortcitations are explicitly not...
Shouldn't this: ``` php function js() { return ("00"==false); } ``` be replaced with this: ``` php $js = ("00" == false); ``` This way, there would be less function...
From the IWC IRC channel: > tantek BOT [3:43 PM] > shaners, the h-x-username is just part of the auto-linking - nothing to do with RSVP > > [3:43] >...
Right now `num_to_sxg` is limited to 32-bit integers, which means it can't convert tweet IDs to newbase60
This configuration currently runs: - phpcs --standard=PSR2 cassis.php - phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit php-tests - eslint cassis.js - npm test Note - I am _not_ a JS or PHP coder so...
In order to have an accurate client-side text length counter, I run `tw_text_proxy` on each keyup event. However it adds a slight but noticeable lag in the interface.
I know this might be pretty tricky to accomplish, but it would be awesome if there was a minified version of the source.