Skip to content

Instantly share code, notes, and snippets.

@chancancode
Last active September 8, 2015 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chancancode/a92d7a68d438d7acdfa2 to your computer and use it in GitHub Desktop.
Save chancancode/a92d7a68d438d7acdfa2 to your computer and use it in GitHub Desktop.
<link-supressor>
<link-supressor pattern="(facebook|twitter)" message="Get back to work!">
<ul>
<li>Not censored: <a href="http://emberjs.com">http://emberjs.com</a></li>
<li>Censored: <a href="http://facebook.com">http://facebook.com</a></li>
<li>Censored: <a href="http://twitter.com">http://twitter.com</a></li>
<li>Not censored: <a href="http://wikipedia.org">http://wikipedia.org</a></li>
</ul>
</link-supressor>
{
"version": "0.4.10",
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"hax": "https://cdn.rawgit.com/chancancode/5b7b95b6268d51cdcaae/raw/92e0654083305c73cd601381a6cea705be9f8890/hax.js",
"ember": "http://builds.emberjs.com/canary/ember.debug.js",
"ember-template-compiler": "http://builds.emberjs.com/canary/ember-template-compiler.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment