From 594d9185d6b3f5405fa9959e0479846cfdd61706 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson Date: Wed, 29 May 2013 17:52:42 +0100 Subject: [PATCH] Add default value docs for async and defer --- docs/API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API.md b/docs/API.md index 95d204a..6409b0c 100644 --- a/docs/API.md +++ b/docs/API.md @@ -74,8 +74,8 @@ Helper function for generating ``script`` tags for your Javascript files. ``options`` is an optional dictionary with the following optional value: * ``hash`` - MD5 hash to use instead of calculating from disk (**Default: none**) -* ``defer`` - if true, adds the defer attribute to scripts in production mode. -* ``async`` - if true, adds the async attribute to scripts in production mode. +* ``defer`` - if true, adds the defer attribute to scripts in production mode. (**Default: false**) +* ``async`` - if true, adds the async attribute to scripts in production mode. (**Default: false**) In production mode, a single script tag is generated, with a cache-busting url. In development mode (``production: false``), Multiple script tags are