{"action":"created","issue":{"url":"https://api.github.com/repos/ksmithut/bower-files/issues/51","labels_url":"https://api.github.com/repos/ksmithut/bower-files/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/ksmithut/bower-files/issues/51/comments","events_url":"https://api.github.com/repos/ksmithut/bower-files/issues/51/events","html_url":"https://github.com/ksmithut/bower-files/pull/51","id":69864578,"number":51,"title":"FileFilter Caching","user":{"login":"fracmak","id":378178,"avatar_url":"https://avatars.githubusercontent.com/u/378178?v=3","gravatar_id":"","url":"https://api.github.com/users/fracmak","html_url":"https://github.com/fracmak","followers_url":"https://api.github.com/users/fracmak/followers","following_url":"https://api.github.com/users/fracmak/following{/other_user}","gists_url":"https://api.github.com/users/fracmak/gists{/gist_id}","starred_url":"https://api.github.com/users/fracmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fracmak/subscriptions","organizations_url":"https://api.github.com/users/fracmak/orgs","repos_url":"https://api.github.com/users/fracmak/repos","events_url":"https://api.github.com/users/fracmak/events{/privacy}","received_events_url":"https://api.github.com/users/fracmak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-21T14:40:55Z","updated_at":"2015-04-21T15:06:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ksmithut/bower-files/pulls/51","html_url":"https://github.com/ksmithut/bower-files/pull/51","diff_url":"https://github.com/ksmithut/bower-files/pull/51.diff","patch_url":"https://github.com/ksmithut/bower-files/pull/51.patch"},"body":"This pull request adds a feature where every new filter added to the FileFilter copies all the options before modifying them so you can cache/save/reuse any part of the chain. Allows for something like this\r\n\r\n```\r\nvar lib = require('bower-files')();\r\nvar self = lib.self();\r\nvar js = self.js();\r\nvar css = self.css();\r\n```\r\n\r\nwithout polluting prior filters.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/ksmithut/bower-files/issues/comments/94832781","html_url":"https://github.com/ksmithut/bower-files/pull/51#issuecomment-94832781","issue_url":"https://api.github.com/repos/ksmithut/bower-files/issues/51","id":94832781,"user":{"login":"ksmithut","id":1906967,"avatar_url":"https://avatars.githubusercontent.com/u/1906967?v=3","gravatar_id":"","url":"https://api.github.com/users/ksmithut","html_url":"https://github.com/ksmithut","followers_url":"https://api.github.com/users/ksmithut/followers","following_url":"https://api.github.com/users/ksmithut/following{/other_user}","gists_url":"https://api.github.com/users/ksmithut/gists{/gist_id}","starred_url":"https://api.github.com/users/ksmithut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksmithut/subscriptions","organizations_url":"https://api.github.com/users/ksmithut/orgs","repos_url":"https://api.github.com/users/ksmithut/repos","events_url":"https://api.github.com/users/ksmithut/events{/privacy}","received_events_url":"https://api.github.com/users/ksmithut/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T15:06:59Z","updated_at":"2015-04-21T15:06:59Z","body":"Ah I see that now :) It's been a while since I've gone into the code... I may need to refactor a bit to make the context of `this` more clear, or just move away from that way of doing things.\r\n\r\nI'll go ahead and merge this one in and bump the npm version :) Thanks for your dedication in working to understand my code!"}}