Sha256: 7949371b6c7f68e73c509bd94d6c9007a7ab7efba091817bf738a87f3ace2432
Contents?: true
Size: 757 Bytes
Versions: 95
Compression:
Stored size: 757 Bytes
Contents
// es6 -> es5 transpilation helpers 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"); } }
Version data entries
95 entries across 95 versions & 1 rubygems