Skip to content

Instantly share code, notes, and snippets.

@vvo
Created March 23, 2017 16:20
Show Gist options
  • Save vvo/10df6acba99644652beb6940530bc885 to your computer and use it in GitHub Desktop.
Save vvo/10df6acba99644652beb6940530bc885 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 -->
</head>
<body>
<!-- put markup and other contents here -->
</body>
</html>
// write ES2015 code and import modules from npm
// and then press "Execute" to run your program
import instantsearch from 'instantsearch.js';
console.log(instantsearch);
{
"name": "esnextbin-sketch",
"version": "0.0.0",
"dependencies": {
"instantsearch.js": "1.11.3"
}
}
'use strict';
var _instantsearch = require('instantsearch.js');
var _instantsearch2 = _interopRequireDefault(_instantsearch);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
console.log(_instantsearch2.default); // 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