editorconfig.github.com icon indicating copy to clipboard operation
editorconfig.github.com copied to clipboard

Add a demo

Open macro1 opened this issue 9 years ago • 8 comments

Porting @treyhunner's demo from https://github.com/treyhunner/editorconfig-slides to the editorconfig site.

  • [x] give style love
  • [x] cleanup selector logic

Adds gulp building (checking-in the compiled files, since publishing is currently through github's jekyll) and jQuery upgrade as well.

macro1 avatar Oct 26 '14 06:10 macro1

I like this idea.

treyhunner avatar Oct 26 '14 06:10 treyhunner

It's functional now. I don't think I'll get to refactoring the selectors.

macro1 avatar Oct 26 '14 22:10 macro1

I lied, it's cleaned up now... @treyhunner should be ready.

macro1 avatar Nov 13 '14 04:11 macro1

It seems to be broken:

selection_237

It also seems to break other styling:

selection_236

treyhunner avatar Nov 13 '14 22:11 treyhunner

Ah. I missed that I had changed the feel of the code example above. The JS works fine for me though. Which browser? Are you testing using Jekyll?

macro1 avatar Nov 14 '14 01:11 macro1

@treyhunner, I changed the script source link to a relative one, I'm pretty sure that's what was keeping it from working in whatever environment you were testing the changes in.

macro1 avatar Nov 14 '14 01:11 macro1

@macro1 are you still around? I realize this is 5 years old, but I'd like to take another look at it. Problem is, I can't clone your branch because GitHub says it's an unknown repo.

jednano avatar Aug 02 '19 05:08 jednano

@jedmao that is probably because I deleted my clone on Github at some point. You should be able to recover this branch from the 'pull' branches Github maintains with commands like this:

$ git fetch origin pull/22/head:demo
$ git checkout demo

macro1 avatar Aug 03 '19 19:08 macro1