mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-29 14:35:58 +00:00
Load message list over JSON
- Add jquery-load-template to bower
- Add moment (date rendering) to bower
- Load message list JSON via /api/v1/mailbox
- Render message list using jquery template
- Fix resize related problems with message list height caused by
2092949dbc
This commit is contained in:
71
themes/bootstrap/public/bower_components/moment/src/moment.js
vendored
Normal file
71
themes/bootstrap/public/bower_components/moment/src/moment.js
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
//! moment.js
|
||||
//! version : 2.11.2
|
||||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||||
//! license : MIT
|
||||
//! momentjs.com
|
||||
|
||||
import { hooks as moment, setHookCallback } from './lib/utils/hooks';
|
||||
|
||||
moment.version = '2.11.2';
|
||||
|
||||
import {
|
||||
min,
|
||||
max,
|
||||
now,
|
||||
isMoment,
|
||||
momentPrototype as fn,
|
||||
createUTC as utc,
|
||||
createUnix as unix,
|
||||
createLocal as local,
|
||||
createInvalid as invalid,
|
||||
createInZone as parseZone
|
||||
} from './lib/moment/moment';
|
||||
|
||||
import {
|
||||
defineLocale,
|
||||
getSetGlobalLocale as locale,
|
||||
getLocale as localeData,
|
||||
listMonths as months,
|
||||
listMonthsShort as monthsShort,
|
||||
listWeekdays as weekdays,
|
||||
listWeekdaysMin as weekdaysMin,
|
||||
listWeekdaysShort as weekdaysShort
|
||||
} from './lib/locale/locale';
|
||||
|
||||
import {
|
||||
isDuration,
|
||||
createDuration as duration,
|
||||
getSetRelativeTimeThreshold as relativeTimeThreshold
|
||||
} from './lib/duration/duration';
|
||||
|
||||
import { normalizeUnits } from './lib/units/units';
|
||||
|
||||
import isDate from './lib/utils/is-date';
|
||||
|
||||
setHookCallback(local);
|
||||
|
||||
moment.fn = fn;
|
||||
moment.min = min;
|
||||
moment.max = max;
|
||||
moment.now = now;
|
||||
moment.utc = utc;
|
||||
moment.unix = unix;
|
||||
moment.months = months;
|
||||
moment.isDate = isDate;
|
||||
moment.locale = locale;
|
||||
moment.invalid = invalid;
|
||||
moment.duration = duration;
|
||||
moment.isMoment = isMoment;
|
||||
moment.weekdays = weekdays;
|
||||
moment.parseZone = parseZone;
|
||||
moment.localeData = localeData;
|
||||
moment.isDuration = isDuration;
|
||||
moment.monthsShort = monthsShort;
|
||||
moment.weekdaysMin = weekdaysMin;
|
||||
moment.defineLocale = defineLocale;
|
||||
moment.weekdaysShort = weekdaysShort;
|
||||
moment.normalizeUnits = normalizeUnits;
|
||||
moment.relativeTimeThreshold = relativeTimeThreshold;
|
||||
moment.prototype = fn;
|
||||
|
||||
export default moment;
|
||||
Reference in New Issue
Block a user