Sha256: f077340c732d32f8ed6c0f51827e278614b1f8cff8d2e981c94eb0582e7a4612
Contents?: true
Size: 1.84 KB
Versions: 8
Compression:
Stored size: 1.84 KB
Contents
{ I" metadata:ET{ I" code; TI"'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'); } } function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) subClass.__proto__ = superClass; } var lol = { componentDidMount: function componentDidMount() { alert('lol'); } }; Rev.appComponent('ESTestComponent', (function (_React$Component) { var _class = function () { _classCallCheck(this, _class); if (_React$Component != null) { _React$Component.apply(this, arguments); } }; _inherits(_class, _React$Component); _createClass(_class, [{ key: 'render', value: function render() { return React.createElement( 'div', null, 'Success' ); } }], [{ key: 'mixins', get: function () { return [lol]; } }]); return _class; })(React.Component));; TI"map; T0I"ast; T0
Version data entries
8 entries across 8 versions & 1 rubygems