{"action":"created","issue":{"url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144","labels_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144/comments","events_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144/events","html_url":"https://github.com/hollandben/grunt-cache-bust/issues/144","id":94558040,"number":144,"title":"resourses in javascript are not processed","user":{"login":"thrawn-sh","id":5955972,"avatar_url":"https://avatars.githubusercontent.com/u/5955972?v=3","gravatar_id":"","url":"https://api.github.com/users/thrawn-sh","html_url":"https://github.com/thrawn-sh","followers_url":"https://api.github.com/users/thrawn-sh/followers","following_url":"https://api.github.com/users/thrawn-sh/following{/other_user}","gists_url":"https://api.github.com/users/thrawn-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/thrawn-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrawn-sh/subscriptions","organizations_url":"https://api.github.com/users/thrawn-sh/orgs","repos_url":"https://api.github.com/users/thrawn-sh/repos","events_url":"https://api.github.com/users/thrawn-sh/events{/privacy}","received_events_url":"https://api.github.com/users/thrawn-sh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hollandben/grunt-cache-bust/milestones/5","html_url":"https://github.com/hollandben/grunt-cache-bust/milestones/v1.0.0","labels_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/milestones/5/labels","id":1247078,"number":5,"title":"v1.0.0","description":null,"creator":{"login":"hollandben","id":1148714,"avatar_url":"https://avatars.githubusercontent.com/u/1148714?v=3","gravatar_id":"","url":"https://api.github.com/users/hollandben","html_url":"https://github.com/hollandben","followers_url":"https://api.github.com/users/hollandben/followers","following_url":"https://api.github.com/users/hollandben/following{/other_user}","gists_url":"https://api.github.com/users/hollandben/gists{/gist_id}","starred_url":"https://api.github.com/users/hollandben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollandben/subscriptions","organizations_url":"https://api.github.com/users/hollandben/orgs","repos_url":"https://api.github.com/users/hollandben/repos","events_url":"https://api.github.com/users/hollandben/events{/privacy}","received_events_url":"https://api.github.com/users/hollandben/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":3,"state":"open","created_at":"2015-08-09T14:37:19Z","updated_at":"2016-01-07T18:27:52Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-12T11:41:00Z","updated_at":"2016-01-07T18:29:54Z","closed_at":null,"body":"I'm using angular template caches for my project please see the content and syntax of template.js below:\r\n\r\n```javascript\r\nangular.module('test').run(['$templateCache', function($templateCache) {\r\n  'use strict';\r\n\r\n  $templateCache.put('main/home.html',\r\n    \"<ul class=\\\"slides\\\"><li><img src=\\\"images/home-01.jpg\\\" alt=\\\"\\\"></li><li><img src=\\\"images/home-02.jpg\\\" alt=\\\"\\\"></li></ul>\"\r\n  );\r\n}]);\r\n```\r\n\r\nThe template cache contains 2 image assets home-01.jpg and home-02.jpg. both resources are not process at all by grunt-cache-bust, they are not renamed in the filesystem nor in the template.js\r\n\r\n```javascript\r\ncacheBust: {\r\n            options: {\r\n                algorithm: \"md5\",\r\n                deleteOriginals: true,\r\n                ignorePatterns: [\"android-chrome\", \"apple-touch-icon\", \"favicon\"],\r\n                length: 32,\r\n                removeUrlFragmentHint: true,\r\n                rename: true,\r\n            },\r\n            assets: {\r\n                files: [\r\n                    { src: [\"dist/**/*.css\"] , filter: \"isFile\" },\r\n                    { src: [\"dist/**/*.js\"]  , filter: \"isFile\" },\r\n                    { src: [\"dist/**/*.html\"], filter: \"isFile\" },\r\n                ],\r\n            },\r\n},\r\n```"},"comment":{"url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/comments/169764398","html_url":"https://github.com/hollandben/grunt-cache-bust/issues/144#issuecomment-169764398","issue_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/144","id":169764398,"user":{"login":"hollandben","id":1148714,"avatar_url":"https://avatars.githubusercontent.com/u/1148714?v=3","gravatar_id":"","url":"https://api.github.com/users/hollandben","html_url":"https://github.com/hollandben","followers_url":"https://api.github.com/users/hollandben/followers","following_url":"https://api.github.com/users/hollandben/following{/other_user}","gists_url":"https://api.github.com/users/hollandben/gists{/gist_id}","starred_url":"https://api.github.com/users/hollandben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollandben/subscriptions","organizations_url":"https://api.github.com/users/hollandben/orgs","repos_url":"https://api.github.com/users/hollandben/repos","events_url":"https://api.github.com/users/hollandben/events{/privacy}","received_events_url":"https://api.github.com/users/hollandben/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T18:29:54Z","updated_at":"2016-01-07T18:29:54Z","body":"@thrawn-sh, @jdat82 would you be able to try out the current implementation on `feature/v1.0.0-beta` to see if this works for you (it should). You can read more about the changes in #147 "}}