码迷,mamicode.com
首页 > 其他好文 > 详细

Magento 切换成中文后没有数据信息解决办法

时间:2014-06-13 13:17:44      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   java   http   

一款基于Google Closure compiler压缩Js文件插件。

快捷键:

Ctrl+Alt+M            当前文件内压缩Js代码(不推荐)

Ctrl+Alt+Shift+M   压缩Js并生成压缩文件 *.min.js

 

安装成功重启,如果报错,在配置里改一个参数,"compiler": "uglify_js",
bubuko.com,布布扣
{
    // the closure compiler adds new lines every 500 characters
    // for some proxies that choke with lines longer than that... don‘t care?
    // set this setting to true.
    "remove_new_lines": false,

    // the default optimization level to use for minification. Acceptable optios are:
    // WHITESPACE_ONLY, SIMPLE_OPTIMIZATIONS, ADVANCED_OPTIMIZATIONS
    // These primiarly apply to the closure compiler. For more info on which to use, go to: https://developers.google.com/closure/compiler/docs/compilation_levels
    "optimization_level": "WHITESPACE_ONLY",

    // the compiler to use for minification.
    // Accepted values are: google_closure|uglify_js
    "compiler": "uglify_js",

    // when you create a file you want to automatically open it?
    "open_on_min": true
}
bubuko.com,布布扣

 

下载地址:https://github.com/cgutierrez/JsMinifier

Magento 切换成中文后没有数据信息解决办法,布布扣,bubuko.com

Magento 切换成中文后没有数据信息解决办法

标签:style   class   blog   code   java   http   

原文地址:http://www.cnblogs.com/bethel511/p/3771953.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!