Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS Fiddle / Plunker example in README not working #192

Closed
SethArchambault opened this issue May 23, 2013 · 4 comments
Closed

JS Fiddle / Plunker example in README not working #192

SethArchambault opened this issue May 23, 2013 · 4 comments

Comments

@SethArchambault
Copy link

The Readme says to report an issue with JSFiddle, but the JSFiddle is not working in it's initial state:

http://jsfiddle.net/doercreator/mAxhX/1/

Looking in the console, I found the error:

Refused to execute script from 'https://github.com/opitzconsulting/jquery-mobile-angular-adapter/raw/master/compiled/jquery-mobile-angular-adapter-standalone.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. 

I tried replacing this with:

https://raw.github.com/opitzconsulting/jquery-mobile-angular-adapter/master/compiled/jquery-mobile-angular-adapter-standalone.js

But that didn't work either - github uses the MIME type 'text/plain'.

So we need this hosted somewhere before JSFiddle is useable for submitting errors!

Once this is done, I can see if I can replicate an error I'm having, and submit it if necessary. Thanks!

UPDATE:
Same problem exists with Plunker

@tbosch
Copy link
Contributor

tbosch commented May 23, 2013

Hi,
what Browser are you using? I just checked with current Firefox (v20) and Chrome (v26) and it's working there, only with a warning.
This seems the be documented here: https://code.google.com/p/chromium/issues/detail?id=180007

Solution mentioned in the tracker: use this link:
https://rawgithub.com/opitzconsulting/jquery-mobile-angular-adapter/master/compiled/jquery-mobile-angular-adapter-standalone.js

I will update the fiddle soon.
Thanks!

Tobias

@SethArchambault
Copy link
Author

Chrome v27 on Mac OS

Cool! that rawgithub link works!

@SethArchambault
Copy link
Author

I should note that the JSFiddle and Plunker example in ReadMe work (technically) in their current condition, until you add any code that requires angular.. Probably shoulda made that more clear.

tbosch pushed a commit that referenced this issue May 28, 2013
@tbosch
Copy link
Contributor

tbosch commented May 28, 2013

Created new jsfiddle and plunk. Closing this...

@tbosch tbosch closed this as completed May 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants