简体   繁体   English

headjs resizer出现问题

[英]Problem with headjs resizer

I have been playing around lately with head.js but I have found a stranger behavior that I think is not normal. 我最近一直在使用head.js进行游戏,但是我发现了一个奇怪的行为,我认为这是不正常的。 When I'm using the screen size detector for resizing functionality the classes for the size doesn't change as it was expected to adapt to the new size (when you change the size of the window). 当我使用屏幕尺寸检测器调整功能大小时,尺寸类不会更改,因为它预期会适应新尺寸(更改窗口尺寸时)。

Have anyone experienced a similar problem with head.js? 有人遇到过head.js类似的问题吗?

Thanks! 谢谢!

EDIT: Head.js answered the ticket on Github and the problem is fixed: 编辑: Head.js回答了Github上的票证,问题已解决:

This is now fixed: 现在已解决:

https://github.com/headjs/headjs/commit/91324d8e676fd7a7f22c9f51f5482db0cb155f1b https://github.com/headjs/headjs/commit/91324d8e676fd7a7f22c9f51f5482db0cb155f1b

NOTE: I did not update the minified version of the file at this point. 注意:我目前尚未更新文件的缩小版本。

Thanks! 谢谢!

Playing around on the headjs.com website, it doesn't seem as if its updating the classes as I resize my browser (which it is supposed to do according to the description). 在headjs.com网站上玩耍时,似乎并没有在我调整浏览器大小时更新类(这应该根据说明进行)。 Perhaps a bug report is in order? 也许是一个错误报告?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM