-
Notifications
You must be signed in to change notification settings - Fork 105
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
GSS does support electron or nwjs(node-webkit)? #197
Comments
We use it with phantomjs 2 and it works good. http://codepen.io/anon/pen/pJdeqg is this any better? More up to date gss. |
Hello it works with electron but only in style tag, because when I try with a external link : Have I missed something? Update: sorry I forget the code ^^ |
Try using latest version of gss |
Hello, I try but same thing it doesn't work |
External stylesheets are loaded with XHR. Do you have COSR access to the path you request with? It also requires web server, as XHR doesnt work over file://. Sorry, I dont know the specifics of those platforms. If there's a ready example that I could download and run, I could try to give it a chance to debug |
I have the same issue :/ |
+1 for external stylesheet not working |
The only problem with those platforms, is that they make Those platforms are chrome browsers with node js bindings, the problem is those binding is that they run on a separate process, leading to v8 crashes and all of that goodness, but sometimes it all just fails silently. To resolve this I guess you would have to make the library detect if the environment is truly node, otherwise it should work as in a browser if (typeof module != null && module.export !== undefined && typeof document === "undefined")
// ... |
I'm working on electron platform.
I've checked gss official helloworld step http://codepen.io/thegridgssdocs/pen/PweaGN works great on common browsers.
But it seems gss doesn't work on electron nor node-webkit either.
Have I missed something?
The text was updated successfully, but these errors were encountered: