cannon.js icon indicating copy to clipboard operation
cannon.js copied to clipboard

Documentation css just fucked up

Open marcofugaro opened this issue 5 years ago • 4 comments

Now the menu on the left is fullscreen, it used to be just on the left

https://schteppe.github.io/cannon.js/docs/

Screenshot 2020-02-10 at 12 11 18

marcofugaro avatar Feb 10 '20 11:02 marcofugaro

Bunch of errors in the console. Cannon is slowly disintegrating. Piece by piece. First the documentation, then collision detection will stop working. 😄

swift502 avatar Feb 10 '20 11:02 swift502

it works under http:// only

http://schteppe.github.io/cannon.js/docs/classes/World.html

both the css and yui.js are being loaded without http:// and the browser refuses to, when page is under secure protocol

here are the blocked requests

  • https://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css
  • http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js

so, Yahoo is not making them available under https:// but fortunately cdnjs seems to have them

if you replace with these in the doc generation tool, it will be ok

  • https://cdnjs.cloudflare.com/ajax/libs/yui/3.9.1/yui/yui-min.js
  • https://cdnjs.cloudflare.com/ajax/libs/yui/3.9.1/cssgrids/cssgrids-min.css

:-D

please don't let cannon die 💯

andrezero avatar Mar 31 '20 21:03 andrezero

@andrezero if you not see it there is this cannon fork https://github.com/react-spring/cannon-es

arpu avatar Mar 31 '20 21:03 arpu

@andrezero if you not see it there is this cannon fork https://github.com/react-spring/cannon-es

Yes, 💯saw that yesterday as well :-) very happy/

Fork's README still says Visit the original project for full documentation and examples.

Will open issue there.

andrezero avatar Apr 02 '20 00:04 andrezero