Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redacteur-doc-technique
old-antora-ui-default-fork
Commits
8aee218d
Commit
8aee218d
authored
May 17, 2020
by
Dan Allen
Browse files
merge !118
resolves #136 fix Error.call conflict when Opal is loaded
parents
a87c6b97
85299bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
gulp.d/tasks/build-preview-pages.js
View file @
8aee218d
'
use strict
'
// NOTE remove patch after upgrading from asciidoctor.js to @asciidoctor/core
Error
.
call
=
(
self
,
...
args
)
=>
{
const
err
=
new
Error
(...
args
)
return
Object
.
assign
(
self
,
{
message
:
err
.
message
,
stack
:
err
.
stack
})
}
const
asciidoctor
=
require
(
'
asciidoctor.js
'
)()
const
fs
=
require
(
'
fs-extra
'
)
const
handlebars
=
require
(
'
handlebars
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment