ninsuo / symfony-collection

[NOT MAINTAINED] A jQuery plugin that manages adding, deleting and moving elements from a Symfony form collection
https://symfony-collection.fuz.org/
MIT License
444 stars 88 forks source link

Error on YUI Compressor #32

Closed karousn closed 8 years ago

karousn commented 8 years ago

link of check online : https://www.piliapp.com/minify/yui-compressor/

[Assetic\Exception\FilterException] An error occurred while running: '/usr/bin/java' '-jar' '/var/www/drapo.dev/app/../bin/yuicompressor.jar' '--charset' 'UTF-8' '-o' '/tmp/assetic_yui_outputM12AO7' '--type' 'js' '/tmp/assetic_yui_input7T7Aau' Error Output: [ERROR] in /tmp/assetic_yui_input7T7Aau 38:19:invalid property id [ERROR] in /tmp/assetic_yui_input7T7Aau 38:20:syntax error [ERROR] in /tmp/assetic_yui_input7T7Aau 39:27:syntax error [ERROR] in /tmp/assetic_yui_input7T7Aau 40:26:missing ; before statement [ERROR] in /tmp/assetic_yui_input7T7Aau 41:29:missing ) in parenthetical [ERROR] in /tmp/assetic_yui_input7T7Aau 42:23:syntax error [ERROR] in /tmp/assetic_yui_input7T7Aau 43:30:syntax error [ERROR] in /tmp/assetic_yui_input7T7Aau

ninsuo commented 8 years ago

Thank you. It seems that delete is a reserved keyword and should be quoted.

ninsuo commented 8 years ago

Thanks for your report, this is now fixed. As there are BC breaks, I needed to upgrade the major version. Will update the documentation & demos tonight.