Skip to content

Instantly share code, notes, and snippets.

View jdeebee's full-sized avatar

Javad Boroujeni jdeebee

View GitHub Profile
@jdeebee
jdeebee / index.html
Last active May 28, 2016 22:50 — forked from anonymous/index.html
Functional Reactive Programming (FRP) with Bacon.js - example 1 - JS Bin source: http://jsbin.com/tebihizuke (slides here: http://ollimahlamaki.fi/baconjs-hubchat-tech-and-beer/#/1)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://rawgit.com/baconjs/bacon.js/master/dist/Bacon.js"></script>
</head>
<body>
<script id="jsbin-javascript">
@jdeebee
jdeebee / index.html
Last active May 28, 2016 22:46 — forked from anonymous/index.html
Functional Reactive Programming (FRP) with Bacon.js - example 2 - JS Bin source: http://jsbin.com/funaqocoso
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://rawgit.com/baconjs/bacon.js/master/dist/Bacon.js"></script>
<style id="jsbin-css">
button, textarea {
display: block;
@jdeebee
jdeebee / index.html
Last active May 28, 2016 22:47 — forked from anonymous/index.html
Functional Reactive Programming (FRP) with Bacon.js - example 3 - JS Bin source: http://jsbin.com/vujowamiyo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://rawgit.com/baconjs/bacon.js/master/dist/Bacon.js"></script>
</head>
<body>
<label>A: <input id="a"></input></label>
@jdeebee
jdeebee / index.html
Last active May 28, 2016 22:48 — forked from anonymous/index.html
Functional Reactive Programming (FRP) with Bacon.js - example 4 - JS Bin source: http://jsbin.com/tagisubado
<!DOCTYPE html>
<html>
<head>
<script src="https://fb.me/react-0.14.7.min.js"></script>
<script src="https://fb.me/react-dom-0.14.7.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://rawgit.com/baconjs/bacon.js/master/dist/Bacon.js"></script>
</head>
@jdeebee
jdeebee / index.html
Last active May 28, 2016 22:48 — forked from anonymous/index.html
Functional Reactive Programming (FRP) with Bacon.js - example 5 - JS Bin source: http://jsbin.com/feqote
<!DOCTYPE html>
<html>
<head>
<script src="https://fb.me/react-0.14.7.min.js"></script>
<script src="https://fb.me/react-dom-0.14.7.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://rawgit.com/baconjs/bacon.js/master/dist/Bacon.js"></script>
</head>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{"menu": {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
}