UNPKG

twreporter-react

Version:

React-Redux site for The Reporter Foundation in Taiwan

15 lines (11 loc) 447 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAbsPath = undefined; var _index = require('../constants/index'); var getAbsPath = exports.getAbsPath = function getAbsPath() { var pathname = arguments.length <= 0 || arguments[0] === undefined ? '' : arguments[0]; var search = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1]; return _index.basePath + pathname + search; };