Giter Club home page Giter Club logo

Comments (10)

vlucas avatar vlucas commented on August 25, 2024

I just tried that example, and here is the compressed result I get using Chrome/OSX 10.6:

function vaca(){el.find(".c-links .c-mini-tooltip-ico").tooltip({content:"The  &quot;Edit as new &quot; feature creates a copy of the current item and opens it for editing.<br /> Don't forget to Save/Publish it after editing. The current item remains unchanged.",className:"c-tooltip",width:"415"})}

What borwser/operating system do you have?

from jscompress.com.

laviniu avatar laviniu commented on August 25, 2024

i tried it on firefox 8, win 7 but same result with " instead of &quot; on "chrome 15.0.874.106 m" on win7

from jscompress.com.

laviniu avatar laviniu commented on August 25, 2024

this is what i get on firefox if i use that example

function vaca(){el.find(".c-links .c-mini-tooltip-ico").tooltip({content:"The "Edit as new " feature creates a copy of the current item and opens it for editing.<br />Don't forget to Save/Publish it after editing. The current item remains unchanged.",className:"c-tooltip",width:"415"})}

from jscompress.com.

cclaerhout avatar cclaerhout commented on August 25, 2024

Special html characters have also this problem.

        string = string
            .replace(/&amp;/g, "&")
            .replace(/&lt;/g, "<")
            .replace(/&gt;/g, ">")
            .replace(/&quot;/g, '"')
            .replace(/&#039;/g, "'");

        if(options == 'space')
        {
            string = string
                .replace(/    /g, '\t')
                .replace(/&nbsp;/g, '  ')
                .replace(/<\/p>\n<p>/g, '\n');
        }

Results are the same in Firefox, Chrome, Opera, IE9 (windows 7)

from jscompress.com.

 avatar commented on August 25, 2024

Hello,

I've been using this service for a long time and now I'm experimenting weird behavior. When I try to compress a long JS file I get "500 Internal Server Error" screen. The service is working because I used it to compress a short JS snippet and It works, the problem is when I put a big piece of code.

I'm using the "Copy & Paste Javascript Code" section.

Please help.

Thanks

from jscompress.com.

vlucas avatar vlucas commented on August 25, 2024

@eliercm Yours sounds like a separate issue. Can you make a Gist of the code you were trying to paste in so I can see what is happening?

from jscompress.com.

 avatar commented on August 25, 2024

@vlucas
I can't do that. But the code works, I also tried another JS file that wasn't modified and I got the same error. Like I said in my previous comment, I've compressed those files in the same way before.
Thanks for the response.

from jscompress.com.

vlucas avatar vlucas commented on August 25, 2024

@eliercm your 500 error issues should be resolved now. Thanks.

from jscompress.com.

 avatar commented on August 25, 2024

Hello,

Thank you for the update, It's working fine again. I'm sorry for my late
response.

Regards,
Elier

On Wed, Oct 14, 2015 at 4:47 PM, Vance Lucas [email protected]
wrote:

@eliercm https://github.com/eliercm your 500 error issues should be
resolved now. Thanks.


Reply to this email directly or view it on GitHub
#2 (comment)
.

from jscompress.com.

vlucas avatar vlucas commented on August 25, 2024

This has been fixed with the new rewrite in React.js: http://jscompress.com/

from jscompress.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.