Changeset 1057 for trunk/plugins


Ignore:
Timestamp:
10/04/08 11:54:52 (11 years ago)
Author:
ray
Message:

fixed some unnecessarily global variables

Location:
trunk/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/assets/dragTableCols.js

    r937 r1057  
    102102dragTableCols.getElementTopLeft = function(element)  
    103103{ 
    104   var curleft = curtop = 0; 
     104  var curleft = 0; 
     105  var curtop = 0; 
    105106  if (element.offsetParent)  
    106107  { 
  • trunk/plugins/Stylist/stylist.js

    r1044 r1057  
    482482  // We are only interested in the selectors, the rules are not important 
    483483  //  so we'll drop out all coments and rules 
    484   RE_comment = /\/\*(.|\r|\n)*?\*\//g; 
    485   RE_rule    = /\{(.|\r|\n)*?\}/g; 
     484  var RE_comment = /\/\*(.|\r|\n)*?\*\//g; 
     485  var RE_rule    = /\{(.|\r|\n)*?\}/g; 
    486486  css = css.replace(RE_comment, ''); 
    487487  css = css.replace(RE_rule, ','); 
Note: See TracChangeset for help on using the changeset viewer.