Commit 2d209e95 authored by Robert Knight's avatar Robert Knight

Add JSDoc to `startApp` function

parent 504b8314
...@@ -134,6 +134,12 @@ import store from './store'; ...@@ -134,6 +134,12 @@ import store from './store';
// Utilities. // Utilities.
import { Injector } from '../shared/injector'; import { Injector } from '../shared/injector';
/**
* Launch the client application corresponding to the current URL.
*
* @param {object} config
* @param {HTMLElement} appEl - Root HTML container for the app
*/
function startApp(config, appEl) { function startApp(config, appEl) {
const container = new Injector(); const container = new Injector();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment