Automattic / antiscroll

OS X Lion style cross-browser native scrolling on the web that gets out of the way.
1.07k stars 162 forks source link

Demo is broken #60

Open calumbrodie opened 11 years ago

calumbrodie commented 11 years ago

Throws a JS error:

Uncaught TypeError: Object [object Object] has no method 'antiscroll'

rauchg commented 11 years ago

Yeah it was broken by a pull request. Pull request to fix it welcome

calumbrodie commented 11 years ago

I'll try and get it working locally first :-)

calumbrodie commented 11 years ago

Edit: Ignore

The demo isn't actually broken when I clone the repo locally. Reason it isn't working for me is as follows:

Refused to execute script from 'https://raw.github.com/LearnBoost/antiscroll/master/antiscroll.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

Chrome 27.0.1453.93 OSX 10.8.3

calumbrodie commented 11 years ago

Related : https://github.com/LearnBoost/antiscroll/pull/62

kumarharsh commented 11 years ago

Fixed in PR: https://github.com/LearnBoost/antiscroll/pull/62#commits-pushed-1965478

2is10 commented 11 years ago

Still doesn't work in Chrome 27 / Mac. Also doesn't work in IE 9 / Win 7:

SEC7112: Script from https://raw.github.com/LearnBoost/antiscroll/master/antiscroll.js was blocked due to mime type mismatch 
SCRIPT438: Object doesn't support property or method 'antiscroll' antiscroll, line 124 character 9

Does work in Firefox 21.0 / Mac.