Skip to content

Commit

Permalink
Merge pull request #4965 from yurydelendik/annotations
Browse files Browse the repository at this point in the history
Splits shared/annotation.js into core/ and display/
  • Loading branch information
Snuffleupagus committed Jun 18, 2014
2 parents 011eb84 + bdeca30 commit 2282c98
Show file tree
Hide file tree
Showing 12 changed files with 284 additions and 318 deletions.
2 changes: 1 addition & 1 deletion examples/acroforms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<!-- In production, only one script (pdf.js) is necessary -->
<!-- In production, change the content of PDFJS.workerSrc below -->
<script src="../../src/shared/util.js"></script>
<script src="../../src/shared/annotation.js"></script>
<script src="../../src/display/api.js"></script>
<script src="../../src/display/metadata.js"></script>
<script src="../../src/display/canvas.js"></script>
<script src="../../src/display/webgl.js"></script>
<script src="../../src/display/pattern_helper.js"></script>
<script src="../../src/display/font_loader.js"></script>
<script src="../../src/display/annotation_helper.js"></script>

<script>
// Specify the main script used to create a new PDF.JS web worker.
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<!-- In production, only one script (pdf.js) is necessary -->
<!-- In production, change the content of PDFJS.workerSrc below -->
<script src="../../src/shared/util.js"></script>
<script src="../../src/shared/annotation.js"></script>
<script src="../../src/display/api.js"></script>
<script src="../../src/display/metadata.js"></script>
<script src="../../src/display/canvas.js"></script>
<script src="../../src/display/webgl.js"></script>
<script src="../../src/display/pattern_helper.js"></script>
<script src="../../src/display/font_loader.js"></script>
<script src="../../src/display/annotation_helper.js"></script>

<script>
// Specify the main script used to create a new PDF.JS web worker.
Expand Down
4 changes: 2 additions & 2 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ target.bundle = function(args) {

var SHARED_SRC_FILES = [
'shared/util.js',
'shared/annotation.js',
];

var MAIN_SRC_FILES = SHARED_SRC_FILES.concat([
Expand All @@ -379,7 +378,8 @@ target.bundle = function(args) {
'display/canvas.js',
'display/webgl.js',
'display/pattern_helper.js',
'display/font_loader.js'
'display/font_loader.js',
'display/annotation_helper.js',
]);

var srcFiles = builder.getWorkerSrcFiles('src/worker_loader.js');
Expand Down
Loading

0 comments on commit 2282c98

Please sign in to comment.