How to use 'jquery 1.11.1 cdn' in JavaScript

Every line of 'jquery 1.11.1 cdn' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
this disclaimer
265function _jQueryMinVersion(version) {
266 var $ver = $.fn.jquery.split('.');
267 var ver = version.split('.');
268 var $major = $ver[0];
269 var $minor = $ver[1];
270 var $patch = $ver[2];
271 var major = ver[0];
272 var minor = ver[1];
273 var patch = ver[2];
274
275 return !(
276 (major > $major) ||
277 (major === $major && minor > $minor) ||
278 (major === $major && minor === $minor && patch > $patch)
279 );
280}
Important

Use secure code every time

Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code


Related snippets