[Bps-public-commit] r12723 - pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js

clkao at bestpractical.com clkao at bestpractical.com
Thu May 29 05:46:51 EDT 2008


Author: clkao
Date: Thu May 29 05:46:49 2008
New Revision: 12723

Modified:
   pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js

Log:
remove redundant jquery calls.


Modified: pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js
==============================================================================
--- pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js	(original)
+++ pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js	Thu May 29 05:46:49 2008
@@ -229,7 +229,7 @@
             json = json.split(",").join(",\n");
             ghetto_lightbox('<pre>'+json+'</pre>');
 }, 
-    'data': 'struct='+lorzy_generate_struct(jQuery('#wrapper')).toJSON()
+    'data': 'struct='+lorzy_generate_struct('#wrapper').toJSON()
 })
 
 
@@ -259,7 +259,7 @@
     jQuery('#clicky').click(function () { 
   
  
-    var x =  lorzy_generate_struct(jQuery('#wrapper'));
+    var x =  lorzy_generate_struct('#wrapper');
             x = x.toJSON().split(",").join(",\n");
         ghetto_lightbox('<pre>'+x+'</pre>');
    



More information about the Bps-public-commit mailing list