remove winston

v1.18.x
barisusakli 9 years ago
parent fcbdfa5688
commit 9ba3612895

@ -1,4 +1,4 @@
/* global define, jQuery, config, RELATIVE_PATH, utils, window, Promise, winston */ /* global define, jQuery, config, RELATIVE_PATH, utils, window, Promise */
(function (factory) { (function (factory) {
'use strict'; 'use strict';
@ -217,7 +217,7 @@
Translator.prototype.getTranslation = function getTranslation(namespace, key) { Translator.prototype.getTranslation = function getTranslation(namespace, key) {
var translation; var translation;
if (!namespace) { if (!namespace) {
winston.warn('[translator] Parameter `namespace` is ' + namespace + (namespace === '' ? '(empty string)' : '')); console.warn('[translator] Parameter `namespace` is ' + namespace + (namespace === '' ? '(empty string)' : ''));
translation = Promise.resolve({}); translation = Promise.resolve({});
} else if (this.translations[namespace]) { } else if (this.translations[namespace]) {
translation = this.translations[namespace]; translation = this.translations[namespace];

Loading…
Cancel
Save