Skip to content

Instantly share code, notes, and snippets.

@tusharmath
Last active October 18, 2016 16:25
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 tusharmath/321e6f96ee2869542a02c745da6f29b8 to your computer and use it in GitHub Desktop.
Save tusharmath/321e6f96ee2869542a02c745da6f29b8 to your computer and use it in GitHub Desktop.
esnextbin sketch
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ESNextbin Sketch</title>
<!-- put additional styles and scripts here -->
<style>
body {
font-family: helvetica;
}
.side-nav ul {
margin: 0;
}
.side-nav ul > li {
padding: 8px 0px;
}
.side-nav {
position: fixed;
height: 100%;
background-color: #FFF;
width: 300px;
box-shadow: 1px 0px 8px 1px rgba(0, 0, 0, 0.5);
color: red;
}
</style>
</head>
<body>
<!-- put markup and other contents here -->
<div class="side-nav">
<ul>
<li>Item 0</li>
<li>Item 1</li>
<li>Item 2</li>
</ul>
</div>
</body>
</html>
// write ES2015 code and import modules from npm
// and then press "Execute" to run your program
// write ES2015 code and import modules from npm
// and then press "Execute" to run your program
import O from 'observable-air'
console.log(O)
{
"name": "rwc-observable-support",
"dependencies": {
"observable-air": "1.5.0"
},
"version": "0.0.0"
}
'use strict';
var _observableAir = require('observable-air');
var _observableAir2 = _interopRequireDefault(_observableAir);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
console.log(_observableAir2.default); // write ES2015 code and import modules from npm
// and then press "Execute" to run your program
// write ES2015 code and import modules from npm
// and then press "Execute" to run your program
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment