Sha256: 5d790acfed3ee5d1b199e41821d52a5c22f02de75d64a7834064aa324b2cd391
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
/*jsl:import coherent*/ NIB('<%=name%>', { 'custom-view': VIEW({ ':root': coherent.View({ visibleBinding: 'controller.arrangedObjects.@count' }), 'img': coherent.Image({ srcBinding: 'controller.selection.href' }), 'p': coherent.View({ textBinding: 'controller.selection.caption' }), 'a.next': coherent.Anchor({ enabledBinding: 'controller.canSelectNext', target: 'controller', action: 'selectNext' }), 'a.prev': coherent.Anchor({ enabledBinding: 'controller.canSelectPrevious', target: 'controller', action: 'selectPrevious' }) }), 'data': NIB.asset('<%=name%>.json'), 'controller': coherent.ArrayController({ contentBinding: 'data.photos' }), 'owner': { view: '<%=name%>' } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
coherent-0.6.0 | demo_generators/gallery/templates/src/nibs/@name@.jsnib/@name@.js.erb |