{"push_id":705627639,"size":1,"distinct_size":1,"ref":"refs/heads/view-aliases","head":"558de1f8b252d991472d2a9e9fc4a909e7427165","before":"474e660e14e3e979ffe37d08dca4be52a28fab9a","commits":[{"sha":"558de1f8b252d991472d2a9e9fc4a909e7427165","author":{"email":"7fec4d47af9b36dfb3faa45db2f67001b48f283f@gmail.com","name":"Evan Winslow"},"message":"feature(assets): Get rid of js/ and css/ directories\n\nAll views under these directories are implicitly \"hoisted\" up one level.\nThey are also given the appropriate extension:\n\n * js/view => view.js\n * css/view => view.css\n\nThe main benefit this brings is being able to co-locate related assets.\nSo a template (view.php) can have its CSS/JS dependencies right next to it\n(view.css, view.js). Compare to the current approach which is like so:\n\n * Template: page/components/module.php\n * CSS: css/elements/modules.php\n * JS: None in this case, but how would you know with any confidence?\n\nBREAKING CHANGE:\n\nGreat care has been taken to make this change as backwards-compatible as possible,\nso you should not need to update any view references right away. However, you are\ncertainly encouraged to move your JS and CSS views to their new, canonical\nlocations.\n\nCertain uses of the `view,$view_name` and `view_vars,$view_name` hooks will not work.\nSee the docs on \"View aliases\" for more info.\n\nRefs #8381\nFixes #8382","distinct":true,"url":"https://api.github.com/repos/ewinslow/Elgg/commits/558de1f8b252d991472d2a9e9fc4a909e7427165"}]}