Skip to content

Commit

Permalink
Updated test html files to use debug version of TimelineJS
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwise committed Feb 27, 2013
1 parent d7d76b9 commit d009e2b
Show file tree
Hide file tree
Showing 18 changed files with 432 additions and 365 deletions.
708 changes: 354 additions & 354 deletions codekit-config.json

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions source/jade/includes/mixins.jade
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,17 @@ mixin timeline-embed(thesource)
source: '#{thesource}'
}
script(type='text/javascript', src='../compiled/js/storyjs-embed.js')
// END Timeline Embed
mixin timeline-embed-debug(thesource)
// BEGIN Timeline Embed
div#timeline-embed
script(type='text/javascript')
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: '#{thesource}'
}
script(type='text/javascript', src='../compiled/js/storyjs-embed.js')
// END Timeline Embed
2 changes: 1 addition & 1 deletion source/jade/tests/test_extra_html.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('test_extra_html.json')
mixin timeline-embed-debug('test_extra_html.json')
2 changes: 1 addition & 1 deletion source/jade/tests/test_googlespreadsheet.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFYzRjJPUGktY0NkWXFUWkVIZDNGRHc&output=html')
mixin timeline-embed-debug('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFYzRjJPUGktY0NkWXFUWkVIZDNGRHc&output=html')
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadHlWbUYwenBTV1hyUGRidU85MnEzQmc&output=html')
mixin timeline-embed-debug('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadHlWbUYwenBTV1hyUGRidU85MnEzQmc&output=html')
2 changes: 1 addition & 1 deletion source/jade/tests/test_googlespreadsheet_biblical_ad.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadENlSWZ0Ml9CUXRMVTJGbHZ5UjhDblE&output=html')
mixin timeline-embed-debug('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadENlSWZ0Ml9CUXRMVTJGbHZ5UjhDblE&output=html')
2 changes: 1 addition & 1 deletion source/jade/tests/test_googlespreadsheet_minutes.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFBfbkE1Qk42RTFDcjRDdnFndk9DOFE&output=html')
mixin timeline-embed-debug('https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFBfbkE1Qk42RTFDcjRDdnFndk9DOFE&output=html')
2 changes: 1 addition & 1 deletion source/jade/tests/test_iframe_640.jade
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ include ../includes/mixins
include ../sections/example-head
body
div(style='width:640px;')
<iframe src="../compiled/index.html?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&lang=en&height=650" width='100%' height='650' frameborder='0'></iframe>
<iframe src="../compiled/index.html?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&debug=true&lang=en&height=650" width='100%' height='650' frameborder='0'></iframe>
6 changes: 3 additions & 3 deletions source/jade/tests/test_jsonp.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include includes/mixins
include sections/example-head
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('example_jsonp.jsonp')
mixin timeline-embed-debug('example_jsonp.jsonp')
2 changes: 1 addition & 1 deletion source/jade/tests/test_utc_firefox.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../includes/mixins
include ../sections/example-head
body
mixin timeline-embed('test_utc_firefox.json')
mixin timeline-embed-debug('test_utc_firefox.json')
1 change: 1 addition & 0 deletions tests/test_extra_html.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'test_extra_html.json'
}
</script>
Expand Down
1 change: 1 addition & 0 deletions tests/test_googlespreadsheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFYzRjJPUGktY0NkWXFUWkVIZDNGRHc&amp;output=html'
}
</script>
Expand Down
1 change: 1 addition & 0 deletions tests/test_googlespreadsheet_bc_era_ages_epoch.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadHlWbUYwenBTV1hyUGRidU85MnEzQmc&amp;output=html'
}
</script>
Expand Down
1 change: 1 addition & 0 deletions tests/test_googlespreadsheet_biblical_ad.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadENlSWZ0Ml9CUXRMVTJGbHZ5UjhDblE&amp;output=html'
}
</script>
Expand Down
1 change: 1 addition & 0 deletions tests/test_googlespreadsheet_minutes.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFBfbkE1Qk42RTFDcjRDdnFndk9DOFE&amp;output=html'
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_iframe_640.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
</head>
</html>
<body>
<div style="width:640px;"><iframe src="../compiled/index.html?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&lang=en&height=650" width='100%' height='650' frameborder='0'></iframe></div>
<div style="width:640px;"><iframe src="../compiled/index.html?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&debug=true&lang=en&height=650" width='100%' height='650' frameborder='0'></iframe></div>
</body>
48 changes: 48 additions & 0 deletions tests/test_jsonp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en"><!--
88888888888 d8b 888 d8b 888888 d8888b
888 Y8P 888 Y8P 88b d88P Y88b
888 888 888 Y88b
888 888 88888b d88b d88b 888 888 88888b d88b 888 Y888b
888 888 888 888 88b d8P Y8b 888 888 888 88b d8P Y8b 888 Y88b
888 888 888 888 888 88888888 888 888 888 888 88888888 888 888
888 888 888 888 888 Y8b 888 888 888 888 Y8b 88P Y88b d88P
888 888 888 888 888 Y8888 888 888 888 888 Y8888 888 Y8888P
d88P
d88P
888P
-->
<head>
<title>Timeline JS Example</title>
<meta charset="utf-8">
<meta name="description" content="TimelineJS example">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Style-->
<style>
html, body {
height:100%;
padding: 0px;
margin: 0px;
}
</style>
<!-- HTML5 shim, for IE6-8 support of HTML elements--><!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
</html>
<body>
<!-- BEGIN Timeline Embed -->
<div id="timeline-embed"></div>
<script type="text/javascript">
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'example_jsonp.jsonp'
}
</script>
<script type="text/javascript" src="../compiled/js/storyjs-embed.js"></script>
<!-- END Timeline Embed-->
</body>
1 change: 1 addition & 0 deletions tests/test_utc_firefox.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'test_utc_firefox.json'
}
</script>
Expand Down

0 comments on commit d009e2b

Please sign in to comment.