Skip to content

Commit

Permalink
[SDPA-604] Added a comment for dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-yao committed Jul 17, 2018
1 parent 55e6bcc commit 9498f0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/Organisms/SiteFooter/FooterNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export default {
}
},
msnryInit: async function () {
// For more about dynamic import check below article.
// https://developers.google.com/web/updates/2017/11/dynamic-import
const Masonry = await import('masonry-layout')
this.msnry = new Masonry('.rpl-footer-nav', {
Expand Down

0 comments on commit 9498f0a

Please sign in to comment.