Created
August 23, 2015 22:05
-
-
Save fariszacina/dc8d5c7c17c5b2ab01ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | |
var Exemplar = (function () { | |
function Exemplar() { | |
_classCallCheck(this, Exemplar); | |
} | |
_createClass(Exemplar, [{ | |
key: 'render', | |
value: function render() { | |
console.log('hello world'); | |
} | |
}]); | |
return Exemplar; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment