1. Dave St.Germain
  2. jsmin
  3. Issues


Issue #9 resolved

Space should not be removed

Serge Korotkin
created an issue

jsmin used with django-assets ng-grid-2.0.7.min.js installed from Bower

the result of optimization: do t.innerHTML="<!--[if gt IE "+++e+"]><i></i><![endif]-->";while(n[0]);

expected: do t.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->";while(n[0]);

(removed space after first plus sign)

*ng-grid-2.0.7.debug.js div.innerHTML = '<!--[if gt IE ' + (++version) + ']><i></i><![endif]-->'; ( as we see in this case the problem can not appear)

Comments (2)

  1. Log in to comment