aprile 2015 Blog Posts

[js] LazyLoad

https://github.com/rgrove/lazyload LazyLoad is a tiny (only 966 bytes minified and gzipped), dependency-free JavaScript utility that makes it super easy to load external JavaScript and CSS files on demand.

Jsonnet

Jsonnet is a domain specific configuration language that helps you define JSON data. Jsonnet lets you compute fragments of JSON within the structure, bringing the same benefit to structured data that templating languages bring to plain text. The example below illustrates a few features -- referring to another part of the structure, overriding object fields, and string operations. http://google.github.io/jsonnet/doc

[AngularJs] ng-repeat : $index

Nei template quando si utilizza l'attributo "ng-repeat" è possibile far riferimento all'indice del ciclo con la variabile $index. Esempio <a ng-repeat="i in items">                     <span class="name">{{$index}}. {{i.name}}</span> </a>

GoJS : Interactive Diagrams for the Web

http://gojs.net

URI.js

http://medialize.github.io/URI.js URI.js offers simple, yet powerful ways of working with query string, has a number of URI-normalization functions and converts relative/absolute paths.

AngularJS Side Includes

With AngularJS, you can include HTML content, using the ng-include directive: Example <body> <div class="container">   <div ng-include="'myUsers_List.htm'"></div>   <div ng-include="'myUsers_Form.htm'"></div> </div> </body>

Baobab

Baobab is a JavaScript data tree supporting cursors and enabling developers to easily navigate and monitor nested data. https://github.com/Yomguithereal/baobab

«aprile»
domlunmarmergiovensab
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789