Changeset 1057 for trunk/plugins/Stylist


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

fixed some unnecessarily global variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.