2012-09-13 28 views
6

Google Apps komut dosyası HTML hizmetlerini JQuery UI ile deniyorum.JQuery UI, Google Apps Komut Dosyası HTML Hizmetinde çok yavaş

Tarih alanına sahip basit bir test vakası oluşturdum, ancak datepicker widget'ının yanıtı çok düşük. Tarihçinin görünmesi en az 3 saniye sürer. Bir sonraki aya gitmek de 3s alır.

JQuery kullanıcı arayüzünün performansını artırmak için yapabileceğim bir şey var mı?

<html> 
    <head> 
    <link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/smoothness/jquery-ui.css" rel="Stylesheet" /> 
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> 
    <script type="text/javascript" src="http://code.jquery.com/ui/1.8.23/jquery-ui.min.js"></script> 
    <script> 
     $(document).ready(function() { 
     $('#date').datepicker(); 
     }); 
    </script> 
    </head> 

    <body> 
    <input type="text" name="date" id="date"> 
    </body> 
</html> 

Ve GS çağrı:

function doGet() { 
    return HtmlService.createTemplateFromFile('test').evaluate(); 
} 

konsol Kayıtta: Burada

HTML dosyası var

Node not editable; no action performed. es53-taming-frame.opt.js:419 
ode not editable; no action performed. es53-taming-frame.opt.js:419 
bad value `fixed` for CSS property position es53-taming-frame.opt.js:419 
https://ssl.gstatic.com/caja/4969/es53-taming-frame.opt.js?debug=1 

cevap

2

Bu bilinen bir sorundur ve biz çalışıyoruz hızlandırmak.

İlgili konular