Add momentjs locales
// FREEBIE
This commit is contained in:
parent
bf3f5040aa
commit
6a3a724dc4
5 changed files with 15856 additions and 2938 deletions
|
@ -62,7 +62,7 @@
|
||||||
"libphonenumber_api-compiled.js"
|
"libphonenumber_api-compiled.js"
|
||||||
],
|
],
|
||||||
"momentjs": [
|
"momentjs": [
|
||||||
"moment.js"
|
"min/moment-with-locales.js"
|
||||||
],
|
],
|
||||||
"indexeddb-backbonejs-adapter": [
|
"indexeddb-backbonejs-adapter": [
|
||||||
"backbone-indexeddb.js"
|
"backbone-indexeddb.js"
|
||||||
|
|
9394
components/momentjs/min/moment-with-locales.js
Normal file
9394
components/momentjs/min/moment-with-locales.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
6460
js/components.js
6460
js/components.js
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,8 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
window.Whisper = window.Whisper || {};
|
window.Whisper = window.Whisper || {};
|
||||||
|
|
||||||
|
moment.locale(chrome.i18n.getUILanguage());
|
||||||
|
|
||||||
Whisper.TimestampView = Whisper.View.extend({
|
Whisper.TimestampView = Whisper.View.extend({
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
extension.windows.onClosed(this.clearTimeout.bind(this));
|
extension.windows.onClosed(this.clearTimeout.bind(this));
|
||||||
|
|
Loading…
Reference in a new issue