Ian Rose hace 8 años
padre
commit
d2d7161b7d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/docregistry/src/context.ts

+ 1 - 1
packages/docregistry/src/context.ts

@@ -52,7 +52,7 @@ class Context<T extends DocumentRegistry.IModel> implements DocumentRegistry.ICo
     let ext = DocumentRegistry.extname(this._path);
     let lang = this._factory.preferredLanguage(ext);
 
-    if(options.modelDBFactory) {
+    if (options.modelDBFactory) {
       this._modelDB = options.modelDBFactory(this._path);
       this._model = this._factory.createNew(lang, this._modelDB);
     } else {