[doc] a couple almost-typos stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 02 May 2013 12:22:14 +0200
branchstable
changeset 8987 d9195dce3a5b
parent 8983 2a244f90a1e3
child 8990 cb67b81545c2
[doc] a couple almost-typos
doc/book/en/devweb/js.rst
--- a/doc/book/en/devweb/js.rst	Tue May 14 18:02:24 2013 +0200
+++ b/doc/book/en/devweb/js.rst	Thu May 02 12:22:14 2013 +0200
@@ -191,7 +191,7 @@
 * it is called with two parameters: the current node, and a list
   containing the loaded (and post-processed node)
 
-* whenever is returns another function, this function is called in
+* whenever it returns another function, this function is called in
   turn with the same parameters as above
 
 This mechanism allows callback chaining.
@@ -209,7 +209,7 @@
     from cubicweb.web.views.ajaxcontroller import ajaxfunc
 
     @ajaxfunc(output_type='xhtml')
-    def js_frob_status(self, eid, frobname):
+    def frob_status(self, eid, frobname):
         entity = self._cw.entity_from_eid(eid)
         return entity.view('frob', name=frobname)