This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- var floors = { ground: { name: "Ground Floor", image: "ground.png", tenants: { t1: { image: false, heading: '4 desks available', description: 'Lorem ipsum dolor sit amet,consectetur adipisicing elit', linkDescription: 'Link to sales page', linkTarget: 'http://www.google.com', posx: '120', posy: '330' }, t2: { image: 'avaaz.png', heading: 'Company name', description: 'Lorem ipsum dolor sit amet,consectetur adipisicing elit', linkDescription: 'External link', linkTarget: 'http://www.google.com', posx: '340', posy: '280' } } }, first: { name: "1st Floor", image: "ground.png", tenants: { t1: { image: false, heading: '4 desks available', description: 'Lorem ipsum dolor sit amet,consectetur adipisicing elit', linkDescription: 'Link to sales page', linkTarget: 'http://www.google.com', posx: '120', posy: '330' }, t2: { image: 'avaaz.png', heading: 'Company name', description: 'Lorem ipsum dolor sit amet,consectetur adipisicing elit', linkDescription: 'External link', linkTarget: 'http://www.google.com', posx: '340' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-var books= {"books": [""]} | |
mixin component(name, books) | |
for book in books | |
case book | |
when "l" | |
-var p= "large" | |
when "m" | |
-var p= "medium" | |
when "s" |