KnockoutJS to ES2015/ES6

TODO: use the new Proxy for ko.observable
This commit is contained in:
djmaze 2020-10-04 21:58:13 +02:00
parent a0f8ac0dad
commit 72ed2b08b2
56 changed files with 941 additions and 1873 deletions

View file

@ -109,8 +109,8 @@ module.exports = function(grunt) {
function buildMin(output, done) {
var cc = require('closure-compiler');
var options = {
// language_in:'ECMASCRIPT6', // BROKEN!!
// language_out:'ECMASCRIPT6',
language_in:'ECMASCRIPT6', // BROKEN!!
language_out:'ECMASCRIPT6',
compilation_level: 'ADVANCED_OPTIMIZATIONS',
output_wrapper: '(function() {%output%})();'
};