Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

debug_info accepts a value as 'comments'

  • Loading branch information...
commit 1c93cd9ecd1b754e1547588fba03de6fffdb43ed 1 parent e105c53
@Kronuz authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  CHANGELOG
  2. +3 −3 scss/__init__.py
View
2  CHANGELOG
@@ -4,7 +4,7 @@ Changelog
1.1.5 ???
+ Improved memory usage for large sets of files to be used as sprites.
+ Warns about IE 4095 maximum number of selectors.
- + debug_info prints info as comments unless specified as ``firesass``.
+ + debug_info prints info as comments if specified as ``comments``.
+ Better handling of undefined variables.
+ Added CSS filter functions and ``skewX`` ``skewY``.
+ Command line tool and entry point fixed.
View
6 scss/__init__.py
@@ -1809,10 +1809,10 @@ def _create_css(self, rules, scope=None, sc=True, sp=' ', tb=' ', nl='\n', debu
if debug_info:
filename, lineno = rule[INDEX][rule[LINENO]].rsplit(':', 1)
filename = _escape_chars_re.sub(r'\\\1', filename)
- if debug_info == 'firesass':
- sass_debug_info = '@media -sass-debug-info{filename{font-family:file\:\/\/%s}line{font-family:\\00003%s}}' % (filename, lineno)
- else:
+ if debug_info == 'comments':
sass_debug_info = '/* file: %s, line: %s */' % (filename, lineno)
+ else:
+ sass_debug_info = '@media -sass-debug-info{filename{font-family:file\:\/\/%s}line{font-family:\\00003%s}}' % (filename, lineno)
result += sass_debug_info + nl
selector = (',' + sp).join('%s%s' % (self.super_selector, s) for s in _selectors) + sp + '{'
if nl:
Please sign in to comment.
Something went wrong with that request. Please try again.