about summary refs log tree commit diff stats
path: root/src/css/cascade.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-24 17:22:50 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-24 17:22:50 +0100
commitcd8ca0faa258a3387f9875c7a6f534743b45f817 (patch)
treedce2d7a45969664cae90f96f32e33d6e8011a07f /src/css/cascade.nim
parent7cb534fd1fb2cbd0a338ba22457e18ba8cb57f78 (diff)
downloadchawan-cd8ca0faa258a3387f9875c7a6f534743b45f817.tar.gz
Refactor
Diffstat (limited to 'src/css/cascade.nim')
-rw-r--r--src/css/cascade.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/cascade.nim b/src/css/cascade.nim
index 0e481a10..aea064b0 100644
--- a/src/css/cascade.nim
+++ b/src/css/cascade.nim
@@ -161,7 +161,7 @@ func applyMediaQuery(ss: CSSStylesheet): CSSStylesheet =
       if rule.query.applies():
         result.add(rule.children.applyMediaQuery())
 
-proc applyRules*(document: Document, ua, user: CSSStylesheet) =
+proc applyRules(document: Document, ua, user: CSSStylesheet) =
   var stack: seq[Element]
 
   var embedded_rules: seq[CSSStylesheet]