mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed doc examples in Spec_mod
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
This commit is contained in:
parent
46478e3e1e
commit
290b8aeffe
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user