From: Mike Taylor Date: Thu, 20 Nov 2014 10:57:14 +0000 (+0000) Subject: Remove redundant "warning" captions. X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a11c920efd56cf7b6240e852b6826bc671856f88;p=mkws-moved-to-github.git Remove redundant "warning" captions. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index c88d58b..d090744 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -426,7 +426,7 @@ mkws.makeTeam = function($, teamName) { that.registerTemplate = function(name, text) { if(mkws._old2new.hasOwnProperty(name)) { - that.warn("Warning: registerTemplate old widget name: " + name + " => " + mkws._old2new[name]); + that.warn("registerTemplate: old widget name: " + name + " => " + mkws._old2new[name]); name = mkws._old2new[name]; } m_templateText[name] = text; @@ -435,7 +435,7 @@ mkws.makeTeam = function($, teamName) { function loadTemplate(name, fallbackString) { if(mkws._old2new.hasOwnProperty(name)) { - that.warn("Warning loadTemplate: old widget name: " + name + " => " + mkws._old2new[name]); + that.warn("loadTemplate: old widget name: " + name + " => " + mkws._old2new[name]); name = mkws._old2new[name]; }