Skip to content

Commit

Permalink
Merge branch 'jspdf-update-nov' into 'testing'
Browse files Browse the repository at this point in the history
update jspdf for comments download

See merge request moodle_l2p/moodle-mod_pdfannotator!198
  • Loading branch information
Anisa Kusumadewi committed Dec 5, 2022
2 parents 403e80d + e2e8f99 commit e28b7dc
Show file tree
Hide file tree
Showing 8 changed files with 27,611 additions and 43,915 deletions.
465 changes: 385 additions & 80 deletions amd/build/jspdf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion amd/build/jspdf.min.js.map

Large diffs are not rendered by default.

48,320 changes: 27,216 additions & 21,104 deletions amd/src/jspdf.js

Large diffs are not rendered by default.

22,721 changes: 0 additions & 22,721 deletions amd/src/jspdf.js.ori

This file was deleted.

2 changes: 1 addition & 1 deletion locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function pdfannotator_display_embed($pdfannotator, $cm, $course, $file, $page =
// Load and execute the javascript files.
$PAGE->requires->js(new moodle_url("/mod/pdfannotator/shared/pdf.js?ver=00002"));
$PAGE->requires->js(new moodle_url("/mod/pdfannotator/shared/textclipper.js"));
$PAGE->requires->js(new moodle_url("/mod/pdfannotator/shared/index.js?ver=00036"));
$PAGE->requires->js(new moodle_url("/mod/pdfannotator/shared/index.js?ver=00037"));
$PAGE->requires->js(new moodle_url("/mod/pdfannotator/shared/locallib.js?ver=00006"));

// Pass parameters from PHP to JavaScript.
Expand Down
12 changes: 6 additions & 6 deletions shared/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion thirdpartylibs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<library>
<location>amd/src/jspdf.js</location>
<name>jsPDF</name>
<version>1.4.1</version>
<version>2.5.1</version>
<license>MIT</license>
<licenseversion></licenseversion>
</library>
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_pdfannotator';
$plugin->version = 2022112800;
$plugin->version = 2022112900;
$plugin->release = 'PDF Annotator v1.5 release 2';
$plugin->requires = 2021051700;
$plugin->maturity = MATURITY_STABLE;

0 comments on commit e28b7dc

Please sign in to comment.