UNPKG

vue-carousel-3d

Version:

Beautiful, flexible and touch supported 3D Carousel for Vue.js

18 lines (15 loc) 322 B
var utils = require('../utils') , path = require('path'); /** * Return the dirname of `path`. * * @param {String} path * @return {String} * @api public */ function dirname(p){ utils.assertString(p, 'path'); return path.dirname(p.val).replace(/\\/g, '/'); }; dirname.params = ['p']; module.exports = dirname;