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

Faster minification #85

Merged
merged 2 commits into from
May 15, 2014
Merged

Faster minification #85

merged 2 commits into from
May 15, 2014

Conversation

gmetais
Copy link
Contributor

@gmetais gmetais commented May 7, 2014

I managed to keep the HTML minified, that's a good news.
I also minified the JSON, if someone want's to read it without minification, he can still open the original phantomas JSON file.

@@ -84,7 +84,7 @@
</footer>
<script>var results = [
<%= results.map( function ( result ) {
return '/* ' + ( new Date( result.timestamp ) ) + ' | ' + result.timestamp + '.json */\n' + JSON.stringify( result, null, 2 ) ;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that was a feature request by @Augenfeind.

@Augenfeind. What do you think, are you still checking the html json?
Can we remove it?

@stefanjudis
Copy link
Owner

@Augenfeind can you please comment, if you still need the formatted json in index.html?!

Thanks. :)

@stefanjudis
Copy link
Owner

@gmetais Looks good for me. Think will merge soon.
Thanks a lot. :bowtie:

Hmm, but code coverage decreased, but will check on that myself.

@gmetais
Copy link
Contributor Author

gmetais commented May 7, 2014

Hmm, that was a feature request by @Augenfeind.

Could it be an option ?

@stefanjudis
Copy link
Owner

Let's wait for a statement of him.
I prefer to remove it. ;)

@stefanjudis stefanjudis added this to the v0.7.1 milestone May 15, 2014
stefanjudis added a commit that referenced this pull request May 15, 2014
Faster minification - fixes #84
@stefanjudis stefanjudis merged commit 56f9b5e into stefanjudis:master May 15, 2014
@stefanjudis
Copy link
Owner

@gmetais Thanks for that. Great job! :) Will be included in v0.7.1.

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

Successfully merging this pull request may close these issues.

None yet

2 participants