Remove redundant "warning" captions.
authorMike Taylor <mike@indexdata.com>
Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)
src/mkws-team.js

index c88d58b..d090744 100644 (file)
@@ -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];
     }