Closed timdream closed 11 years ago
Here is a more simpler approach. Instead of #31, with <script defer>, the script should localize the content immediately and don't wait for DOMContentLoaded; thus, l10n.js could safely ignore issue #30.
<script defer>
DOMContentLoaded
l10n.js
Noted that this patch doesn't include gReadyState = 'interactive'; separate patch is required to address that.
gReadyState = 'interactive'
@timdream please check #33 and tell me if that does the job for gReadyState == 'interactive'
gReadyState == 'interactive'
Here is a more simpler approach. Instead of #31, with
<script defer>
, the script should localize the content immediately and don't wait forDOMContentLoaded
; thus,l10n.js
could safely ignore issue #30.