OpenLayers OpenLayers

Ticket #617: jsmin.py.patch

File jsmin.py.patch, 0.5 kB (added by fredj, 2 years ago)

sync jsmin.py with jsmin.c

  • tools/jsmin.py

    old new  
    138138 
    139139        if action <= 3: 
    140140            self.theB = self._next() 
    141             if self.theB == '/' and (self.theA == '(' or self.theA == ',' or self.theA == '='): 
     141            if self.theB == '/' and (self.theA in ['(', ',', '=', ':', '[', '!', '&', '|']): 
    142142                self._outA() 
    143143                self._outB() 
    144144                while 1: