Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Adding SlimerJS Support #99

Merged
merged 8 commits into from
Feb 25, 2015
Merged

Conversation

tony2nite
Copy link
Contributor

This adds drop-in SlimerJS support to PhantomCSS - in part addresses #39. SlimerJS adds better support for webfonts, iconfonts etc.

You can now run the demo suite with casperjs test demo/testsuite.js --engine=slimerjs.

The main requirement of SlimerJS is the use of absolute paths. SlimerJS/PhantomCSS fails silently for me when it can't load files. So if SlimerJS fails like that, check the paths are right.

There's also a change to the resemble.js package to make the cross-domain setting optional which was also breaking SlimerJS... silently.

Tested with the SlimerJS 'Lightweight Edition 0.9.5' and Firefox 35.0.1, with 'application.ini' patched to allow this higher version number.

@tony2nite tony2nite changed the title Adding SlimerJS Slimerjs Adding SlimerJS Support Feb 18, 2015
@jamescryer jamescryer merged commit 252c576 into HuddleEng:master Feb 25, 2015
@jamescryer
Copy link

This is great. The latest version of resemble.js seems to fix the issue you addressed with CORS, so I've updated it. I've also made some tweaks to make this work with bundled-for-windows .bat file. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants