Change a block code for better consistancy (#3232)
Change a block code for better consistancy (#3232)

Property delegate requirements -> resourceDelegate()

Throughout this part, in code examples, "Resource" class has been used for properties type. the function name is resourceDelegate() too that adds up to confusion. also the function is an example of using anonymous objects instead of classes that has been used in the previous example, so I think it's more readable if the code examples be consistent.
JetBrains/kotlin-web-site,hltj/kotlin-web-site-cn,hltj/kotlin-web-site-cn,JetBrains/kotlin-web-site,JetBrains/kotlin-web-site,JetBrains/kotlin-web-site,hltj/kotlin-web-site-cn,hltj/kotlin-web-site-cn,JetBrains/kotlin-web-site,hltj/kotlin-web-site-cn,hltj/kotlin-web-site-cn,JetBrains/kotlin-web-site