Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #536097

    Hi,

    for speed results i wanted to minify avia.js and shortcodes.js. When using Google compiler – http://closure-compiler.appspot.com/home – the scripts have warnings and an error.

    Please can you fix this in the next update or include minified versions already (for google pagespeed / optimized bandwidth purposes?

    some errors are trailing commas:
    shortcodes.js
    JSC_TRAILING_COMMA: at line 295 character 102
    …f.container.find(‘.av-countdown-‘ + _units[i] + ‘ .av-countdown-time-label’),

    avia.js
    JSC_TRAILING_COMMA: at line 898 character 100
    …tbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*=”dropbox.com”]’,
    ^
    JSC_TRAILING_COMMA: Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option. at line 992 character 6 },

    7 warnings like:
    JSC_INVALID_ES3_PROP_NAME: Keywords and reserved words are not allowed as unquoted property names in older versions of JavaScript. If you are targeting newer versions of JavaScript, set the appropriate language_in option. at line 497 character 75
    if(!this.$data.marker || !this.$data.marker[0] || !this.$data.marker[0].lo…

    #536204

    Hi leone!

    I have added that to github we have, as an issue, but can I ask if you are using any cache software and that as a result brakes the site, when it is optimized through it? I just used it with http://optimisation.io/ and it worked properly

    Best regards,
    Basilis

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.