1 | 'use strict';
|
2 |
|
3 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4 |
|
5 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
6 |
|
7 | 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) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
8 |
|
9 | var _require = require('immutable'),
|
10 | Record = _require.Record;
|
11 |
|
12 | var DEFAULTS = {
|
13 |
|
14 | types: ['ul_list', 'ol_list'],
|
15 |
|
16 | typeItem: 'list_item',
|
17 |
|
18 | typeDefault: 'paragraph'
|
19 | };
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | var Options = function (_ref) {
|
26 | _inherits(Options, _ref);
|
27 |
|
28 | function Options() {
|
29 | _classCallCheck(this, Options);
|
30 |
|
31 | return _possibleConstructorReturn(this, (Options.__proto__ || Object.getPrototypeOf(Options)).apply(this, arguments));
|
32 | }
|
33 |
|
34 | return Options;
|
35 | }(new Record(DEFAULTS));
|
36 |
|
37 | module.exports = Options; |
\ | No newline at end of file |