From f639481a733ab7e23d0302fa68eb723d428bb373 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 3 Aug 2021 10:47:53 -0400 Subject: remove link 'title' attributes that's just the 'href' (ja, part 5) (#1861) --- files/ja/mdn/tools/kumascript/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ja/mdn') diff --git a/files/ja/mdn/tools/kumascript/index.html b/files/ja/mdn/tools/kumascript/index.html index 2a2a5132d2..b74cc09822 100644 --- a/files/ja/mdn/tools/kumascript/index.html +++ b/files/ja/mdn/tools/kumascript/index.html @@ -77,7 +77,7 @@ Hello #2

このマクロからのデータは、テンプレートコード内で $0 引数のオブジェクトとして利用できます (例えば、 $0.Alpha, $0.Beta, $0.Foo)。これにより、引数の単純なリストで実現することが難しい又は不可能な複雑なデータ構造を、マクロ引数で表すことができます。

-

なお、この引数の形はとても繊細です。 — 正確に JSON の構文に従っていなければならず、間違いを犯しやすいエスケープ文字の要件が求められます (例えば、すべてのスラッシュをエスケープするなど)。疑わしい場合は、 JSON をバリデーターに掛けてみてください

+

なお、この引数の形はとても繊細です。 — 正確に JSON の構文に従っていなければならず、間違いを犯しやすいエスケープ文字の要件が求められます (例えば、すべてのスラッシュをエスケープするなど)。疑わしい場合は、 JSON をバリデーターに掛けてみてください

「\{{」を記述する方法

@@ -202,7 +202,7 @@ Hello #2

ビルトインメソッド

-

This manually-maintained documentation is likely to fall out of date with the code. With that in mind, you can always check out the latest state of built-in APIs in the KumaScript source. But here is a selection of useful methods exposed to templates:

+

This manually-maintained documentation is likely to fall out of date with the code. With that in mind, you can always check out the latest state of built-in APIs in the KumaScript source. But here is a selection of useful methods exposed to templates:

md5(string)
@@ -223,7 +223,7 @@ Hello #2
cacheFn(key, timeout, function_to_cache)
Using the given key and cache entry lifetime, cache the results of the given function. Honors the value of env.cache_control to invalidate cache on no-cache, which can be sent by a logged-in user hitting shift-refresh.
request
-
Access to mikeal/request, a library for making HTTP requests. Using this module in KumaScript templates is not yet very friendly, so you may want to wrap usage in module APIs that simplify things.
+
Access to mikeal/request, a library for making HTTP requests. Using this module in KumaScript templates is not yet very friendly, so you may want to wrap usage in module APIs that simplify things.
log.debug(string)
Outputs a debug message into the script log on the page (i.e. the big red box that usually displays errors).
-- cgit v1.2.3-54-g00ecf