summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerman M. Bravo <german.mb@deipi.com>2013-10-08 07:00:22 -0700
committerGerman M. Bravo <german.mb@deipi.com>2013-10-08 07:00:22 -0700
commit8763b22d75cabdd86437ebf2480ad844e71cba8a (patch)
tree72f081e1478be33b6a2d99945f19a8157035a00c
parent4ad3a63f52c147ca63573a486312cbef0cd1a72f (diff)
downloadpyscss-8763b22d75cabdd86437ebf2480ad844e71cba8a.tar.gz
TODO: Use different name for legacy_scoping
-rw-r--r--scss/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/__init__.py b/scss/__init__.py
index 266a792..c52fa98 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -1041,7 +1041,7 @@ class Scss(object):
if condition:
inner_rule = rule.copy()
inner_rule.unparsed_contents = block.unparsed_contents
- if rule.options.get('legacy_scoping'):
+ if rule.options.get('legacy_scoping'): # TODO: name this option differently and maybe make this scoping mode for contol structures as the default as a default deviation
# DEVIATION: Allow not creating a new namespace
inner_rule.namespace = rule.namespace
self.manage_children(inner_rule, scope)
@@ -1092,7 +1092,7 @@ class Scss(object):
inner_rule = rule.copy()
inner_rule.unparsed_contents = block.unparsed_contents
- if rule.options.get('legacy_scoping'):
+ if rule.options.get('legacy_scoping'): # TODO: name this option differently and maybe make this scoping mode for contol structures as the default as a default deviation
# DEVIATION: Allow not creating a new namespace
inner_rule.namespace = rule.namespace
@@ -1119,7 +1119,7 @@ class Scss(object):
inner_rule = rule.copy()
inner_rule.unparsed_contents = block.unparsed_contents
- if rule.options.get('legacy_scoping'):
+ if rule.options.get('legacy_scoping'): # TODO: name this option differently and maybe make this scoping mode for contol structures as the default as a default deviation
# DEVIATION: Allow not creating a new namespace
inner_rule.namespace = rule.namespace