{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/charges-and-fields/issues/60","labels_url":"https://api.github.com/repos/phetsims/charges-and-fields/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/charges-and-fields/issues/60/comments","events_url":"https://api.github.com/repos/phetsims/charges-and-fields/issues/60/events","html_url":"https://github.com/phetsims/charges-and-fields/issues/60","id":100434411,"number":60,"title":"mipmap.js registers image incorrectly when used with optional arguments","user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/charges-and-fields/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-08-11T23:32:50Z","updated_at":"2015-08-12T15:22:02Z","closed_at":null,"body":"This sim appears to contain an unused image. `grunt build` reports:\r\n\r\n```\r\nRunning \"after-requirejs-build\" task\r\n>> Unused image: CHARGES_AND_FIELDS/pencil.png\r\n```"},"comment":{"url":"https://api.github.com/repos/phetsims/charges-and-fields/issues/comments/130340903","html_url":"https://github.com/phetsims/charges-and-fields/issues/60#issuecomment-130340903","issue_url":"https://api.github.com/repos/phetsims/charges-and-fields/issues/60","id":130340903,"user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T15:22:02Z","updated_at":"2015-08-12T15:22:02Z","body":"> whether we should filter out the optional arguments in registerLicenseEntry.js\r\n\r\nThat would assume that all plugins adopt the grammar described in the documentation for mipmap.js. That's probably a reasonable assumption, but then the documentation should probably moved, the code for parsing options should be generalized, etc.  I don't feel compelled to tackle that right now, since I think the likelihood of adding options to new|existing plugins in the near future is small. Back to @samreid in case you'd like to take it on. Otherwise, feel free to close this issue, and perhaps create a new issue about generalizing the grammar and code related to options."}}