From: Olivier Lamy Date: Sun, 25 Dec 2011 19:10:39 +0000 (+0000) Subject: use knockout final 2.0.0 X-Git-Tag: archiva-1.4-M3~1693 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=324cfd1d3ca7551a5608be0ea152b40b59f76534;p=archiva.git use knockout final 2.0.0 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1224631 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-debug.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-debug.js index 4114c8136..56ce31566 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-debug.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-debug.js @@ -1,4 +1,4 @@ -// Knockout JavaScript library v2.0.0rc3 +// Knockout JavaScript library v2.0.0 // (c) Steven Sanderson - http://knockoutjs.com/ // License: MIT (http://www.opensource.org/licenses/mit-license.php) @@ -316,7 +316,7 @@ ko.utils = new (function () { 'innerText' in element ? element.innerText = value : element.textContent = value; - if (ieVersion) { + if (ieVersion >= 9) { // Believe it or not, this actually fixes an IE9 rendering bug. Insane. https://github.com/SteveSanderson/knockout/issues/209 element.innerHTML = element.innerHTML; } @@ -3220,4 +3220,4 @@ ko.exportSymbol('ko.nativeTemplateEngine', ko.nativeTemplateEngine);(function() ko.setTemplateEngine(jqueryTmplTemplateEngineInstance); ko.exportSymbol('ko.jqueryTmplTemplateEngine', ko.jqueryTmplTemplateEngine); -})();})(window); \ No newline at end of file +})();})(window);