Skip to content

Commit 53b12c3

Browse files
Fixed bad url in array and structures page (#354)
* Fixed bad url in array and structures page: the URL to JSON Loader was leading to a 404 page due to wrong redirection. * Fixed spelling issues
1 parent a025490 commit 53b12c3

File tree

2 files changed

+3
-3
lines changed
  • docs/gdevelop5
    • all-features/variables/structures-and-arrays
    • events/js-code/javascript-in-extensions

2 files changed

+3
-3
lines changed

docs/gdevelop5/all-features/variables/structures-and-arrays/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can use this data type to organize related variables within a single variabl
2222

2323
In programming languages, this data type is often referred to as an _object_, _map_, _hash_, or *dictionary*.
2424

25-
Structures can be created in the Variables Editor, using events or by using an extension like [JSON resource loader](../../extensions/jsonresource-loader/).
25+
Structures can be created in the Variables Editor, using events or by using an extension like [JSON resource loader](../../../extensions/jsonresource-loader/).
2626

2727
![](structure-variable.png)
2828

@@ -33,7 +33,7 @@ An Array variable, also sometimes called _list_ in programming languages, is lik
3333
Each variable in an Array has an index, which defines their position in the array.
3434
The indices begin at 0 and go up to however long the array is.
3535

36-
Arrays can be created in the Variables Editor, using events or by using an extension like [JSON resource loader](../../extensions/jsonresource-loader/).
36+
Arrays can be created in the Variables Editor, using events or by using an extension like [JSON resource loader](../../../extensions/jsonresource-loader/).
3737

3838
![](array-variable.png)
3939

docs/gdevelop5/events/js-code/javascript-in-extensions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Use JavaScript in extensions
77

88
After [creating a new extension](/gdevelop5/extensions/create/), you need to define an action with a [JS event](/gdevelop5/events/js-code/) to declare the library code.
99

10-
In order to get the library code, you can copy the content of a bundled library for instance a UMD one. You can usually find bundled libraries in the **node_modules** folder of a JS project after the installation of the library with a packet manager.
10+
In order to get the library code, you can copy the content of a bundled library for instance a UMD one. You can usually find bundled libraries in the **node_modules** folder of a JS project after the installation of the library with a package manager.
1111

1212
Bundled libraries have some extra code at the beginning and the end of the file to bundle the library. This code is not needed. Instead, the classes are added to the `gdjs` namespace like in the following code:
1313

0 commit comments

Comments
 (0)