YUI comprressor 压缩flexigrid 报错。
2010-05-18 12:05
176 查看
最近用 Yui comprressor 压缩 flexigrid 报: "invalid property id"
查询到如下:
For those using the YUI comprressor, it will fail on the following line:
But works fine with this:
The problem is that float is a reserved word and the YUI compressor does not know it is used for an array index.
按方法,把 CSS 的属性名用 “” 括起来。 就好了。
查询到如下:
For those using the YUI comprressor, it will fail on the following line:
$(this.colCopy).css({position:'absolute',float:'left',display:'none', textAlign: obj.align});
But works fine with this:
$(this.colCopy).css({position:'absolute','float':'left',display:'none', textAlign: obj.align});
The problem is that float is a reserved word and the YUI compressor does not know it is used for an array index.
按方法,把 CSS 的属性名用 “” 括起来。 就好了。
相关文章推荐
- C# GZipStream 压缩 解压
- 各种矩阵压缩原理(书本上没有讲到的具体公式推理过程)
- Android中图片通过BitmapFactory进行压缩
- 并查集路径压缩方法
- bitmap压缩问题(按比例压缩和压缩成固定大小)
- swift如何压缩图片到指定大小以内,尺寸和体积双压缩
- 压缩文件
- java压缩文件
- MVC中用 BundleCollection 压缩CSS时图片路径问题
- 压缩与解压缩及文件归档
- 上传图片图像进行压缩后上传
- nginx的gzip压缩功能参数介绍(ngx_http_gzip_module)
- 通过WCF扩展实现消息压缩
- 【Jquery】【控件】flexigrid 自定义查询
- hadoop中使用 Gzip 压缩格式支持笔记
- Linux 压缩解压命令备忘
- Hdu 2167 Pebbles 状态压缩
- asp.NET中实现文件的压缩和解压(3种方式)
- 使用系统内建的压缩文件工具压缩文件夹
- 关于egg的压缩测试报告