Browse Source

Updated test html files to use debug version of TimelineJS

pull/366/head
Zach Wise 12 years ago
parent
commit
d009e2bb9b
  1. 708
      codekit-config.json
  2. 13
      source/jade/includes/mixins.jade
  3. 2
      source/jade/tests/test_extra_html.jade
  4. 2
      source/jade/tests/test_googlespreadsheet.jade
  5. 2
      source/jade/tests/test_googlespreadsheet_bc_era_ages_epoch.jade
  6. 2
      source/jade/tests/test_googlespreadsheet_biblical_ad.jade
  7. 2
      source/jade/tests/test_googlespreadsheet_minutes.jade
  8. 2
      source/jade/tests/test_iframe_640.jade
  9. 6
      source/jade/tests/test_jsonp.jade
  10. 2
      source/jade/tests/test_utc_firefox.jade
  11. 1
      tests/test_extra_html.html
  12. 1
      tests/test_googlespreadsheet.html
  13. 1
      tests/test_googlespreadsheet_bc_era_ages_epoch.html
  14. 1
      tests/test_googlespreadsheet_biblical_ad.html
  15. 1
      tests/test_googlespreadsheet_minutes.html
  16. 2
      tests/test_iframe_640.html
  17. 48
      tests/test_jsonp.html
  18. 1
      tests/test_utc_firefox.html

708
codekit-config.json

File diff suppressed because it is too large Load Diff

13
source/jade/includes/mixins.jade

@ -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
source/jade/tests/test_extra_html.jade

@ -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
source/jade/tests/test_googlespreadsheet.jade

@ -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')

2
source/jade/tests/test_googlespreadsheet_bc_era_ages_epoch.jade

@ -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
source/jade/tests/test_googlespreadsheet_biblical_ad.jade

@ -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
source/jade/tests/test_googlespreadsheet_minutes.jade

@ -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
source/jade/tests/test_iframe_640.jade

@ -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
source/jade/tests/test_jsonp.jade

@ -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
source/jade/tests/test_utc_firefox.jade

@ -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
tests/test_extra_html.html

@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'test_extra_html.json'
}
</script>

1
tests/test_googlespreadsheet.html

@ -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>

1
tests/test_googlespreadsheet_bc_era_ages_epoch.html

@ -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>

1
tests/test_googlespreadsheet_biblical_ad.html

@ -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>

1
tests/test_googlespreadsheet_minutes.html

@ -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>

2
tests/test_iframe_640.html

@ -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
tests/test_jsonp.html

@ -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
tests/test_utc_firefox.html

@ -39,6 +39,7 @@
var timeline_config = {
width: "100%",
height: "100%",
debug: true,
source: 'test_utc_firefox.json'
}
</script>

Loading…
Cancel
Save