X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/4051dd930f2002891e98b5d26fa536ef574f9e59..eb45e596e503a841c210b9773de0ccdbb0d3c2eb:/src/fnpjs/runner.js?ds=inline diff --git a/src/fnpjs/runner.js b/src/fnpjs/runner.js index 7797e24..2f00170 100644 --- a/src/fnpjs/runner.js +++ b/src/fnpjs/runner.js @@ -1,4 +1,4 @@ -define(['libs/jquery', 'libs/underscore'], function($, _) { +define(['libs/jquery', 'libs/underscore', 'fnpjs/logging/logging'], function($, _, logging) { 'use strict'; @@ -77,6 +77,12 @@ var Runner = function(app, modules) { config = _.extend({ rootSelector: 'body' }, _config); + + + if(config.logging) { + logging.setConfig(config.logging); + } + app.initModules.forEach(function(moduleName) { getModuleInstance(moduleName).start(); });