mattfaluotico / spongebob_reaction

A Spongebob reaction gif/pic for all situations.

Home Page:http://reactpants.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spongebob Reactions

A Spongebob reaction gif/pic for all situations.

Adding your own

Just follow the pattern in the JSON file. Each reaction has a list of keywords and a URL. That's all!

Build

Flow

Most of the work is dont is app.js. This is built with Reactive Functional Programming via bacon.js. Input in the search box creates an event stream, which is quickly turned into a property stream containing the text in the search. The text is used in the continuous JSON call, which creates another event stream. Any time there is a response, it's filtered for the correct results and sent to the DOM

Style

It's all in style.css. It's incredibly sloppy though...

About

A Spongebob reaction gif/pic for all situations.

http://reactpants.xyz


Languages

Language:JavaScript 36.2%Language:HTML 35.1%Language:CSS 28.7%