Sha256: 3bc856197a733955b6f7ed0c64aa474a9d3fdff13ad8eefc66a029f75fabafcf

Contents?: true

Size: 398 Bytes

Versions: 54

Compression:

Stored size: 398 Bytes

Contents

- menu = attr 'menu'
- menuitem = attr 'menuitem'
- if !(submenus = attr 'submenus').empty?
  span.menuseq
    span.menu=menu
    ' ▸
    ='submenus.map {|submenu| %(<span class="submenu">#{submenu}</span>&#160;&#9656; ) }.join.chop
    span.menuitem=menuitem
- elsif !menuitem.nil?
  span.menuseq
    span.menu=menu
    '&#160;&#9656;
    span.menuitem=menuitem
- else
  span.menu=menu

Version data entries

54 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.6 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.6 lib/resources/backends/slim/html5/inline_menu.html.slim
hyla-1.0.5 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.5 lib/resources/backends/slim/html5/inline_menu.html.slim
hyla-1.0.5.pre.1 lib/resources/backends/slim/html5/inline_menu.html.slim
hyla-1.0.5.pre.1 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.4 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.4 lib/resources/backends/slim/html5/inline_menu.html.slim
hyla-1.0.3 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.3 lib/resources/backends/slim/html5/inline_menu.html.slim
hyla-1.0.2 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.2 lib/resources/backends/slim/html5/inline_menu.html.slim
hyla-1.0.1 lib/resources/backends/slim/revealjs/inline_menu.html.slim
hyla-1.0.1 lib/resources/backends/slim/html5/inline_menu.html.slim