Skip to content

Instantly share code, notes, and snippets.

@dreid
Created May 17, 2016 15:57
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 dreid/9f51c00aa9bccb8caa2cc0d5a1c2c0fe to your computer and use it in GitHub Desktop.
Save dreid/9f51c00aa9bccb8caa2cc0d5a1c2c0fe 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
class Fernet {
constructor(key) {
this.key = key;
}
}
{
"name": "esnextbin-sketch",
"version": "0.0.0",
"dependencies": {
"babel-runtime": "6.6.1"
}
}
"use strict";
var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck");
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// write ES2015 code and import modules from npm
// and then press "Execute" to run your program
var Fernet = function Fernet(key) {
(0, _classCallCheck3.default)(this, Fernet);
this.key = key;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment