.scroller {
overflow-x: hidden;
overflow-y: hidden;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: none;
}
const apiRouter = require('./api/api');
app.use('/api', apiRouter());
const express = require('express');
const router = new express.Router();
const users = require('../../controllers/users');
const pages= require('../../controllers/pages');
module.exports = () => router
.get('/pages', pages.getPages)
.get('/user', users.getUsers);
var keys = _.keys(data[0]);
var maxNumber = 0;
var selectedItem;
_.map(keys, function(item) {
var number = item.replace("field_", "");
if(number > maxNumber) {
maxNumber = number;
selectedItem = item;
}
return item;
});
console.log(data[0][selectedItem])