Skip to content

Commit

Permalink
Merge pull request #44 from santheo/master
Browse files Browse the repository at this point in the history
Adding namespace to global-template
  • Loading branch information
Jorge Bastida committed Jun 14, 2012
2 parents 478dbcd + b125c4e commit d69eb26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion glue.py
Expand Up @@ -629,7 +629,9 @@ def save_css(self):
# add the global style for all the sprites for less bloat
template = self.config.global_template.decode('unicode-escape')
css_file.write(template % {'all_classes': class_names,
'sprite_url': self.image_url})
'sprite_url': self.image_url,
'namespace': self.namespace,
})

# compile one template for each file
margin = int(self.config.margin)
Expand Down

0 comments on commit d69eb26

Please sign in to comment.