[Checkins] SVN: hurry.jquery/trunk/ Update to use jquery 1.4.3.

Martijn Faassen faassen at startifact.com
Mon Oct 18 08:49:13 EDT 2010


Log message for revision 117700:
  Update to use jquery 1.4.3.
  

Changed:
  U   hurry.jquery/trunk/CHANGES.txt
  U   hurry.jquery/trunk/setup.py
  U   hurry.jquery/trunk/src/hurry/jquery/jquery.txt
  U   hurry.jquery/trunk/src/hurry/jquery/prepare.py

-=-
Modified: hurry.jquery/trunk/CHANGES.txt
===================================================================
--- hurry.jquery/trunk/CHANGES.txt	2010-10-18 12:31:10 UTC (rev 117699)
+++ hurry.jquery/trunk/CHANGES.txt	2010-10-18 12:49:12 UTC (rev 117700)
@@ -1,12 +1,11 @@
 CHANGES
 *******
 
-1.4.2.4 (unreleased)
+1.4.3.1 (unreleased)
 ====================
 
-- Nothing changed yet.
+* Using jQuery-1.4.3.
 
-
 1.4.2.3 (2010-07-28)
 ====================
 

Modified: hurry.jquery/trunk/setup.py
===================================================================
--- hurry.jquery/trunk/setup.py	2010-10-18 12:31:10 UTC (rev 117699)
+++ hurry.jquery/trunk/setup.py	2010-10-18 12:49:12 UTC (rev 117700)
@@ -1,8 +1,8 @@
 from setuptools import setup, find_packages
 import os
 
-JQUERY_VERSION = '1.4.2'
-version = '1.4.2.4dev'
+JQUERY_VERSION = '1.4.3'
+version = '1.4.3.1dev'
 # Name version after JQUERY_VERSION + .suffix
 
 

Modified: hurry.jquery/trunk/src/hurry/jquery/jquery.txt
===================================================================
--- hurry.jquery/trunk/src/hurry/jquery/jquery.txt	2010-10-18 12:31:10 UTC (rev 117699)
+++ hurry.jquery/trunk/src/hurry/jquery/jquery.txt	2010-10-18 12:49:12 UTC (rev 117700)
@@ -7,14 +7,11 @@
 Let's set up a way to render URLs; typically the framework has already
 done this::
 
-  >>> def get_library_url(library):
-  ...    return 'http://localhost/static/%s' % (library.name)
-  >>> from hurry.resource import Library
-  >>> from hurry.resource.interfaces import ILibraryUrl
-  >>> from zope import component
-  >>> # register the ILibraryUrl adaptation for the tests.
-  >>> component.provideAdapter(
-  ...     factory=get_library_url, adapts=(Library,), provides=ILibraryUrl)
+  >>> class Plugin(object):
+  ...   def get_library_url(self, library):
+  ...     return 'http://localhost/static/%s' % (library.name)
+  >>> from hurry.resource import register_plugin
+  >>> register_plugin(Plugin())
 
 Render the inclusion::
 
@@ -23,10 +20,10 @@
   >>> needed = NeededInclusions()
   >>> needed.need(jquery)
   >>> print needed.render()
-  <script type="text/javascript" src="http://localhost/static/jquery/jquery-1.4.2.js"></script>
+  <script type="text/javascript" src="http://localhost/static/jquery_lib/jquery-1.4.3.js"></script>
 
   >>> needed.mode('minified')
   >>> print needed.render()
-  <script type="text/javascript" src="http://localhost/static/jquery/jquery-1.4.2.min.js"></script>
+  <script type="text/javascript" src="http://localhost/static/jquery_lib/jquery-1.4.3.min.js"></script>
 
 """

Modified: hurry.jquery/trunk/src/hurry/jquery/prepare.py
===================================================================
--- hurry.jquery/trunk/src/hurry/jquery/prepare.py	2010-10-18 12:31:10 UTC (rev 117699)
+++ hurry.jquery/trunk/src/hurry/jquery/prepare.py	2010-10-18 12:49:12 UTC (rev 117700)
@@ -20,7 +20,7 @@
 from hurry.resource import generate_code, ResourceInclusion, Library
 
 BASEURL = "http://code.jquery.com/"
-VERSION = '1.4.2'
+VERSION = '1.4.3'
 MINIFIED = "jquery-%s.min.js" % VERSION
 FULL = "jquery-%s.js" % VERSION
 



More information about the checkins mailing list