@@ -69,6 +69,7 @@ const AnnotationMode = {
6969 ENABLE_STORAGE : 3 ,
7070} ;
7171
72+ const AnnotationPrefix = "pdfjs_internal_id_" ;
7273const AnnotationEditorPrefix = "pdfjs_internal_editor_" ;
7374
7475const AnnotationEditorType = {
@@ -1122,22 +1123,6 @@ function isArrayEqual(arr1, arr2) {
11221123 return true ;
11231124}
11241125
1125- function getModificationDate ( date = new Date ( ) ) {
1126- if ( ! ( date instanceof Date ) ) {
1127- date = new Date ( date ) ;
1128- }
1129- const buffer = [
1130- date . getUTCFullYear ( ) . toString ( ) ,
1131- ( date . getUTCMonth ( ) + 1 ) . toString ( ) . padStart ( 2 , "0" ) ,
1132- date . getUTCDate ( ) . toString ( ) . padStart ( 2 , "0" ) ,
1133- date . getUTCHours ( ) . toString ( ) . padStart ( 2 , "0" ) ,
1134- date . getUTCMinutes ( ) . toString ( ) . padStart ( 2 , "0" ) ,
1135- date . getUTCSeconds ( ) . toString ( ) . padStart ( 2 , "0" ) ,
1136- ] ;
1137-
1138- return buffer . join ( "" ) ;
1139- }
1140-
11411126let NormalizeRegex = null ;
11421127let NormalizationMap = null ;
11431128function normalizeUnicode ( str ) {
@@ -1169,8 +1154,6 @@ function getUuid() {
11691154 return bytesToString ( buf ) ;
11701155}
11711156
1172- const AnnotationPrefix = "pdfjs_internal_id_" ;
1173-
11741157function _isValidExplicitDest ( validRef , validName , dest ) {
11751158 if ( ! Array . isArray ( dest ) || dest . length < 2 ) {
11761159 return false ;
@@ -1273,7 +1256,6 @@ export {
12731256 FeatureTest ,
12741257 FONT_IDENTITY_MATRIX ,
12751258 FormatError ,
1276- getModificationDate ,
12771259 getUuid ,
12781260 getVerbosityLevel ,
12791261 ImageKind ,
0 commit comments