Closed (works as designed)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.25
Component:
Compression/Minification
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2017 at 18:02 UTC
Updated:
11 Aug 2017 at 07:55 UTC
Jump to comment: Most recent
Comments
Comment #2
mikeytown2 commentedLooks like a minification issue. Can I get a zip of the page with core and advagg js disabled?
This is where the JS is having issues
Comment #3
webservant316 commentedPMed you the requested page. It works as you guessed. What's next?
Comment #4
mikeytown2 commentedIt's a issue with the minifier in use.
Using https://github.com/CreateJS/SoundJS/blob/master/lib/soundjs-0.6.2.combin... instead of https://github.com/CreateJS/SoundJS/blob/master/lib/soundjs-0.6.2.min.js might help.
If not the regex needs fixing in the js file.
This
a.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,a.RELATIVE_PATT=/^[./]*?\//i,a.EXTENSION_PATT=/\/?[^/]+\.(\w{1,5})$/iShould be this (escape / with \).
a.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,a.RELATIVE_PATT=/^[.\/]*?\//i,a.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/iThe minifier sees // as an inline comment and cuts off the rest of the JS file. You can also tell advagg to not compress this file.
Comment #5
webservant316 commentedThanks @mikeytown2. The problem is now fixed over here https://www.drupal.org/node/2803319.
Comment #6
mikeytown2 commentedGlad to hear you got the bottom of this issue!
Comment #7
paalj commentedThanks @mikeytown2 for getting to the bottom of this one. You have been mentioned here:
h5p.org/post-hub-releases