Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -244,7 +244,7 @@ 244 244 245 245 You can check the full API [[here>>https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/model/entityReference.js]]. 246 246 247 -Starting with XWiki 7.2M1 the {{XWiki.Model}}JavaScript API is supporting nested spaces:247 +Starting with XWiki 7.2M1 the ##XWiki.Model## JavaScript API is supporting nested spaces: 248 248 249 249 {{code language="js"}} 250 250 var documentReference = XWiki.Model.resolve('wiki:Path.To.My.Page', XWiki.EntityType.DOCUMENT); ... ... @@ -255,7 +255,7 @@ 255 255 // 0: wiki,1: Path,1: To,1: My,2: Page 256 256 {{/code}} 257 257 258 -Starting with 7.2M1 you can also pass a 'provider' as the third argument to {{XWiki.Model.resolve}}. The provider is used to fill missing references, and it is either a function that gets the entity type, an array of entity names or an entity reference.258 +Starting with 7.2M1 you can also pass a 'provider' as the third argument to ##XWiki.Model.resolve()##. The provider is used to fill missing references, and it is either a function that gets the entity type, an array of entity names or an entity reference. 259 259 260 260 {{code language="js"}} 261 261 var documentReference = XWiki.Model.resolve('Page', XWiki.EntityType.DOCUMENT, function(type) {