Riël
Riël

Reputation: 1321

jQuery + datepicker extreme slowness in Google Apps Script

I have the following script, which makes a sliding form using jquery and a datepicker implemented.

It performs awfull, even so much I get Chrome to crash. I suspect something is wrong, but I cannot see what is happening. In the caja playground it is not utterly fast, but better.

Maybe anyone sees what happens here?

The script: https://script.google.com/a/zzapps.nl/d/1IH5NSQlmv7LG5mUWAJTsIupIA8xOo_qXYyrEgvzP_d5TvYAwl4_eJaPV/edit

The published webapp:

https://script.google.com/macros/s/AKfycbyKFV8tDkqcZs6aDF3hVmO5f-2RPZHMnrQgZuRWMkR4x6Q1TpVu/exec

Upvotes: 2

Views: 466

Answers (1)

Corey G
Corey G

Reputation: 7858

The Caja playground defaults to "ES5" mode if you don't change the drop down on the top, which is a different way of using Caja than what Apps Script uses ("ES53" mode in that dropdown). I suspect that in the latter mode you'd see the same on the playground. But we are aware of the slowness and working on it.

Upvotes: 3

Related Questions