[Jifty-commit] r4957 - jifty/branches/jquery/share/web/static/js

Jifty commits jifty-commit at lists.jifty.org
Tue Jan 29 01:49:05 EST 2008


Author: gugod
Date: Tue Jan 29 01:49:05 2008
New Revision: 4957

Modified:
   jifty/branches/jquery/share/web/static/js/jifty.js

Log:
Add a "Jifty.fragments" variable for external access, "fragments"
variable should be localized. At this moment they are both global
and point to the same object.


Modified: jifty/branches/jquery/share/web/static/js/jifty.js
==============================================================================
--- jifty/branches/jquery/share/web/static/js/jifty.js	(original)
+++ jifty/branches/jquery/share/web/static/js/jifty.js	Tue Jan 29 01:49:05 2008
@@ -781,7 +781,12 @@
 
 /* Regions */
 // Keep track of the fragments on the page
-var fragments = {}
+Jifty.fragments = {};
+
+// Todo: This "fragments" variable should be localized. External access should be restricted
+// to use "Jifty.fragments" instead.
+var fragments = Jifty.fragments;
+
 var Region = function() {
     this.initialize.apply(this, arguments);
     return this;


More information about the Jifty-commit mailing list