Skip to content

Commit 942678c

Browse files
committed
Remove page dupe
1 parent 0d20673 commit 942678c

1 file changed

Lines changed: 0 additions & 116 deletions

File tree

index.html

Lines changed: 0 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -187,119 +187,3 @@ <h2>License</h2>
187187

188188
</body>
189189
</html>
190-
=======
191-
<!DOCTYPE html>
192-
<html>
193-
194-
<head>
195-
<meta charset='utf-8' />
196-
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
197-
<meta name="description" content="jsPDF : Generating PDF files purely in Javascript" />
198-
199-
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
200-
201-
<title>jsPDF</title>
202-
</head>
203-
204-
<body>
205-
206-
<!-- HEADER -->
207-
<div id="header_wrap" class="outer">
208-
<header class="inner">
209-
<a id="forkme_banner" href="https://github.com/MrRio/jsPDF">View on GitHub</a>
210-
211-
<h1 id="project_title">jsPDF</h1>
212-
<h2 id="project_tagline">Generating PDF files purely in Javascript</h2>
213-
214-
<section id="downloads">
215-
<a class="zip_download_link" href="https://github.com/MrRio/jsPDF/zipball/master">Download this project as a .zip file</a>
216-
<a class="tar_download_link" href="https://github.com/MrRio/jsPDF/tarball/master">Download this project as a tar.gz file</a>
217-
</section>
218-
</header>
219-
</div>
220-
221-
<!-- MAIN CONTENT -->
222-
<div id="main_content_wrap" class="outer">
223-
<section id="main_content" class="inner">
224-
<p>You can <a href="http://twitter.com/MrRio">catch me on twitter</a>: <a href="http://twitter.com/MrRio">@MrRio</a> or head over to <a href="http://snapshotmedia.co.uk">my company's website</a> for consultancy. </p>
225-
226-
<h2>Creating your first document</h2>
227-
228-
<p>See examples/basic.html. Make sure you include BlobBuilder.js and FileSaver.js. </p>
229-
230-
<div class="highlight"><pre>
231-
<span class="kd">var</span> <span class="nx">doc</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">jsPDF</span><span class="p">();</span>
232-
<span class="nx">doc</span><span class="p">.</span><span class="nx">text</span><span class="p">(</span><span class="mi">20</span><span class="p">,</span> <span class="mi">20</span><span class="p">,</span> <span class="s1">'Hello world.'</span><span class="p">);</span>
233-
<span class="nx">doc</span><span class="p">.</span><span class="nx">save</span><span class="p">(</span><span class="s1">'Test.pdf'</span><span class="p">);</span>
234-
</pre></div>
235-
236-
<h2>Demo</h2>
237-
238-
<h3>Simple two-page text document</h3>
239-
240-
<div class="highlight"><pre><span class="kd">var</span> <span class="nx">doc</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">jsPDF</span><span class="p">();</span>
241-
<span class="nx">doc</span><span class="p">.</span><span class="nx">text</span><span class="p">(</span><span class="mi">20</span><span class="p">,</span> <span class="mi">20</span><span class="p">,</span> <span class="s1">'Hello world!'</span><span class="p">);</span>
242-
<span class="nx">doc</span><span class="p">.</span><span class="nx">text</span><span class="p">(</span><span class="mi">20</span><span class="p">,</span> <span class="mi">30</span><span class="p">,</span> <span class="s1">'This is client-side Javascript, creating a PDF.'</span><span class="p">);</span>
243-
<span class="nx">doc</span><span class="p">.</span><span class="nx">addPage</span><span class="p">();</span>
244-
<span class="nx">doc</span><span class="p">.</span><span class="nx">text</span><span class="p">(</span><span class="mi">20</span><span class="p">,</span> <span class="mi">20</span><span class="p">,</span> <span class="s1">'Do you like that?'</span><span class="p">);</span>
245-
246-
<span class="nx">doc</span><span class="p">.</span><span class="nx">save</span><span class="p">(</span><span class="s1">'Test.pdf'</span><span class="p">);</span>
247-
</pre></div>
248-
249-
<h2>Credits</h2>
250-
251-
<p>Big thanks to Daniel Dotsenko from <a href="http://willow-systems.com">Willow Systems Corporation</a> for making huge contributions to the codebase. </p>
252-
253-
<p>Thanks to Ajaxian.com for <a href="http://ajaxian.com/archives/dynamically-generic-pdfs-with-javascript">featuring us back in 2009</a>.</p>
254-
255-
<p>Everyone else that's contributed patches or bug reports. You rock.</p>
256-
257-
<h2>License</h2>
258-
259-
<p>(MIT License)</p>
260-
261-
<p>Copyright (c) 2010-2012 James Hall, <a href="https://github.com/MrRio/jsPDF">https://github.com/MrRio/jsPDF</a></p>
262-
263-
<p>Permission is hereby granted, free of charge, to any person obtaining
264-
a copy of this software and associated documentation files (the
265-
"Software"), to deal in the Software without restriction, including
266-
without limitation the rights to use, copy, modify, merge, publish,
267-
distribute, sublicense, and/or sell copies of the Software, and to
268-
permit persons to whom the Software is furnished to do so, subject to
269-
the following conditions:</p>
270-
271-
<p>The above copyright notice and this permission notice shall be
272-
included in all copies or substantial portions of the Software.</p>
273-
274-
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
275-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
276-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
277-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
278-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
279-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
280-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
281-
</section>
282-
</div>
283-
284-
<!-- FOOTER -->
285-
<div id="footer_wrap" class="outer">
286-
<footer class="inner">
287-
<p class="copyright">jsPDF maintained by <a href="https://github.com/MrRio">MrRio</a></p>
288-
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
289-
</footer>
290-
</div>
291-
292-
<script type="text/javascript">
293-
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
294-
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
295-
</script>
296-
<script type="text/javascript">
297-
try {
298-
var pageTracker = _gat._getTracker("UA-32767308-2");
299-
pageTracker._trackPageview();
300-
} catch(err) {}
301-
</script>
302-
303-
304-
</body>
305-
</html>

0 commit comments

Comments
 (0)