Skip to content

Commit 829e0fe

Browse files
committed
Fix indent
1 parent f025162 commit 829e0fe

File tree

7 files changed

+136
-141
lines changed

7 files changed

+136
-141
lines changed

docs/integrating-xml/the-xml-object.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ The `XML` object provides methods that allow you to retrieve elements contained
270270
- `XML.`[children()](xml-object-reference.md#xml-object-children) gets the direct child elements, including text elements.
271271
- `XML.`[elements()](xml-object-reference.md#xml-object-elements) gets the direct child elements that are XML tags, but does not get text.
272272
- `XML.`[descendants()](xml-object-reference.md#xml-object-descendants) allows you to match a specific tag, and gets all matching elements at any level of nesting. You can also use a "double dot" notation to access descendants of an element. For example, these statements are equivalent:
273-
```javascript
274-
xml..title
275-
xml.descendants("title")
276-
```
273+
```javascript
274+
xml..title
275+
xml.descendants("title")
276+
```
277277

278278
For example, consider this XML code loaded into a top-level `XML` object named `x`:
279279

@@ -291,45 +291,45 @@ For example, consider this XML code loaded into a top-level `XML` object named `
291291
Here are the results of the different calls.
292292

293293
- The result of `XML.`[children()](xml-object-reference.md#xml-object-children) contains 3 elements, the direct child tags `<one>` and `<two>`, and the directly contained text of the `<top>` tag:
294-
```xml
295-
**> x.children()**
296-
<one>one text</one>
297-
<two>
298-
two text
299-
<inside>inside text</inside>
300-
</two>
301-
top text
302-
303-
**> x.children().length()**
304-
3
305-
```
294+
```xml
295+
**> x.children()**
296+
<one>one text</one>
297+
<two>
298+
two text
299+
<inside>inside text</inside>
300+
</two>
301+
top text
302+
303+
**> x.children().length()**
304+
3
305+
```
306306
- The result of `XML.`[elements()](xml-object-reference.md#xml-object-elements) contains 2 elements, the direct child tags `<one>` and `<two>`:
307-
```xml
308-
**> x.elements()**
309-
<one>one text</one>
310-
<two>
311-
two text
312-
<inside>inside text</inside>
313-
</two>
314-
**> x.elements().length()**
315-
2
316-
```
307+
```xml
308+
**> x.elements()**
309+
<one>one text</one>
310+
<two>
311+
two text
312+
<inside>inside text</inside>
313+
</two>
314+
**> x.elements().length()**
315+
2
316+
```
317317
- The result of `XML.`[descendants()](xml-object-reference.md#xml-object-descendants) contains 7 elements, the direct child tags `<one>` and `<two>`, the `<inside>` tag one level down, and the text contents of all the tags:
318-
```xml
319-
**> x.descendants()**
320-
<one>one text</one>
321-
one text
322-
<two>
323-
two text
324-
<inside>inside text</inside>
325-
</two>
326-
two text
327-
<inside>inside text</inside>
328-
inside text
329-
top text
330-
**> x.descendants().length()**
331-
7
332-
```
318+
```xml
319+
**> x.descendants()**
320+
<one>one text</one>
321+
one text
322+
<two>
323+
two text
324+
<inside>inside text</inside>
325+
</two>
326+
two text
327+
<inside>inside text</inside>
328+
inside text
329+
top text
330+
**> x.descendants().length()**
331+
7
332+
```
333333

334334
---
335335

docs/interapplication-communication/bridgetalk-class.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,19 +243,19 @@ For example, assuming installed applications include Photoshop CS4 11.0 `en_us`,
243243

244244
```javascript
245245
BridgeTalk.getSpecifier ("photoshop");
246-
=> ["photoshop-11.0-en_us"]
246+
=> ["photoshop-11.0-en_us"]
247247

248248
BridgeTalk.getSpecifier ("photoshop", 0, "en_us");
249-
=> ["photoshop-11.0-en_us"]
249+
=> ["photoshop-11.0-en_us"]
250250

251251
BridgeTalk.getSpecifier ("photoshop", 0, "de_de");
252-
=> ["photoshop-9.5-de_de"]
252+
=> ["photoshop-9.5-de_de"]
253253

254254
BridgeTalk.getSpecifier ("photoshop", -9.2, "de_de");
255-
=> ["photoshop-9.0-de_de"]
255+
=> ["photoshop-9.0-de_de"]
256256

257257
BridgeTalk.getSpecifier ("photoshop", 8);
258-
=> ["photoshop-8.5-de_de"]
258+
=> ["photoshop-8.5-de_de"]
259259
```
260260

261261
---
@@ -325,19 +325,19 @@ For example, assuming installed applications include Photoshop CS3 10.0 `en_US`,
325325

326326
```javascript
327327
BridgeTalk.getTargets();
328-
=> [photoshop,illustrator]
328+
=> [photoshop,illustrator]
329329

330330
BridgeTalk.getTargets( "10.0" );
331-
=> [photoshop-10.0]
331+
=> [photoshop-10.0]
332332

333333
BridgeTalk.getTargets( null );
334-
=> [photoshop-11.0, illustrator-14.0]
334+
=> [photoshop-11.0, illustrator-14.0]
335335

336336
BridgeTalk.getTargets( null, "en_US" );
337-
=> [photoshop-10.0-en_US, photoshop-11.0-en_US]
337+
=> [photoshop-10.0-en_US, photoshop-11.0-en_US]
338338

339339
BridgeTalk.getTargets( null, null );
340-
=> [photoshop-10.0-en_US, photoshop-11.0-en_us, illustrator-14.0-de_de]
340+
=> [photoshop-10.0-en_US, photoshop-11.0-en_us, illustrator-14.0-de_de]
341341
```
342342

343343
---

docs/interapplication-communication/bridgetalk-message-object.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ To define error-response behavior, set this to a function definition in the foll
152152

153153
```javascript
154154
bridgeTalkObj.onError = function( errorMsgObject ) {
155-
// error handler defined here
155+
// error handler defined here
156156
};
157157
```
158158

@@ -172,7 +172,7 @@ To define a response to receipt notification, set this to a function definition
172172

173173
```javascript
174174
bridgeTalkObj.onReceived = function( origMsgObject ) {
175-
// handler defined here
175+
// handler defined here
176176
};
177177
```
178178

@@ -192,7 +192,7 @@ To handle the response, set this to a function definition in the following form:
192192

193193
```javascript
194194
bridgeTalkObj.onResult = function( responseMsgObject ) {
195-
// handler defined here
195+
// handler defined here
196196
};
197197
```
198198

@@ -216,7 +216,7 @@ To define a response to the timeout event, set this to a function definition in
216216

217217
```javascript
218218
bridgeTalkObj.onTimeout = function( timeoutMsgObject ) {
219-
// handler defined here
219+
// handler defined here
220220
};
221221
```
222222

0 commit comments

Comments
 (0)