Sha256: 1e7d62fbd4638044e27e6c67031554d6ad8e0b9d1b9dc9588f442e5c4b064626
Contents?: true
Size: 1.15 KB
Versions: 11
Compression:
Stored size: 1.15 KB
Contents
javascript: // If necessary insert a placeholder before the real menu is created if(!store.get('glypto-menu-hidden')) { var e = document.createElement('div'); e.id = 'glypto-nav-placeholder'; document.body.insertBefore(e, document.body.childNodes[0]); } glypto-menu / Use inline templates to avoid dealing with relative templateUrls script type="text/ng-template" id="glyptotheque/menu.html" nav.glypto-nav ng-class="{'s-hidden' : navIsHidden}" button.glypto-nav-toggle ng-click="toggle()" title="Toggle menu: Command + Shift + E" = link_to site_title, url_for('/index.html'), class: '_logo' .search: input.mousetrap(ng-model="search" type="search" placeholder="Filter (/ to focus)" glypto-search) glypto-menu-tree items="items" filter="search" script type="text/ng-template" id="glyptotheque/menu-tree.html" ul glypto-menu-node ng-repeat="node in items|filter:filter" script type="text/ng-template" id="glyptotheque/menu-node.html" li ng-class="{'_index': node.children, 's-selected': isSelected}" = link_to '{{node.path}}' | {{node.title}} span._count ng-if="node.children.length" {{node.children.length}}
Version data entries
11 entries across 11 versions & 1 rubygems