Skip to content

Commit

Permalink
remove jquery dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangenco committed Apr 7, 2015
1 parent 4454642 commit 00dc897
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
</pre>
<iframe id="preview"></iframe>

<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/markdowntomla.js"></script>
<script type="text/javascript" src="./js/coffeescript.js"></script>
<script type="text/javascript" src="./js/ace.js"></script>
Expand All @@ -96,7 +95,6 @@
<!-- <script type="text/javascript" src="./js/Blob.js/BlobBuilder.js"></script> -->
<script type="text/coffeescript">
console.log "coffeescript works!"
$preview = $("#preview")

window.editor = ace.edit("editor")
editor.setTheme("ace/theme/textmate")
Expand Down Expand Up @@ -130,7 +128,7 @@
# or get a blob URL for display in the browser
url = stream.toBlobURL('application/pdf')
console.log url
$("#preview").attr('src', url)
document.getElementById('preview').src = url

refresh()
</script>
Expand Down

0 comments on commit 00dc897

Please sign in to comment.