Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
439 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
html2canvas.hertzen.com |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
<!doctype html> | |||
<html ng-app="site"> | |||
<head> | |||
<title ng-bind="title">html2canvas</title> | |||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |||
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script> | |||
<script src="/site/site.js"></script> | |||
|
|||
<base href="" /> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |||
<meta name="description" content="Screenshot creation with JavaScript"> | |||
<meta name="author" content="Niklas von Hertzen"> | |||
|
|||
<link href="/site/css/bootstrap.min.css" rel="stylesheet"> | |||
</head> | |||
<body> | |||
<header ng-include="'site/header.html'"></header> | |||
<div class="container" ng-view></div> | |||
<footer ng-include="'site/footer.html'"></footer> | |||
</body> | |||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
<!doctype html> | |||
<html ng-app="site"> | |||
<head> | |||
<title ng-bind="title">html2canvas</title> | |||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |||
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script> | |||
<script src="/site/site.js"></script> | |||
|
|||
<base href="" /> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |||
<meta name="description" content="Screenshot creation with JavaScript"> | |||
<meta name="author" content="Niklas von Hertzen"> | |||
|
|||
<link href="/site/css/bootstrap.min.css" rel="stylesheet"> | |||
</head> | |||
<body> | |||
<header ng-include="'site/header.html'"></header> | |||
<div class="container" ng-view></div> | |||
<footer ng-include="'site/footer.html'"></footer> | |||
</body> | |||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
var fs = require('fs'), | |||
util = require('util'); | |||
|
|||
var copy = function (src, dst, cb) { | |||
function copy(err) { | |||
var is | |||
, os | |||
; | |||
|
|||
|
|||
fs.stat(src, function (err) { | |||
if (err) { | |||
return cb(err); | |||
} | |||
is = fs.createReadStream(src); | |||
os = fs.createWriteStream(dst); | |||
util.pump(is, os, cb); | |||
}); | |||
} | |||
|
|||
fs.stat(dst, copy); | |||
}; | |||
|
|||
copy("index.html", "documentation.html", function() {}); | |||
copy("index.html", "screenshots.html", function() {}); | |||
copy("index.html", "examples.html", function() {}); | |||
copy("index.html", "faq.html", function() {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.