Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karama JSPM prevents use of webpage require #146

Open
dannyjlaurence opened this issue Apr 25, 2016 · 0 comments
Open

Karama JSPM prevents use of webpage require #146

dannyjlaurence opened this issue Apr 25, 2016 · 0 comments

Comments

@dannyjlaurence
Copy link

dannyjlaurence commented Apr 25, 2016

I'm having an issue trying to use phantomjs' webpage package. In short, I'm trying to do the following:

var webpage = require("webpage");
var page = webpage.create();
page.evaluate(function() { /* do some stuff */ });

Where webpage is the phantomjs' module (to get a sense for what this is, go here). As far as I can tell, phantomjs packages this up inside it's executable (it's certainly not in npm, I can see the module file in the github project but I doubt I can just map to it in JSPM, and besides that'd be hacky).

I think that this plugin should "pass through" this require call to phantomjs' default require method.

@dannyjlaurence dannyjlaurence changed the title Karam JSPM prevents use of webpage require Karama JSPM prevents use of webpage require Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant