<script src="#{PATH_JS_LIB}/#{JS_FILE_CALENDAR}?#{VERSION}">
apt-get install closure-compiler
var user = new User({...}); var icon1 = user.getLargeIcon(); var icon2 = user.getSmallIcon(); user.$destructor(); /* zruší všechny vizuály */
var App = JAK.ClassMaker.makeSingleton({...}); var app = App.getInstance(); // statická app.nejakaMetoda();
Complex = function(???) { ... } Complex.fromRealImag = function(real, imag) { /* matematika */ } Complex.fromPolar = function(dist, angle) { /* matematika */ }