mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-21 19:47:03 +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:
7
themes/bootstrap/public/bower_components/moment/templates/amd-named.js
vendored
Normal file
7
themes/bootstrap/public/bower_components/moment/templates/amd-named.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/*global define:false*/
|
||||
|
||||
import moment from "./moment";
|
||||
|
||||
define("moment", [], function () {
|
||||
return moment;
|
||||
});
|
||||
7
themes/bootstrap/public/bower_components/moment/templates/amd.js
vendored
Normal file
7
themes/bootstrap/public/bower_components/moment/templates/amd.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/*global define:false*/
|
||||
|
||||
import moment from "./moment";
|
||||
|
||||
define([], function () {
|
||||
return moment;
|
||||
});
|
||||
5
themes/bootstrap/public/bower_components/moment/templates/default.js
vendored
Normal file
5
themes/bootstrap/public/bower_components/moment/templates/default.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||||
typeof define === 'function' && define.amd ? define(factory) :
|
||||
global.moment = factory()
|
||||
}(this, function () { 'use strict';
|
||||
5
themes/bootstrap/public/bower_components/moment/templates/globals.js
vendored
Normal file
5
themes/bootstrap/public/bower_components/moment/templates/globals.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/*global window:false*/
|
||||
|
||||
import moment from "./moment";
|
||||
|
||||
window.moment = moment;
|
||||
6
themes/bootstrap/public/bower_components/moment/templates/locale-header.js
vendored
Normal file
6
themes/bootstrap/public/bower_components/moment/templates/locale-header.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
&& typeof require === 'function' ? factory(require('../moment')) :
|
||||
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
||||
factory(global.moment)
|
||||
}(this, function (moment) { 'use strict';
|
||||
6
themes/bootstrap/public/bower_components/moment/templates/test-header.js
vendored
Normal file
6
themes/bootstrap/public/bower_components/moment/templates/test-header.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
&& typeof require === 'function' ? factory(require('../../moment')) :
|
||||
typeof define === 'function' && define.amd ? define(['../../moment'], factory) :
|
||||
factory(global.moment)
|
||||
}(this, function (moment) { 'use strict';
|
||||
Reference in New Issue
Block a user