From c5cf9e58533589fffa6a47bb6c1b7fab8807ff95 Mon Sep 17 00:00:00 2001 From: Anton Shapka Date: Fri, 7 Jul 2017 17:04:39 +0300 Subject: [PATCH] Revert "Simplify load of JS files" This reverts commit 40bac020a800078527a0dafb983755b2ee23fc42. --- Resources/views/javascripts.html.twig | 35 +++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/Resources/views/javascripts.html.twig b/Resources/views/javascripts.html.twig index 5329803..765c74a 100644 --- a/Resources/views/javascripts.html.twig +++ b/Resources/views/javascripts.html.twig @@ -1,6 +1,37 @@ {% javascripts '@FpJsFormValidatorBundle/Resources/public/js/FpJsFormValidator.js' - '@FpJsFormValidatorBundle/Resources/public/js/constraints/*' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Blank.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Callback.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Choice.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Count.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Date.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/DateTime.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Email.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/EqualTo.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/GreaterThan.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/GreaterThanOrEqual.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/IdenticalTo.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Ip.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/IsFalse.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/False.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/IsNull.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/IsTrue.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Length.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/LessThan.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/LessThanOrEqual.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/NotBlank.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/NotEqualTo.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/NotIdenticalTo.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/NotNull.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Null.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Range.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Regex.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Time.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/True.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Type.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/UniqueEntity.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Url.js' + '@FpJsFormValidatorBundle/Resources/public/js/constraints/Valid.js' '@FpJsFormValidatorBundle/Resources/public/js/transformers/*' '@FpJsFormValidatorBundle/Resources/public/js/jquery.fpjsformvalidator.js' output="js/fp_js_formvalidator.js" combine=true %} @@ -9,4 +40,4 @@ {% endjavascripts %} {{ js_validator_config() }} -{{ init_js_validation() }} +{{ init_js_validation() }} \ No newline at end of file