{"push_id":751062717,"size":1,"distinct_size":1,"ref":"refs/heads/patch-1","head":"80d469ca3ede872c177a19fd4d5e8d5d52756e6b","before":"d1244497934860da0034c13400968864fb3cf75f","commits":[{"sha":"80d469ca3ede872c177a19fd4d5e8d5d52756e6b","author":{"email":"44f878afe53efc66b76772bd845eb65944ed8232@binarytales.com","name":"Jon Linklater-Johnson"},"message":"Update plugins.md\n\nI have made a small suggested change to the plugins tutorial that clarifies the different ways the plugins can be registered. It was something I was not clear on at first and had to figure out a little myself.\r\n\r\nI think this change makes it clearer that the simplest way to register a plugin is to pass register \"a plugin registration function\". Then progresses to an array of registration functions then expands that you can pass an object with register and options properties and then finally an array of these objects.\r\n\r\nIt seems also that this was the original intention of the tutorial.\r\n\r\nI have only just started developing with Hapi in the last few days so I apologise if I have misunderstood something about the intention here.\r\n\r\nI also note that you can mix functions and objects in the array but this is probably an uanessacry complication to add to this tutorial so I have not added an example of this.","distinct":true,"url":"https://api.github.com/repos/binarytales/hapijs.com/commits/80d469ca3ede872c177a19fd4d5e8d5d52756e6b"}]}