Remove jQuery from examples

This commit is contained in:
Niklas von Hertzen 2013-08-04 15:58:42 +03:00
parent 30163ab16f
commit f0e234a1d8
2 changed files with 16 additions and 22 deletions

View File

@ -1,17 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html> <html>
<head> <head>
<script type="text/javascript" src="../tests/assets/jquery-1.6.2.js"></script>
<script type="text/javascript" src="../build/html2canvas.js"></script>
<script type="text/javascript">
$(document).ready(function() {
html2canvas( [ document.body ], {
onrendered: function(canvas) {
document.body.appendChild(canvas);
}
});
});
</script>
<title> <title>
display/box/float/clear test display/box/float/clear test
</title> </title>
@ -182,5 +171,13 @@
<p style="color: black; font-size: 1em; line-height: 1.3em; clear: both"> <p style="color: black; font-size: 1em; line-height: 1.3em; clear: both">
This is a nonsensical document, but syntactically valid HTML 4.0. All 100% conformant CSS1 agents should be able to render the document elements above this paragraph <b>indistinguishably</b> (to the pixel) from this reference rendering, (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings. Once you have finished evaluating this test, you can return to the <A HREF="sec5526c.htm" style="text-decoration:none">parent page</A>. This is a nonsensical document, but syntactically valid HTML 4.0. All 100% conformant CSS1 agents should be able to render the document elements above this paragraph <b>indistinguishably</b> (to the pixel) from this reference rendering, (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings. Once you have finished evaluating this test, you can return to the <A HREF="sec5526c.htm" style="text-decoration:none">parent page</A>.
</p> </p>
<script type="text/javascript" src="../build/html2canvas.js"></script>
<script type="text/javascript">
html2canvas( [ document.body ], {
onrendered: function(canvas) {
document.body.appendChild(canvas);
}
});
</script>
</body> </body>
</html> </html>

View File

@ -3,17 +3,6 @@
<head> <head>
<title></title> <title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../tests/assets/jquery-1.6.2.js"></script>
<script type="text/javascript" src="../build/html2canvas.js"></script>
<script type="text/javascript">
$(document).ready(function() {
html2canvas( [ document.body ], {
onrendered: function(canvas) {
document.body.appendChild(canvas);
}
});
});
</script>
<style> <style>
.feedback-overlay-black{ .feedback-overlay-black{
background-color:#000; background-color:#000;
@ -64,5 +53,13 @@
</div> </div>
</div> </div>
<script type="text/javascript" src="../build/html2canvas.js"></script>
<script type="text/javascript">
html2canvas( [ document.body ], {
onrendered: function(canvas) {
document.body.appendChild(canvas);
}
});
</script>
</body> </body>
</html> </html>