Comparison between JQuery. js and jquery. min. js in jquery

Source: Internet
Author: User

When I was just getting started with JQuery, the downloaded files include jquery. vsdoc. js, jquery. min. js and jquery. js is not very clear about the role of each file and the package to be introduced. Sometimes the introduction of jquery. min. js can be executed, and sometimes the introduction of jquery. js can also be executed. Now let's make a simple description.

The functions of the two files are exactly the same, but from the file or above we know that jquery. min. js should be a mini version, that is, the file will be very small.

Jquery. vsdoc. js provides smart prompts and Automatic completion when editing in visual studio.

The code in jquery. js is the original code that is not processed, and is suitable for people to read and study.
Jquery. min. the code in js has been specially processed. For example, the variable names are basically written as a letter, and the format indentation is deleted. therefore, the file size is relatively small (min), which is generally called on the webpage.

The conclusion is that jquery-1.4.2.min.js is optimized, and query-1.4.2.js is easy to develop and read.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.