Ignore:
Timestamp:
2014-01-06T18:40:17+01:00 (12 years ago)
Author:
simon04
Message:

see #9414 - MapCSS validator: some performance imrovements (pre-compile regular expressions, drop regular expressions for key presence checks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/deprecated.mapcss

    r6633 r6645  
    179179
    180180/* from http://wiki.openstreetmap.org/wiki/Conditional_restrictions#Deprecated_tags */
    181 *[/(day|date|hour)_(on|off)/][!restriction] {
     181*[day_on][!restriction],
     182*[day_off][!restriction],
     183*[date_on][!restriction],
     184*[date_off][!restriction],
     185*[hour_on][!restriction],
     186*[hour_off][!restriction] {
    182187  throwWarning: tr("{0} is deprecated", "{0.key}");
    183188  suggestAlternative: "*:conditional";
Note: See TracChangeset for help on using the changeset viewer.