I am using the Charting Library and jQuery Editor for my project. I want to keep them up to date in minimal effort. I've put it in my and then using: < Pre> All the work required is OK Is this a good practice? Is there any defect in managing javascript libraries in this way? Yes, using a deputy to add a library is best practice. However, two things should be done: deps file:
[highcharts] git = https: //github.com/highslide-software/highcharts.com.git target = Import using highchich [markItUp] git = https: //github.com/markitup/1.x.git target = markItUp
{% javascripts filter = 'yui_js' output = 'js / app.js' '../app/Resources/public/js/jquery-*.js''//vendor/highcharts/js/ Highcharts Src.js' '../vendor/markItUp/markitup/js/jquery.markitup.src.js'%} & lt; Script src = "{{asset_url}}" & gt; & Lt; / Script & gt; {% Endjavacripts%}
Comments
Post a Comment