Skip to content

Commit 9d79791

Browse files
committed
removed holderjs from composer and added cdn #29
1 parent f4cb632 commit 9d79791

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Resources/views/Form/croppable_image_modal.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="{{ asset('bundles/comurimage/js/jquery.Jcrop.min.js') }}"></script>
1515
<script src="{{ asset('bundles/comurimage/js/jquery.color.js') }}"></script>
1616
{% if include_holder is not defined or include_holder %}
17-
<script src="{{ asset('bundles/comurimage/components/holder/holder.min.js') }}"></script>
17+
<script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.5.2/holder.min.js"></script>
1818
{% endif %}
1919
{% if include_bootstrap is not defined or include_bootstrap %}
2020
<script src="{{ asset('bundles/comurimage/js/bootstrap.min.js') }}"></script>

composer.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,10 @@
2525
"twig/twig": "~1.12",
2626
"twig/extensions": "~1.0",
2727
"friendsofsymfony/jsrouting-bundle": "@stable",
28-
"jms/translation-bundle": "@stable",
29-
"imsky/holder": "2.5.*"
28+
"jms/translation-bundle": "@stable"
3029
},
3130
"target-dir": "Comur/ImageBundle",
3231
"autoload": {
3332
"psr-0": { "Comur\\ImageBundle": "" }
34-
},
35-
"config": {
36-
"component-dir": "Resources/public/components"
3733
}
3834
}

0 commit comments

Comments
 (0)