Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #54 from jnrdt/master
Browse files Browse the repository at this point in the history
FIX : for some reasons, injecting core-js is not always in this relat…
  • Loading branch information
drewlustro authored Jul 14, 2017
2 parents 8d8dab2 + 85d7d8c commit c5b1376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phantom-page-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ page.settings.localToRemoteUrlAccessEnabled = true
page.settings.resourceTimeout = 15000

page.onInitialized = function () {
page.injectJs('../node_modules/core-js/client/core.js')
page.injectJs(page.libraryPath + '/../../core-js/client/core.js')
}

page.onResourceRequested = function (requestData, request) {
Expand Down

0 comments on commit c5b1376

Please # to comment.