[Checkins] SVN: hurry.resource/trunk/ Fixed some typos in README.txt.
Vincent Fretin
vincent.fretin at gmail.com
Thu Jul 1 16:34:12 EDT 2010
Log message for revision 114063:
Fixed some typos in README.txt.
Changed:
U hurry.resource/trunk/CHANGES.txt
U hurry.resource/trunk/src/hurry/resource/README.txt
-=-
Modified: hurry.resource/trunk/CHANGES.txt
===================================================================
--- hurry.resource/trunk/CHANGES.txt 2010-07-01 20:32:36 UTC (rev 114062)
+++ hurry.resource/trunk/CHANGES.txt 2010-07-01 20:34:11 UTC (rev 114063)
@@ -4,9 +4,8 @@
0.4.2 (unreleased)
==================
-- Nothing changed yet.
+* Fixed some typos in README.txt.
-
0.4.1 (2009-12-16)
==================
Modified: hurry.resource/trunk/src/hurry/resource/README.txt
===================================================================
--- hurry.resource/trunk/src/hurry/resource/README.txt 2010-07-01 20:32:36 UTC (rev 114062)
+++ hurry.resource/trunk/src/hurry/resource/README.txt 2010-07-01 20:34:11 UTC (rev 114063)
@@ -63,7 +63,7 @@
>>> from hurry.resource import NeededInclusions
>>> needed = NeededInclusions()
-We state that a resource is needed by calling the ``needed`` method on
+We state that a resource is needed by calling the ``need`` method on
this object::
>>> needed.need(y1)
@@ -387,7 +387,7 @@
[<ResourceInclusion 'k2.js' in library 'foo'>]
We can however also get the resource for mode ``debug`` and get
-``a2-debug.js``::
+``k2-debug.js``::
>>> needed.mode('debug')
>>> needed.inclusions()
@@ -721,7 +721,7 @@
>>> def get_library_url(library):
... return 'http://localhost/static/%s' % library.name
-We should now register this function as a``ILibrarUrl`` adapter for
+We should now register this function as a``ILibraryUrl`` adapter for
``Library`` so the system can find it::
>>> from hurry.resource.interfaces import ILibraryUrl
@@ -730,7 +730,7 @@
... adapts=(Library,),
... provides=ILibraryUrl)
-Rendering the inclusions now will will result in the HTML fragments we
+Rendering the inclusions now will result in the HTML fragments we
need to include on the top of our page (just under the ``<head>`` tag
for instance)::
@@ -975,7 +975,7 @@
Sometimes it is useful to generate code that expresses a complex
resource dependency structure. One example of that is in
-``hurry.yui``. We can the ``generate_cod`` function to render resource
+``hurry.yui``. We can use the ``generate_code`` function to render resource
inclusions::
>>> i1 = ResourceInclusion(foo, 'i1.js')
More information about the checkins
mailing list