From 290b8aeffef4924595249939ea49a0c7d204f599 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 17 Sep 2013 13:14:51 +0200 Subject: Fixed doc examples in Spec_mod Reviewed-By: Adam Misnyovszki --- install/ui/src/freeipa/_base/Spec_mod.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'install/ui') 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 */ -- cgit