Fixed doc examples in Spec_mod

Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
This commit is contained in:
Petr Vobornik authored and Petr Viktorin committed 2014-03-12 17:29:27 +01:00
1 parent 46478e3e1e
commit 290b8aeffe
1 file changed
+3 -1
+3 -1
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
*/