summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/src/freeipa/_base/Spec_mod.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/_base/Spec_mod.js b/install/ui/src/freeipa/_base/Spec_mod.js
index ae1d9813f..9e10080bf 100644
--- a/install/ui/src/freeipa/_base/Spec_mod.js
+++ b/install/ui/src/freeipa/_base/Spec_mod.js
@@ -104,6 +104,7 @@ define(['dojo/_base/declare',
* Replace objects in an arrays
*
* A rule is a pair of path to an array and a objects to replace in that array
+ *
* [
* 'path.to.spec.array',
* [
@@ -113,8 +114,9 @@ define(['dojo/_base/declare',
* ]
* ]
* Example of replacement specs:
+ *
* ['add', { name: 'add', hide_cond: [] }]
- * ['{ name: 'add' }', { name: 'add', hide_cond: [] }]
+ * [{ name: 'add' }, { name: 'add', hide_cond: [] }]
* @param {Object} spec
* @param {Array} rules
*/