From: Jason Skomorowski Date: Mon, 19 May 2014 23:00:31 +0000 (-0400) Subject: Typo. X-Git-Tag: 1.0.0~646^2~4 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=7b557f1a6fcdb3ab7d024ddae068c7655cc4a109 Typo. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 8523ec7..71c063c 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -26,7 +26,7 @@ function team($, teamName) { "last": $.now() }; var m_paz; // will be initialised below - var m_tempateText = {}; // widgets can register tempates to be compiled + var m_templateText = {}; // widgets can register templates to be compiled var m_template = {}; // compiled templates, from any source var m_config = mkws.objectInheritingFrom(mkws.config); var m_widgets = {}; // Maps widget-type to array of widget objects @@ -373,7 +373,7 @@ function team($, teamName) { that.registerTemplate = function(name, text) { - m_tempateText[name] = text; + m_templateText[name] = text; }; @@ -392,7 +392,7 @@ function team($, teamName) { } if (!source) { - source = m_tempateText[name]; + source = m_templateText[name]; } if (!source) { source = mkws.defaultTemplate(name);