Every line of 'jquery 1.3 2 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.
265 function _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 }
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
39 function 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 }