From 84fee3c0d8bc32527637e82bab0185181c3795a1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 16 Oct 2012 11:54:36 +0000 Subject: [PATCH] add knockout-2.2.0rc.debug.js git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1398752 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/webapp/js/knockout-2.2.0rc.debug.js | 3564 +++++++++++++++++ 1 file changed, 3564 insertions(+) create mode 100644 archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-2.2.0rc.debug.js diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-2.2.0rc.debug.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-2.2.0rc.debug.js new file mode 100644 index 000000000..959a4cabb --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-2.2.0rc.debug.js @@ -0,0 +1,3564 @@ +// Knockout JavaScript library v2.2.0rc +// (c) Steven Sanderson - http://knockoutjs.com/ +// License: MIT (http://www.opensource.org/licenses/mit-license.php) + +(function(){ +var DEBUG=true; +(function(window,document,navigator,jQuery,undefined){ +!function(factory) { + // Support three module loading scenarios + if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') { + // [1] CommonJS/Node.js + var target = module['exports'] || exports; // module.exports is for Node.js + factory(target); + } else if (typeof define === 'function' && define['amd']) { + // [2] AMD anonymous module + define(['exports'], factory); + } else { + // [3] No module loader (plain "); + }; + + if (jQueryTmplVersion > 0) { + jQuery['tmpl']['tag']['ko_code'] = { + open: "__.push($1 || '');" + }; + jQuery['tmpl']['tag']['ko_with'] = { + open: "with($1) {", + close: "} " + }; + } + }; + + ko.jqueryTmplTemplateEngine.prototype = new ko.templateEngine(); + + // Use this one by default *only if jquery.tmpl is referenced* + var jqueryTmplTemplateEngineInstance = new ko.jqueryTmplTemplateEngine(); + if (jqueryTmplTemplateEngineInstance.jQueryTmplVersion > 0) + ko.setTemplateEngine(jqueryTmplTemplateEngineInstance); + + ko.exportSymbol('jqueryTmplTemplateEngine', ko.jqueryTmplTemplateEngine); +})(); +}); +})(window,document,navigator,window["jQuery"]); +})();