doc/frames.html in r509-0.10.0 vs doc/frames.html in r509-1.0
- old
+ new
@@ -1,28 +1,17 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>Documentation by YARD 0.8.6.1</title>
+ <meta charset="utf-8">
+ <title>Documentation by YARD 0.9.5</title>
</head>
<script type="text/javascript" charset="utf-8">
-window.onload = function() {
- var match = window.location.hash.match(/^#!(.+)/);
- var name = 'index.html';
- if (match) {
- name = unescape(match[1]);
- }
- document.writeln('<frameset cols="20%,*">' +
- '<frame name="list" src="class_list.html" />' +
- '<frame name="main" src="' + name + '" />' +
- '</frameset>');
-}
+ var match = unescape(window.location.hash).match(/^#!(.+)/);
+ var name = match ? match[1] : 'index.html';
+ name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
+ window.top.location = name;
</script>
<noscript>
- <frameset cols="20%,*">
- <frame name="list" src="class_list.html" />
- <frame name="main" src="index.html" />
- </frameset>
+ <h1>Oops!</h1>
+ <h2>YARD requires JavaScript!</h2>
</noscript>
</html>