antiscroll
antiscroll copied to clipboard
Demo is broken
Throws a JS error:
Uncaught TypeError: Object [object Object] has no method 'antiscroll'
Yeah it was broken by a pull request. Pull request to fix it welcome
I'll try and get it working locally first :-)
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
Related : https://github.com/LearnBoost/antiscroll/pull/62
Fixed in PR: https://github.com/LearnBoost/antiscroll/pull/62#commits-pushed-1965478
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.