Skip to content

Commit

Permalink
added peer review (commenting)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Boysen committed Mar 6, 2016
1 parent 4f11a73 commit eb908b8
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 1 deletion.
13 changes: 13 additions & 0 deletions comments-built-min.js

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!doctype html>
<meta charset="utf-8"/>
<title>ProseMirror Peer Review Examples</title>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="//handsontable.com/dist/handsontable.full.js"></script>
<script src="amcharts/amcharts.js"></script>
<script src="amcharts/serial.js"></script>
<script src="amcharts/gantt.js"></script>
<script src="amcharts/pie.js"></script>
<script src="amcharts/funnel.js"></script>
<script src="amcharts/gauge.js"></script>
<script src="amcharts/radar.js"></script>
<script src="amcharts/xy.js"></script>
<script src="ammap/ammap_amcharts_extension.js"></script>
<script src="amcharts/plugins/dataloader/dataloader.js"></script>
<link rel="stylesheet" media="screen" href="//handsontable.com/dist/handsontable.full.css">
<style>
body {
font-family: Arial;
margin: 0 1em
}
</style>
<h4>ProseMirror Peer Review Example</h4>
<p style="width: 800px">
In a peer review you can comment but not change the text.
Swipe a section of the text and add a comment.
</p>

<div class="comments">
<div id="editor"></div>
<div id="comments"></div>
</div>

<div id="content" style="visibility:hidden">
<p>
Perhaps, as has been suggested, patients get better irregardless of antibiotics, and not because of them.
It was a questionable call in the 81st minute that for all intensive purposes decided the outcome.
Is it in danger of putting form ahead of function? Same difference, says Jobs.
</p>
<p><strong>The Media is Lying- Hillary Didn't Win Nevada</strong> says this pundit.

<p>Data is a collection of facts, such as numbers, words, measurements, observations or even just descriptions of things.
I drove to Pike's Pique to take a peak at the peek.
I am racked with pane after a wrack fell on me.
I think we should make a 360-degree turn.
The first chapter of "War and Peace" is the penultimate chapter of the book.
</p>
</div>

<script src="comments-built.js"></script>
2 changes: 1 addition & 1 deletion grammar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html>
<meta charset="utf-8"/>
<title>ProseMirror Widgets Examples</title>
<title>ProseMirror Grammar Examples</title>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="//handsontable.com/dist/handsontable.full.js"></script>
<script src="amcharts/amcharts.js"></script>
Expand Down
Binary file added icons/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb908b8

Please sign in to comment.