Backup
This commit is contained in:
parent
99fc0f9615
commit
8369d48584
|
@ -1,2 +1 @@
|
|||
node_modules
|
||||
hedera-web.js
|
||||
|
|
12
app.js
12
app.js
|
@ -25,27 +25,27 @@ function loadLocale (lang, cb)
|
|||
switch (lang)
|
||||
{
|
||||
case 'ca':
|
||||
require.ensure ([], function (){
|
||||
require ([], function (){
|
||||
cb (require.context ('locale/ca/js')); });
|
||||
break;
|
||||
case 'es':
|
||||
require.ensure ([], function () {
|
||||
require ([], function () {
|
||||
cb (require.context ('locale/es/js')); });
|
||||
break;
|
||||
case 'fr':
|
||||
require.ensure ([], function () {
|
||||
require ([], function () {
|
||||
cb (require.context ('locale/fr/js')); });
|
||||
break;
|
||||
case 'mn':
|
||||
require.ensure ([], function () {
|
||||
require ([], function () {
|
||||
cb (require.context ('locale/mn/js')); });
|
||||
break;
|
||||
case 'pt':
|
||||
require.ensure ([], function () {
|
||||
require ([], function () {
|
||||
cb (require.context ('locale/pt/js')); });
|
||||
break;
|
||||
default:
|
||||
require.ensure ([], function () {
|
||||
require ([], function () {
|
||||
cb (require.context ('locale/en/js')); });
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
export NODE_PATH="/usr/local/lib/node_modules" &&
|
||||
webpack --progress --colors --watch
|
Loading…
Reference in New Issue