{"action":"created","issue":{"url":"https://api.github.com/repos/prettydiff/prettydiff/issues/161","labels_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/161/comments","events_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/161/events","html_url":"https://github.com/prettydiff/prettydiff/issues/161","id":105563450,"number":161,"title":"break chain method","user":{"login":"bigyuki","id":1812489,"avatar_url":"https://avatars.githubusercontent.com/u/1812489?v=3","gravatar_id":"","url":"https://api.github.com/users/bigyuki","html_url":"https://github.com/bigyuki","followers_url":"https://api.github.com/users/bigyuki/followers","following_url":"https://api.github.com/users/bigyuki/following{/other_user}","gists_url":"https://api.github.com/users/bigyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/bigyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigyuki/subscriptions","organizations_url":"https://api.github.com/users/bigyuki/orgs","repos_url":"https://api.github.com/users/bigyuki/repos","events_url":"https://api.github.com/users/bigyuki/events{/privacy}","received_events_url":"https://api.github.com/users/bigyuki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prettydiff/prettydiff/labels/Enhancement","name":"Enhancement","color":"207de5"},{"url":"https://api.github.com/repos/prettydiff/prettydiff/labels/Underway","name":"Underway","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/prettydiff/prettydiff/milestones/27","html_url":"https://github.com/prettydiff/prettydiff/milestones/v1.13.6","labels_url":"https://api.github.com/repos/prettydiff/prettydiff/milestones/27/labels","id":1293007,"number":27,"title":"v1.13.6","description":null,"creator":{"login":"prettydiff","id":524902,"avatar_url":"https://avatars.githubusercontent.com/u/524902?v=3","gravatar_id":"","url":"https://api.github.com/users/prettydiff","html_url":"https://github.com/prettydiff","followers_url":"https://api.github.com/users/prettydiff/followers","following_url":"https://api.github.com/users/prettydiff/following{/other_user}","gists_url":"https://api.github.com/users/prettydiff/gists{/gist_id}","starred_url":"https://api.github.com/users/prettydiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettydiff/subscriptions","organizations_url":"https://api.github.com/users/prettydiff/orgs","repos_url":"https://api.github.com/users/prettydiff/repos","events_url":"https://api.github.com/users/prettydiff/events{/privacy}","received_events_url":"https://api.github.com/users/prettydiff/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-09-07T04:35:33Z","updated_at":"2015-09-09T12:08:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-09T09:53:54Z","updated_at":"2015-09-09T16:59:38Z","closed_at":null,"body":"before:\r\n\r\n\r\n    gulp.task('webpack', ['clean'], function () {\r\n        return gulp.src(paths.scripts)\r\n            .pipe(webpack(webpackConfig))\r\n            .pipe(uglify())\r\n            .pipe(gulp.dest(paths.scriptsDest));\r\n    });\r\n\r\nafter:\r\n\r\n\r\n    gulp.task('webpack', ['clean'], function () {\r\n        return gulp.src(paths.scripts).pipe(webpack(webpackConfig)).pipe(uglify()).pipe(gulp.dest(paths.scriptsDest));\r\n    });\r\n\r\n\r\nthis is not i want.\r\n"},"comment":{"url":"https://api.github.com/repos/prettydiff/prettydiff/issues/comments/138975472","html_url":"https://github.com/prettydiff/prettydiff/issues/161#issuecomment-138975472","issue_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/161","id":138975472,"user":{"login":"prettydiff","id":524902,"avatar_url":"https://avatars.githubusercontent.com/u/524902?v=3","gravatar_id":"","url":"https://api.github.com/users/prettydiff","html_url":"https://github.com/prettydiff","followers_url":"https://api.github.com/users/prettydiff/followers","following_url":"https://api.github.com/users/prettydiff/following{/other_user}","gists_url":"https://api.github.com/users/prettydiff/gists{/gist_id}","starred_url":"https://api.github.com/users/prettydiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettydiff/subscriptions","organizations_url":"https://api.github.com/users/prettydiff/orgs","repos_url":"https://api.github.com/users/prettydiff/repos","events_url":"https://api.github.com/users/prettydiff/events{/privacy}","received_events_url":"https://api.github.com/users/prettydiff/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T16:59:38Z","updated_at":"2015-09-09T16:59:38Z","body":"Patterns I am thinking about:\r\n\r\n    var a = location.href.toLowerCase().split(\"/\")[3].toUpperCase().split(\"%20\");\r\n    var a = location\r\n        .href //split on properties as well\r\n        .toLowerCase() //ensure comments in the middle don't break things\r\n        .split(\"/\")[3]\r\n        .toUpperCase()\r\n        .split(\"%20\");\r\n    \r\n    var b = func(myMethod().property.otherMethod() > 5);\r\n    var b = func(myMethod()\r\n        .property\r\n        .otherMethod() > 5); //splitting methods inside a higher method looks odd"}}