File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -285,11 +285,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
285285function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
286286
287287var Splain = function ( ) {
288- function Splain ( ) {
288+ function Splain ( initialDictionary ) {
289289 _classCallCheck ( this , Splain ) ;
290290
291291 this . dictionary = new _dictionary2 . default ( ) ;
292- this . dictionary . addEntry ( _defaultDictionaries2 . default ) ;
292+ if ( initialDictionary ) {
293+ this . dictionary . addEntry ( initialDictionary ) ;
294+ } else {
295+ this . dictionary . addEntry ( _defaultDictionaries2 . default ) ;
296+ }
293297 this . config = new _splainConfig2 . default ( ) ;
294298 }
295299
You can’t perform that action at this time.
0 commit comments