Live data from Hacker News

CloudGrid.js by Pinterest

github.com

1–6 of 6 posts

Re: CloudGrid.js by Pinterest

#2
I wish there was a link to a live example. The repository comes with an example but I'd have to check out the repository to see it. Unless there's a trick to loading html files in a repo on Github to be rendered in the browser (I know, security nightmare).

Re: CloudGrid.js by Pinterest

#3
post #2

I wish there was a link to a live example. The repository comes with an example but I'd have to check out the repository to see it. Unless there's a trick to loading html files in a repo on Github to be rendered in the browser (I know, security nightmare).

The trick is to use rawgithub.com (where you would otherwise see raw.github.com) - http://rawgithub.com/pinterest/cloudgrid/master/example/inde...

Re: CloudGrid.js by Pinterest

#4
post #2

I wish there was a link to a live example. The repository comes with an example but I'd have to check out the repository to see it. Unless there's a trick to loading html files in a repo on Github to be rendered in the browser (I know, security nightmare).

Pinterest front page is the example.

Re: CloudGrid.js by Pinterest

#5
post #2

I wish there was a link to a live example. The repository comes with an example but I'd have to check out the repository to see it. Unless there's a trick to loading html files in a repo on Github to be rendered in the browser (I know, security nightmare).

Pinterest front page is the example.

Pintrest front page is just vertical columns. This is more of a horizontally and vertically justified view. Much harder to achieve than columns.

In fact, from easiest to hardest...

* Vertical columns * Horizontal rows * Vertical and Horizontal grid

Re: CloudGrid.js by Pinterest

#6
post #2

I wish there was a link to a live example. The repository comes with an example but I'd have to check out the repository to see it. Unless there's a trick to loading html files in a repo on Github to be rendered in the browser (I know, security nightmare).

Thanks for the feedback. I've added a link to the rawgithub as suggested by zpao.