File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 34
34
'postPutResources' ,
35
35
function ( txt ) {
36
36
jsNamesObj = this . internal . newObject ( ) ;
37
- this . internal . write ( '<< /Names [(EmbeddedJS) ' + ( jsNamesObj + 1 ) + ' 0 R] >>' , 'endobj' ) ;
37
+ this . internal . out ( '<<' ) ;
38
+ this . internal . out ( '/Names [(EmbeddedJS) ' + ( jsNamesObj + 1 ) + ' 0 R]' ) ;
39
+ this . internal . out ( '>>' ) ;
40
+ this . internal . out ( 'endobj' ) ;
41
+
38
42
jsJsObj = this . internal . newObject ( ) ;
39
- this . internal . write ( '<< /S /JavaScript /JS (' , text , ') >>' , 'endobj' ) ;
43
+ this . internal . out ( '<<' ) ;
44
+ this . internal . out ( '/S /JavaScript' ) ;
45
+ this . internal . out ( '/JS (' + text + ')' ) ;
46
+ this . internal . out ( '>>' ) ;
47
+ this . internal . out ( 'endobj' ) ;
40
48
}
41
49
) ;
42
50
this . internal . events . subscribe (
43
51
'putCatalog' ,
44
52
function ( ) {
45
53
if ( jsNamesObj !== undefined && jsJsObj !== undefined ) {
46
- this . internal . write ( '/Names <</JavaScript ' + jsNamesObj + ' 0 R>>' ) ;
54
+ this . internal . out ( '/Names <</JavaScript ' + jsNamesObj + ' 0 R>>' ) ;
47
55
}
48
56
}
49
57
) ;
You can’t perform that action at this time.
0 commit comments