jorgebastida / django-dajax

Easy to use library to create asynchronous presentation logic with django and dajaxice
http://dajaxproject.com/
BSD 3-Clause "New" or "Revised" License
346 stars 99 forks source link

Typo in script(code) documentation #47

Closed imrekel closed 12 years ago

imrekel commented 12 years ago

The example in the documentation has code() instead of script():

def code_example(request):
    dajax = Dajax()
    dajax.code('my_function();')
    return dajax.json()
jorgebastida commented 12 years ago

Fixed @kenley https://github.com/jorgebastida/django-dajax/commit/23dd0e22d85ade68fb19a2a80ee497426438236a

Thanks!