SHARE
TWEET

Untitled

a guest Apr 21st, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function loadPage(pageName) {
  2.     import(`/pages/${pageName}.js`).then(page => {
  3.         showPage(page);
  4.     });
  5. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top