This file contains hidden or 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
// adapted from https://stackoverflow.com/questions/1554280/extract-text-from-pdf-in-javascript/9213180#9213180 | |
page.render(renderContext).promise.then(function(pdf){ | |
page.getTextContent().then(function(textContent){ | |
var page_text = ""; | |
var last_block = null; | |
for(j = 0; j < textContent.length; j++){ | |
var block = textContent[j]; | |
if(last_block != null && last_block.str[last_block.str.length - 1] != ' '){ |
This file contains hidden or 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
<div data-role="tabs" id="tabs"> | |
<div data-role="listview" id="tabnav"> | |
<ul> | |
<li><a href="#test">Test</a></li> | |
</ul> | |
</div> | |
</div> |