Compare commits

...

8 Commits

Author SHA1 Message Date
Jeffrey Warren
dd7be2a5fa ['--no-sandbox', '--disable-setuid-sandbox'] 2019-04-30 14:34:11 -04:00
Jeffrey Warren
a3558ade24 Update gl-context.js 2019-04-30 14:25:20 -04:00
Jeffrey Warren
dd7608283f remove --no-sandbox but leave --disable-setuid-sandbox 2019-04-30 14:10:42 -04:00
Jeffrey Warren
50da69563d Merge branch 'main' into headless-option-puppeteer 2019-04-30 13:57:14 -04:00
Jeffrey Warren
66fc58fccb --disable-setuid-sandbox 2019-04-23 12:36:11 -04:00
jywarren
20f2b05076 Merge branch 'headless-option-puppeteer' of github.com:publiclab/image-sequencer into headless-option-puppeteer 2019-04-19 17:57:29 -04:00
jywarren
2cdfb9dcd8 version bump for v3.1.1 bugfix 2019-04-19 17:56:46 -04:00
Jeffrey Warren
9609a0af72 update puppeteer for headless 2019-04-19 17:34:47 -04:00
3 changed files with 1612 additions and 1596 deletions

3202
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "image-sequencer",
"version": "3.3.0",
"version": "3.3.1",
"description": "A modular JavaScript image manipulation library modeled on a storyboard.",
"main": "src/ImageSequencer.js",
"scripts": {

View File

@@ -9,7 +9,7 @@ module.exports = function runInBrowserContext(input, callback, step, options) {
var obj = { input: input, modOptions: minOptions }
puppeteer.launch().then(function(browser) {
puppeteer.launch({headless: true, args:['--no-sandbox', '--disable-setuid-sandbox']}).then(function(browser) {
browser.newPage().then(page => {
/* Maybe there is a better way to this, loading the page coz localstorage API
is not available otherwise */
@@ -34,4 +34,4 @@ module.exports = function runInBrowserContext(input, callback, step, options) {
});
});
});
}
}