How to use 'jquery 1.11 0 min js' in JavaScript

Every line of 'jquery 1.11 0 min js' 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
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}
39function JqueryUiFiles_1_11_0( jqueryUi ) {
40 var readFile, stripJqueryUiPath,
41 path = require( "path" );
42
43 readFile = this.readFile;
44 stripJqueryUiPath = this.stripJqueryUiPath;
45
46 this.commonFiles = commonFiles.map(function( path ) {
47 return glob( jqueryUi.path + path ).filter( noDirectory ).map( stripJqueryUiPath ).map( readFile );
48 }).reduce( flatten, Files() );
49
50 this.componentFiles = componentFiles.map(function( path ) {
51 return glob( jqueryUi.path + path ).filter( noDirectory ).map( stripJqueryUiPath ).map( readFile );
52 }).reduce( flatten, Files() );
53
54 this.i18nFiles = Files( glob( jqueryUi.path + "ui/i18n/*" ).map( stripJqueryUiPath ).map( readFile ) );
55
56 this.jqueryCore = Files( glob( jqueryUi.path + "external/jquery/jquery.js" ).map( stripJqueryUiPath ).map( readFile ) );
57
58 // Auxiliary variables
59 this.baseThemeCss = this.get( "themes/base/theme.css" );
60}

Related snippets