This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 52e5f40 fixed link
52e5f40 is described below
commit 52e5f407943e739b3672e3856e48c91563e89604
Author: Harbs <[email protected]>
AuthorDate: Wed Dec 29 12:53:24 2021 +0200
fixed link
---
create-an-application/optimizations/minification.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create-an-application/optimizations/minification.md
b/create-an-application/optimizations/minification.md
index 450b4b5..d8d96a0 100644
--- a/create-an-application/optimizations/minification.md
+++ b/create-an-application/optimizations/minification.md
@@ -74,7 +74,7 @@ Before considering using advanced minification options, you
need to consider you
4. Do you access static class members without knowing the specific class?
(i.e. `classVar.fooBaz()`)
## Solutions
-If you answer no to all of the above questions, you can use the [smallest size
options](#smallest-size).
+If you answer no to all of the above questions, you can use the [smallest size
options](create-an-application/optimizations/minification#smallest-size).
If you answered yes to #1 and #2 above, you will need to ensure that your
dynamic object access is not renamed. Otherwise you will end up with `myJSON.a`
instead of `myJSON.thumbnail` and you will get unexpected `undefined` values.
There are two ways to do this.
1. Manually quote every case of dynamic access (i.e. `myJSON["thumbnail"]`
instead of `myJSON.thumbnail` and `{"name":"foo","age":20}` instead of
`{name:"foo",age:20}`)