The 5.x-1.0 version of jQuery Update seems to work fine with the JS Aggregator but that uses an old i jQuery, I want to use the latest 1.2.6 version of jQuery but if i try to aggregate after the jQuery Update I get these to errors:

[Break on this error] rd:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/j...
59130b4beed9fd644... (line 13)
missing } after property list
/files/js/59130b4beed9fd6443152a06404799fb.js
Line 13


[Break on this error]  <script type="text/javascript">Drupal.extend({ settings: { "teleport": { "fo...
performance (line 391)
Drupal has no properties
/admin/settings/performance
Line 391

Comments

derjochenmeyer’s picture

I use a 5.x-2.x-dev version which is a week old. I cant reproduce these errors. Works fine for me... Sure that its not another module is causing those errors?

derjochenmeyer’s picture

Status: Active » Postponed (maintainer needs more info)
detot’s picture

I get this error when I try to aggregate. When I turn of js aggregate the error disappears.

the js files i try to compress is:

<script type="text/javascript" src="/misc/jquery.js"></script>
<script type="text/javascript" src="/misc/drupal.js"></script>
<script type="text/javascript" src="/sites/all/modules/teleport/teleport.js"></script>
<script type="text/javascript" src="/sites/all/modules/jquery_update/compat.js"></script>
<script type="text/javascript" src="/sites/all/modules/devel/devel.js"></script>
<script type="text/javascript" src="/sites/all/modules/views_bookmark/views_bookmark.js"></script>
<script type="text/javascript" src="/sites/all/modules/link/link.js"></script>
<script type="text/javascript" src="/misc/progress.js"></script>
<script type="text/javascript" src="/misc/upload.js"></script>
<script type="text/javascript" src="/sites/all/modules/imagefield/imagefield.js"></script>
<script type="text/javascript" src="/misc/autocomplete.js"></script>
<script type="text/javascript" src="/misc/collapse.js"></script>
detot’s picture

Excluding views_bookmark.js from aggregation

<script type="text/javascript" src="/sites/all/modules/views_bookmark/views_bookmark.js"></script>

seems to fix the errors. So maybe this is a views_bookmark task?

detot’s picture

Project: Javascript Aggregator » Views Bookmark
Version: 5.x-1.3 » 5.x-1.x-dev
Component: Code » JavaScript
Category: support » bug
Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Active
derjochenmeyer’s picture

Status: Active » Closed (works as designed)

Some js files are really hard to aggregate. There is no safe way to aggregate and compress all possible combinations of javascripts. Thats why we implemented the exclusion list. But jQuery itself and all jQuery Update Versions should work. Closing this issue...