Monthly Archives: January 2017

angularjs http cache expire

until the page refresh, according to this site here are the $cacheFactory specs Storage Javascript heap memory Eviction algorithm Least recently used (LRU) Time-to-live until page refresh Support for revalidation No Requires cooperation of remote server No Advertisements

Posted in Angularjs, Uncategorized | Leave a comment

bootstrap not run

need to include it in the package, ie., first line in the bootstrap.groovy need to be “package xxx”

Posted in Grails | Leave a comment

json value (key:value) can not be function

JSON is purely meant to be a data description language. As noted on, it is a “lightweight data-interchange format.” – not a programming language. Per, the “basic types” supported are: Number (integer, real, or floating point) String (double-quoted … Continue reading

Posted in JavaScript | Leave a comment

semicolon after function

Semicolons after function declarations are not necessary. The grammar of a FunctionDeclaration is described in the specification as this: function Identifier ( FormalParameterListopt ) { FunctionBody } There’s no semicolon grammatically required, but might wonder why? Semicolons serve to separate … Continue reading

Posted in JavaScript | Leave a comment

how to beautify ui?

Posted in Design | Leave a comment

ui theme

Posted in Design, Uncategorized | Leave a comment

ui translation

Posted in Design | Leave a comment