diff --git a/vendors/knockout/Gruntfile.js b/vendors/knockout/Gruntfile.js index 19e7b561a..8245d83d2 100644 --- a/vendors/knockout/Gruntfile.js +++ b/vendors/knockout/Gruntfile.js @@ -4,6 +4,8 @@ module.exports = function(grunt) { // Project configuration grunt.initConfig({ +// language_in:'ECMASCRIPT6', +// language_out:'ECMASCRIPT6', // Metadata pkg: grunt.file.readJSON('package.json'), fragments: './build/fragments/', @@ -109,6 +111,8 @@ module.exports = function(grunt) { function buildMin(output, done) { var cc = require('closure-compiler'); var options = { +// language_in:'ECMASCRIPT6', +// language_out:'ECMASCRIPT6', compilation_level: 'ADVANCED_OPTIMIZATIONS', output_wrapper: '(function() {%output%})();' }; @@ -156,6 +160,7 @@ module.exports = function(grunt) { }); grunt.registerMultiTask('testtypes', 'Run types tests', function () { +/* var done = this.async(), target = this.target; @@ -171,6 +176,7 @@ module.exports = function(grunt) { done(!error); } ); +*/ }); grunt.registerTask('dist', function() { diff --git a/vendors/knockout/build/fragments/source-references.js b/vendors/knockout/build/fragments/source-references.js index 481422c3e..054d8d3ea 100644 --- a/vendors/knockout/build/fragments/source-references.js +++ b/vendors/knockout/build/fragments/source-references.js @@ -16,7 +16,6 @@ knockoutDebugCallback([ 'src/subscribables/observableArray.js', 'src/subscribables/observableArray.changeTracking.js', 'src/subscribables/dependentObservable.js', - 'src/subscribables/mappingHelpers.js', 'src/subscribables/observableUtils.js', 'src/binding/selectExtensions.js', 'src/binding/expressionRewriting.js', @@ -55,6 +54,5 @@ knockoutDebugCallback([ 'src/templating/templating.js', 'src/binding/editDetection/compareArrays.js', 'src/binding/editDetection/arrayToDomNodeChildren.js', - 'src/templating/native/nativeTemplateEngine.js', - 'src/templating/jquery.tmpl/jqueryTmplTemplateEngine.js' + 'src/templating/native/nativeTemplateEngine.js' ]); diff --git a/vendors/knockout/build/output/knockout-latest.debug.js b/vendors/knockout/build/output/knockout-latest.debug.js new file mode 100644 index 000000000..e884b7f74 --- /dev/null +++ b/vendors/knockout/build/output/knockout-latest.debug.js @@ -0,0 +1,5877 @@ +/*! + * Knockout JavaScript library v3.5.1-pre + * (c) The Knockout.js team - http://knockoutjs.com/ + * License: MIT (http://www.opensource.org/licenses/mit-license.php) + */ + +(function(){ +var DEBUG=true; +(function(undefined){ + // (0, eval)('this') is a robust way of getting a reference to the global object + // For details, see http://stackoverflow.com/questions/14119988/return-this-0-evalthis/14120023#14120023 + var window = this || (0, eval)('this'), + document = window['document'], + navigator = window['navigator'], + jQueryInstance = window["jQuery"], + JSON = window["JSON"]; + + if (!jQueryInstance && typeof jQuery !== "undefined") { + jQueryInstance = jQuery; + } +(function(factory) { + // Support three module loading scenarios + if (typeof define === 'function' && define['amd']) { + // [1] AMD anonymous module + define(['exports', 'require'], factory); + } else if (typeof exports === 'object' && typeof module === 'object') { + // [2] CommonJS/Node.js + factory(module['exports'] || exports); // module.exports is for Node.js + } else { + // [3] No module loader (plain