summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-09-17 13:14:51 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-03-12 17:29:27 +0100
commit290b8aeffef4924595249939ea49a0c7d204f599 (patch)
treebc75539b238f708774bf3b25fabe721f4fee53c0 /install/ui
parent46478e3e1e241719d5892b92974e2fc98f77993f (diff)
downloadfreeipa-290b8aeffef4924595249939ea49a0c7d204f599.tar.gz
freeipa-290b8aeffef4924595249939ea49a0c7d204f599.tar.xz
freeipa-290b8aeffef4924595249939ea49a0c7d204f599.zip
Fixed doc examples in Spec_mod
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'install/ui')
-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
*/