Skip to content

Instantly share code, notes, and snippets.

@elijahmanor
Last active December 12, 2015 04:28
Show Gist options
  • Save elijahmanor/4714789 to your computer and use it in GitHub Desktop.
Save elijahmanor/4714789 to your computer and use it in GitHub Desktop.
Embedding a Specific Gist File is Broken

It seems embedding a specific file from a Gist recently broke. Example: https://gist.github.com/4490679.js?file=browser-sniffing.js now embeds all files from the gist instead of just the browser-sniffing.js file. Unfortunately, this breaks a lot of my blog posts.

The URL seems to have changed slightly to include the GitHub username in the URL to support embedding one file like https://gist.github.com/elijahmanor/4490679.js?file=browser-sniffing.js

I was able to update some of my posts, but I hope GitHub will support both ways. Was this behavior change an accident or on purpose? Anyone know?

Are there plans to add backwards compatibility? Where would I post this as a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment