????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/wp-content/plugins/Temp-Hold/ubermenu/ |
Upload File : |
module.exports = function(grunt) {
require('google-closure-compiler').grunt(grunt);
// Project configuration.
// grunt.initConfig({
// pkg: grunt.file.readJSON('package.json'),
// uglify: {
// build: {
// src: 'assets/js/*.js',
// dest: 'assets/js/ubermenu.min.js'
// }
// }
// });
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// uglify: {
// build: {
// src: 'assets/css/ubermenu.css',
// dest: 'assets/css/ubermenu.min.css'
// }
// },
cssmin: {
options: {
banner:
"/*\n"+
" * UberMenu 3 \n" +
" * http://wpmegamenu.com \n" +
" * Copyright 2011-2017 Chris Mavricos, SevenSpark \n" +
" */"
},
minify: {
files: {
'assets/css/ubermenu.min.css' : ['assets/css/ubermenu.css'],
'pro/assets/css/ubermenu.min.css' : ['pro/assets/css/ubermenu.css']
}
}
/*
minify: {
expand: true,
cwd: 'assets/css/',
src: ['ubermenu.css'],
dest: 'assets/css/',
ext: '.min.css'
}
*/
},
// 'closure-compiler': {
// frontend: {
// closurePath: '/usr/local/opt/closure-compiler/libexec', // '/usr/local/lib/closure-compiler',
// js: 'assets/js/*.js',
// jsOutputFile: 'assets/js/ubermenu.min.js',
// maxBuffer: 500,
// options: {
// compilation_level: 'SIMPLE_OPTIMIZATIONS',
// language_in: 'ECMASCRIPT5_STRICT'
// }
// }
// },
'closure-compiler': {
ubermenujs: {
files: {
'assets/js/ubermenu.min.js': ['assets/js/ubermenu.js']
},
options: {
compilation_level: 'SIMPLE_OPTIMIZATIONS',
output_wrapper: '',
debug: false,
language_in: 'ECMASCRIPT5_STRICT',
language_out: 'ECMASCRIPT5_STRICT'
}
}
},
less: {
development: {
options: {
compress: false,
},
files: [
{
"assets/css/ubermenu.css": "assets/css/ubermenu.less"
},
{
"pro/assets/css/ubermenu.css": "pro/assets/css/ubermenu.less"
},
{
"custom/custom-sample-skin.css": "pro/assets/css/skins/custom-skin.less"
},
{
expand: true,
cwd: 'pro/assets/css/skins/',
src: ['*.less'],
dest: 'pro/assets/css/skins/',
ext: '.css'
// target.css file: source.less file
//"pro/assets/css/skins/blackwhite2.css": "pro/assets/css/skins/blackwhite2.less"
},
{
expand: true,
cwd: 'pro/assets/css/skins/',
src: ['blackwhite2.less','blackwhite.less','vanilla.less','vanilla_bar.less', 'minimal.less'],
dest: 'assets/css/skins',
ext: '.css'
// target.css file: source.less file
//"pro/assets/css/skins/blackwhite2.css": "pro/assets/css/skins/blackwhite2.less"
}
]
}
},
makepot: {
target: {
options: {
mainFile: 'ubermenu.php',
domainPath: '/languages',
// include: [
// 'path/to/some/file.php'
// ],
type: 'wp-plugin', // or `wp-theme`
potHeaders: {
poedit: true
}
}
}
}
});
// Load the plugin that provides the "uglify" task.
//grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-cssmin');
//grunt.loadNpmTasks('grunt-closure-compiler');
grunt.loadNpmTasks('grunt-wp-i18n');
// Default task(s).
//grunt.registerTask('default', ['uglify']);
grunt.registerTask('default', ['less','cssmin','closure-compiler','makepot']);
grunt.registerTask('css', ['less','cssmin']);
grunt.registerTask('go', ['less','cssmin','closure-compiler']);
grunt.registerTask('compile', ['closure-compiler']);
grunt.registerTask('pot', ['makepot']);
};