lib/polymer/dsl.rb in polymer-1.0.0.beta.6 vs lib/polymer/dsl.rb in polymer-1.0.0.beta.7
- old
+ new
@@ -248,10 +248,10 @@
Polymer::Sprite.new \
definition[:name],
definition[:sources],
definition[:save_path],
- definition.fetch(:padding, project_config[:padding]),
+ definition.fetch(:padding, project_config[:padding]) || 0,
url || ''
end
# Provides the DSL for the global configuration options.
#