Fixed doc examples in Spec_mod

Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
This commit is contained in:
Petr Vobornik 2013-09-17 13:14:51 +02:00 committed by Petr Viktorin
parent 46478e3e1e
commit 290b8aeffe

View File

@ -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
*/