Skip to content

Instantly share code, notes, and snippets.

@cedricvidal
Created April 16, 2010 10:42
Show Gist options
  • Save cedricvidal/368275 to your computer and use it in GitHub Desktop.
Save cedricvidal/368275 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 14 February 2006), see www.w3.org">
<title>
My Exhibit's Title
</title>
<link href="exhibit-data.js" type="application/json" rel="exhibit/data">
<script src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js" type="text/javascript">
</script>
<style type="text/css">
/* Override styles here */
</style>
</head>
<body>
<table width="100%">
<tr valign="top">
<td width="25%">
<!-- facets:
<div ex:role="facet" ex:expression=".property"></div>
-->
</td>
<td>
<div ex:role="view"></div>
</td>
</tr>
</table>
</body>
</html>
{
types: {
"Person": {
pluralLabel: "People"
}
},
properties: {
"age": {
valueType: "number"
},
"parentOf": {
label: "parent of",
reverseLabel: "child of",
valueType: "item"
}
},
items: [
{ label: "John Doe",
type: "Person",
parentOf: "Jane Smith"
},
{ label: "Jane Smith",
type: "Person"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment