Author: reebalazs
Date: Sun Dec  9 15:02:08 2007
New Revision: 49571

Modified:
   kukit/kss.base/trunk/kss/base/javascript.py
   kukit/kss.base/trunk/kss/base/javascript.txt
Log:
Replace concatinated with concatenated (correct spelling)

Modified: kukit/kss.base/trunk/kss/base/javascript.py
==============================================================================
--- kukit/kss.base/trunk/kss/base/javascript.py (original)
+++ kukit/kss.base/trunk/kss/base/javascript.py Sun Dec  9 15:02:08 2007
@@ -3,7 +3,7 @@
 from kss.base.plugin import activated_plugins
 from kss.base.compression.javascript import compress
 
-def concatinated(include_extras=False):
+def concatenated(include_extras=False):
     '''Concatinate the Javascript files for all activate plugins'''
     scripts = []
     
@@ -21,7 +21,7 @@
     return '\n'.join(scripts)
 
 def packed(compression_level=None, include_extras=False):
-    return compress(concatinated(include_extras), compression_level)
+    return compress(concatenated(include_extras), compression_level)
 
 def extra_scripts():
     '''Return a dictionary of the extra javascripts for all activated

Modified: kukit/kss.base/trunk/kss/base/javascript.txt
==============================================================================
--- kukit/kss.base/trunk/kss/base/javascript.txt        (original)
+++ kukit/kss.base/trunk/kss/base/javascript.txt        Sun Dec  9 15:02:08 2007
@@ -8,15 +8,15 @@
 Concatinated
 ============
 
-With the concatinated function you can get the a single string
+With the concatenated function you can get the a single string
 containing all the Javascript from each active plugin.
 
-  >>> from kss.base.javascript import concatinated
+  >>> from kss.base.javascript import concatenated
 
 When we run the code without activating any plugin we will get an
 empty string.
 
-  >>> concatinated()
+  >>> concatenated()
   ''
 
 Now if we run the code again after we activate a plugin we get
@@ -24,20 +24,20 @@
 
   >>> from kss.base import load_plugins
   >>> load_plugins('kss-core')
-  >>> concatinated()
+  >>> concatenated()
   '/*\n* Copyright (c) 2005-2007\n* Authors: KSS Project Contributors...'
 
-An optimization you might want to enable is concatinate the extra
+An optimization you might want to enable is concatenate the extra
 dependencies along side with the plugin code. This will reduce the
 number of requests a browser has to make to a website therefore making
 it slightly faster (only for the first page load).
 
-  >>> 'XPathParser' in concatinated(include_extras=True)
+  >>> 'XPathParser' in concatenated(include_extras=True)
   True
 
 This example was not there in the previous concatination.
 
-  >>> 'XPathParser' in concatinated()
+  >>> 'XPathParser' in concatenated()
   False
 
 Finally we will unregister the core plugin to clean up.
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to