����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 52.15.165.239 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/assets/admin/vendors/devbridge-autocomplete/ |
Upload File : |
module.exports = function(grunt) { var pkg = grunt.file.readJSON('package.json'); var banner = [ '/**', '* Ajax Autocomplete for jQuery, version ' + pkg.version, '* (c) 2014 Tomas Kirda', '*', '* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.', '* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete', '*/'].join('\n') + '\n'; // Project configuration. grunt.initConfig({ pkg: pkg, uglify: { options: { banner: banner }, build: { src: 'src/jquery.autocomplete.js', dest: 'dist/jquery.autocomplete.min.js' } } }); // Load the plugin that provides the "uglify" task. grunt.loadNpmTasks('grunt-contrib-uglify'); // Default task(s). grunt.registerTask('default', ['uglify']); grunt.task.registerTask('build', 'Create release', function() { var version = pkg.version, src = grunt.file.read('src/jquery.autocomplete.js').replace('%version%', version), filePath = 'dist/jquery.autocomplete.js'; // Update not minimized release version: console.log('Updating: ' + filePath); grunt.file.write(filePath, src); // Minify latest version: grunt.task.run('uglify'); // Update plugin version: filePath = 'devbridge-autocomplete.jquery.json'; src = grunt.file.readJSON(filePath); if (src.version !== version){ src.version = version; console.log('Updating: ' + filePath); grunt.file.write(filePath, JSON.stringify(src, null, 4)); } else { console.log('No updates for: ' + filePath); } // Update bower version: filePath = 'bower.json'; src = grunt.file.readJSON(filePath); if (src.version !== version){ src.version = version; console.log('Updating: ' + filePath); grunt.file.write(filePath, JSON.stringify(src, null, 4)); } else { console.log('No updates for: ' + filePath); } }); };