summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-09-17 13:14:51 +0200
committerAlexander Bokovoy <abokovoy@redhat.com>2014-02-11 15:02:51 +0200
commite8534d18961071d5a9e6dd9e576230cfcf289776 (patch)
treead296ef742278240c18176e1e66b982532131068
parent79833356202cb68e0bf30ec70c0877799f59f045 (diff)
downloadfreeipa-e8534d18961071d5a9e6dd9e576230cfcf289776.zip
freeipa-e8534d18961071d5a9e6dd9e576230cfcf289776.tar.gz
freeipa-e8534d18961071d5a9e6dd9e576230cfcf289776.tar.xz
Fixed doc examples in Spec_mod
-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 ae1d981..9e10080 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
*/