Commit Graph

121 Commits

Author SHA1 Message Date
Remy Sharp
aace364794 test: put jscs as part of tests
Because, yes, I'd like a consistent code style!
2015-07-28 13:40:09 +01:00
Remy Sharp
27d9e8e8b0 chore: remove .gitmodules
No longer used. [skip ci]
2015-07-28 11:36:47 +01:00
Remy Sharp
ac1ca3deb9 docs: show how to test a single fixture 2015-07-28 10:49:18 +01:00
Remy Sharp
c8e4cab6ca test: simplify assets in tests 2015-07-28 10:48:29 +01:00
Remy Sharp
348f8a3199 test: include external import test
And contributing file for others to see how to file issues
2015-07-28 10:21:18 +01:00
Remy Sharp
22ee5dff26 test: drop travis 0.8 test
Keeps doing a socket hang up because the jQuery UI test is taking too long, and since it's latest-2, I'm happy not to have visibility. It works, I'm happy with that.
2015-07-28 07:17:42 +01:00
Remy Sharp
eb35f18577 1.0.1 2015-07-28 07:13:19 +01:00
Remy Sharp
06c8132aa3 fix: minified scripts being removed
Also add test
2015-07-28 07:12:46 +01:00
Remy Sharp
a0f685a906 docs: tidy up some text 2015-07-27 22:46:04 +01:00
Remy Sharp
e1d8dcc84c docs: add travis badge
[ci skip]
2015-07-27 22:40:34 +01:00
Remy Sharp
1eb1238c94 Merge pull request #51 from remy/feature/refactor
Full refactor across to cheerio
2015-07-27 22:25:20 +01:00
Remy Sharp
e046c3739a feat: auto-update + help 2015-07-27 22:24:38 +01:00
Remy Sharp
ef60842815 chore: support 0.8 2015-07-27 22:15:59 +01:00
Remy Sharp
6653796461 test: add full tests 2015-07-27 22:13:21 +01:00
Remy Sharp
743018c1a0 feat: scripts and compression 2015-07-27 16:00:56 +01:00
Remy Sharp
96ac1b7ac8 fix: background images in CSS 2015-07-27 14:54:46 +01:00
Remy Sharp
308aaa6be2 chore: remove submodule 2015-07-27 14:32:33 +01:00
Remy Sharp
eabd7c5441 fix: simple depth imports working 2015-07-27 14:26:25 +01:00
Remy Sharp
d6d13c83e4 fix: use own cli parser
minimist was eating the args after the flags, like `inliner -d <url>` was becoming `debug=<url>`, so I've added my own simple implementation that works well enough.
2015-07-27 13:22:12 +01:00
Remy Sharp
96d7bf2fe3 fix: relative urls 2015-07-26 23:05:40 +01:00
Remy Sharp
8dfea139c8 feat: removing comments + white space 2015-07-26 23:00:44 +01:00
Remy Sharp
50bd5a0f17 feat: CSS links working 2015-07-26 22:37:33 +01:00
Remy Sharp
16944df764 refactor: HTML pulling down, events, images 2015-07-26 16:44:49 +01:00
Remy Sharp
c940480c48 0.1.16 2015-07-24 21:29:19 +01:00
Remy Sharp
2343fb5fdd 0.1.15 2015-07-24 21:29:19 +01:00
Remy Sharp
e628109750 Merge pull request #46 from jpotter/master
Fix calls to existsSync; fix non-zero exit code on error
2015-02-25 11:52:33 +00:00
Build Server
4fb1190c41 Non-zero exit on failure, so that scripts using inliner know to halt 2015-02-24 12:10:26 -05:00
Build Server
77cfbd6e49 Fix path.existsSync calls 2015-02-24 12:02:31 -05:00
Remy Sharp
60d7cd7de6 Merge pull request #41 from mccartney/master
Fixes #13 (in upstream)
2014-07-22 17:01:41 +01:00
Grzegorz Oledzki
2f6a3bb1b3 Fixes #13 (in upstream) 2014-07-22 17:11:09 +02:00
Remy Sharp
d86313172e Merge pull request #38 from TJKoury/patch-1
Change for null cases
2014-05-31 23:32:38 +01:00
TJKoury
e3cb626ce9 Change for null cases
In the case that this.src is null, need to go ahead and handle it gracefully.  Rather let url.js handle the null case than try to anticipate all the ways it could go wrong.
2014-05-31 13:49:15 -04:00
Remy Sharp
574f2c3ed0 Merge pull request #36 from jorendorff/master
Support relative <img src=> URLs.
2014-01-03 01:47:24 -08:00
Jason Orendorff
4e5d0b6eca Support relative <img src=> URLs.
img.src is an absolute URL. jsdom's img.src getter produces this URL by
resolving the <img src=> attribute value relative to the document's URL --
which is bogus unless we explicitly pass a correct URL to jsdom.env() to
start with.
2013-11-22 16:46:15 -06:00
Remy Sharp
909b96323d Merge pull request #30 from Andyroid1978/html_parsing_error_fix
Update inliner.js
2013-08-02 02:13:15 -07:00
Andyroid1978
40b47f48c5 Update inliner.js
Fix compatibility error with recent version jsdom module (mine is  jsdom@0.8.2): changed jsdom.env number of parameters.
2013-07-31 16:05:41 +02:00
Remy Sharp
c8ffae5579 Merge pull request #28 from jpalardy/patch-1
Update package.json
2013-07-15 02:03:59 -07:00
Jonathan Palardy
7ef02df8d9 Update package.json
jsdom wasn't working on "latest" (0.7.0), so I pin it to 0.6.5
2013-07-14 23:53:51 -07:00
Remy Sharp
4f1af5c7d6 error handling for a) missing body in scripts, b) jsdom failing to parse HTML 2012-01-02 09:31:59 +00:00
Remy Sharp
7e30780fe4 fixed exception where comments could not be found 2011-12-31 14:21:09 +00:00
Remy Sharp
229d4f146b moved to commander for options and fixed up JS parsing errors 2011-12-30 17:43:06 +00:00
Remy Sharp
8a5f50fd0d bump version 2011-11-29 16:18:51 +00:00
Remy Sharp
aa2d63aefe fixed HTML encoding when it should not have been happening 2011-11-29 16:18:40 +00:00
Remy Sharp
a81db9687f bump version 2011-11-29 16:08:21 +00:00
Remy Sharp
ee87478e93 fix missing some closing script in scripts 2011-11-29 16:07:59 +00:00
Remy Sharp
2e76545087 bump 2011-11-06 00:35:43 +00:00
Remy Sharp
801e7ece22 updated package for 0.6 support 2011-11-06 00:34:47 +00:00
remy
ffc6431b0e Merge branch 'master' of github.com:remy/inliner 2011-06-22 18:39:36 +01:00
remy
e1ae854e67 fixed defaults being overwritten 2011-06-22 18:39:17 +01:00
remy
01dd4c743b Merge branch 'master' of github.com:remy/inliner 2011-06-22 18:21:37 +01:00