Skip to content

Commit

Permalink
Prepare for upcoming change in AssetGraph: assetGraph.markAssetDirty(…
Browse files Browse the repository at this point in the history
…asset) => asset.markDirty().
  • Loading branch information
papandreou committed Jul 20, 2011
1 parent 4c637ca commit 76263c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ module.exports = function () {
}
imageInfos.forEach(function (imageInfo) {
imageInfo.incomingRelations.forEach(function (incomingRelation) {
assetGraph.markAssetDirty(incomingRelation.from);
incomingRelation.from.markDirty();
var relationSpriteInfo = assets.Css.extractInfoFromRule(incomingRelation.cssRule, assets.Css.vendorPrefix + '-sprite-');
incomingRelation.cssRule.style.setProperty('background-position',
(imageInfo.x ? (-imageInfo.x) + "px " : "0 ") +
Expand Down

0 comments on commit 76263c8

Please sign in to comment.