mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +02:00
Use the strict
mode assert
in the pdf2png Node.js example (issue 10768)
See https://nodejs.org/api/assert.html#assert_strict_mode
This commit is contained in:
parent
693240cf06
commit
3783eccfa4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
var Canvas = require('canvas');
|
||||
var assert = require('assert');
|
||||
var assert = require('assert').strict;
|
||||
var fs = require('fs');
|
||||
|
||||
function NodeCanvasFactory() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue