Skip to content

Commit 6dd294e

Browse files
committed
docs: Fix example
1 parent 1cb3e1f commit 6dd294e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/Development.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ Autofix solutions generally fall into two categories:
3737

3838
* [ ] Function arguments have **exactly the same** type, order, value and count.
3939
```js
40-
// Should not be replaced as "startText" is more than one char and the old API behaves differently
41-
var padLeft = jQuery.sap.padLeft(startsWithLetter, startText, 8);
40+
// Should not be replaced as the second argument is more than one char and the old API behaves differently
41+
var padLeft = jQuery.sap.padLeft("a", "Hello", 8);
42+
43+
var padLeft = jQuery.sap.padLeft("a", "0", 8); // Will be migrated
4244
```
4345
* [ ] Return type of the replacement matches **exactly** the original return type.
4446
* [ ] If the return type is complex (e.g., object or enum):

0 commit comments

Comments
 (0)