#6076: deprecated code example in dodumentation
-----------------------+----------------------------------------------------
Reporter:  dan         |       Owner:  nobody       
  Status:  new         |   Component:  Documentation
 Version:  SVN         |    Keywords:               
   Stage:  Unreviewed  |   Has_patch:  0            
-----------------------+----------------------------------------------------
 In the page
 http://www.djangoproject.com/documentation/i18n/

 There is an example that use the deprecate/not working document.write
 function.
 {{{
 document.write(gettext('this is to be translated'));
 }}}
 please replace with the current dom standard
 {{{
 tnode = document.createTextNode(gettext('this is to be translated'));
 [code to insert the tnode using dom...]
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6076>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to