Socket
Book a DemoInstallSign in
Socket

ember-cli-i18next

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-i18next - npm Package Compare versions

Comparing version

to
0.0.4

6

app-addon/initializers/i18next.js

@@ -5,2 +5,3 @@ 'use strict';

import helper from '../helpers/i18next';
import config from '../config/environment';

@@ -13,3 +14,4 @@ export default {

var locale = localStorage.locale || 'en';
var locale = localStorage.locale || 'en'
, baseUrl = config.baseURL || '/';

@@ -26,3 +28,3 @@ i18n.init({

, getAsync: true
, resGetPath: '/locales/__lng__/__ns__.json'
, resGetPath: baseUrl + 'locales/__lng__/__ns__.json'
}

@@ -29,0 +31,0 @@

{
"name": "ember-cli-i18next",
"version": "0.0.3",
"version": "0.0.4",
"description": "Wrap i18next for ember-cli apps",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.