knockout appendChild => append

and tested closure-compiler 0.2.12 but still broken for es6 mode
This commit is contained in:
djmaze 2020-09-17 21:34:38 +02:00
parent 7713f459ac
commit 0f56c7d28f
11 changed files with 209 additions and 188 deletions

View file

@ -4,8 +4,6 @@ module.exports = function(grunt) {
// Project configuration
grunt.initConfig({
// language_in:'ECMASCRIPT6',
// language_out:'ECMASCRIPT6',
// Metadata
pkg: grunt.file.readJSON('package.json'),
fragments: './build/fragments/',
@ -111,7 +109,7 @@ module.exports = function(grunt) {
function buildMin(output, done) {
var cc = require('closure-compiler');
var options = {
// language_in:'ECMASCRIPT6',
// language_in:'ECMASCRIPT6', // BROKEN!!
// language_out:'ECMASCRIPT6',
compilation_level: 'ADVANCED_OPTIMIZATIONS',
output_wrapper: '(function() {%output%})();'