最近用 Yui comprressor 压缩 flexigrid  报: "invalid property id" 

查询到如下:

 

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 的属性名用 “” 括起来。 就好了。

相关文章:

  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2021-11-08
  • 2021-06-27
  • 2021-08-11
  • 2021-08-20
  • 2022-03-10
  • 2022-02-13
相关资源
相似解决方案