Sha256: 0dc65dec8b1903fef7b9dfab98ed6531f95a7ad6adc6a97d708e933832032c7d

Contents?: true

Size: 1.89 KB

Versions: 8

Compression:

Stored size: 1.89 KB

Contents

{	I"
metadata:ET{I"	code;TI"S'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 __ES6MixinTestCalled = false;

Rev.appObject('__ES6TestMixin', {
  componentWillMount: function componentWillMount() {
    alert('hey hey');
  }
});

Rev.appComponent('__mixinTest', (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('span', { className: 'FunctionClass' });
    }
  }], [{
    key: 'mixins',
    get: function () {
      return [App.__ES6TestMixin];
    }
  }]);

  return _class;
})(React.Component));;TI"map;T0I"ast;T0

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
revelry_core-0.1.12.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.12.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.11.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.10.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.9.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.9.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache
revelry_core-0.1.8.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FlJRy2-DaPMNJlSCZvvK6FM_I-wkNIf6I8dfP-pbAAs.cache