[Forms] Add clarifying comments

Add in-line documentation to directives and
controller used for the Forms component. WTD-530.
This commit is contained in:
Victor Woeltjen
2014-11-28 14:36:00 -08:00
parent 7f59175313
commit a04b30a383
3 changed files with 50 additions and 1 deletions

View File

@@ -5,6 +5,14 @@ define(
function () {
"use strict";
/**
* The mct-control will dynamically include the control
* for a form element based on a symbolic key. Individual
* controls are defined under the extension category
* `controls`; this allows plug-ins to introduce new form
* control types while still making use of the form
* generator to ensure an overall consistent form style.
*/
function MCTControl(controls) {
var controlMap = {};