In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "what are the differences between the ordinary version of jquery and the min version". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Differences: 1, the ordinary version of jquery is an uncompressed jquery library, the file is relatively large, while the min version is compressed by the full version of the library to delete white space characters, comments, etc.; 2, the ordinary version of jquery is generally used to read the learning source code or modify the source code, and the min version is generally used for website reference to reduce file volume.
The operating environment of this tutorial: windows10 system, jquery3.2.1 version, Dell G3 computer.
What is the difference between the normal version of jquery and the version of min
Jquery official website provides two kinds of jQuery downloads, one is jquery.js and the other is jquery.min.js
The file name may not be exactly the same, but in general:
Jquery.js is a complete uncompressed jQuery library, the file is relatively large, generally used to read and learn the source code or modify the source code, generally not for online projects.
Jquery.min.js is from the full version of the jQuery library after compression, the compressed function is exactly the same as the uncompressed, except that the white space characters, comments, blank lines and other content that have nothing to do with logic are deleted and optimized. This version is generally used for website reference, reducing file size, reducing website traffic, improving access speed, etc.
Summary:
The functions of the two versions are exactly the same, except that the former is a compressed version and the latter is a non-compressed version.
The uncompressed version is suitable for development, and each code is formatted according to the code style, making it convenient for developers to analyze the source code.
The compressed version is suitable for the actual project, the code is compressed, and all comments and line breaks and spaces are removed, so the file size is much smaller than the uncompressed version.
This is the end of the content of "what is the difference between the ordinary version of jquery and the min version". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.