antiscroll icon indicating copy to clipboard operation
antiscroll copied to clipboard

Demo is broken

Open calumbrodie opened this issue 11 years ago • 6 comments

Throws a JS error:

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

calumbrodie avatar May 31 '13 15:05 calumbrodie

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

rauchg avatar May 31 '13 15:05 rauchg

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

calumbrodie avatar May 31 '13 15:05 calumbrodie

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 avatar May 31 '13 16:05 calumbrodie

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

calumbrodie avatar Jun 10 '13 09:06 calumbrodie

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

kumarharsh avatar Jun 15 '13 14:06 kumarharsh

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.

2is10 avatar Jun 21 '13 17:06 2is10