spritesheet-templates
Advanced tools
Comparing version 9.3.0 to 9.3.1
# spritesheet-templates changelog | ||
9.3.1 - Fixed regression with `data.spritesheet_info` fallback logic | ||
9.3.0 - Relocated `options.spritesheetName` to `data.spritesheet_info` in preparation for retina conventions | ||
@@ -3,0 +5,0 @@ |
@@ -54,6 +54,4 @@ // Load in our dependencies | ||
// DEV: We have `spritesheet_info` which is the object replacement option for `spritesheetName` | ||
var spritesheetInfo = _.extend({ | ||
name: options.spritesheetName || 'spritesheet' | ||
}, data.spritesheet_info); | ||
spritesheetInfo = JSON.parse(JSON.stringify(spritesheetInfo)); | ||
var spritesheetInfo = data.spritesheet_info ? JSON.parse(JSON.stringify(data.spritesheet_info)) : {}; | ||
spritesheetInfo.name = spritesheetInfo.name || options.spritesheetName || 'spritesheet'; | ||
// DEV: For deprecation purposes, backfill `name` onto `spritesheet` | ||
@@ -60,0 +58,0 @@ spritesheet.name = spritesheetInfo.name; |
{ | ||
"name": "spritesheet-templates", | ||
"description": "Convert spritesheet data into CSS or CSS pre-processor data", | ||
"version": "9.3.0", | ||
"version": "9.3.1", | ||
"homepage": "https://github.com/twolfson/spritesheet-templates", | ||
@@ -6,0 +6,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168506
1573