sebdeckers / grunt-rev

:punch: Asset revving for Grunt.js
MIT License
240 stars 54 forks source link

a conflict against ng-src #19

Open FrankFang opened 10 years ago

FrankFang commented 10 years ago

If I put ng-src after src in an <img> tag, the grunt-rev task will just ignore the src path but never rev the image loading.gif.

<img src="loading.gif" ng-src="{% xxx %}"/>

However codes below make grunt-dev work well

<img ng-src="{% xxx %}" src="loading.gif"/>

.

ssesfahani commented 10 years ago

I'm running into this issue now, and I don't understand how the bottom piece of code makes sense? If you're dynamically creating an img src with ng-src, doesn't the static src="loading.gif" defeat that purpose?

ssesfahani commented 10 years ago

https://github.com/cbas/grunt-rev/issues/18

So this is still an issue still.. or what?