docs: function createPages() {
          var i,
              pages = [],
              page,
              start = config.pageStart - 1,
              end = config.pageEnd,
              links = sortPageLinks();
  
          //initialize pages
          for (i = start; i < end; i++) {
              page = scope.createComponent('page');
              page.init(config.$pages.eq(i - start), {
                  index: i,
                  status: getInitialPageStatus(i),
                  enableLinks: config.enableLinks,
                  links: links[i],
                  pageScale: config.pageScale,
                  useSVG: config.useSVG
              });
              pages.push(page);
          }
          config.pages = pages;
      }