mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
migrated to the latest version of jquery and jquery-ui
This commit is contained in:
parent
31b602287f
commit
c4b9b0b119
2 changed files with 11 additions and 6 deletions
4
pom.xml
4
pom.xml
|
@ -60,8 +60,8 @@
|
|||
|
||||
<!-- Web dependencies -->
|
||||
<webjars-bootstrap.version>2.3.0</webjars-bootstrap.version>
|
||||
<webjars-jquery-ui.version>1.9.2</webjars-jquery-ui.version>
|
||||
<webjars-jquery.version>1.9.0</webjars-jquery.version>
|
||||
<webjars-jquery-ui.version>1.10.3</webjars-jquery-ui.version>
|
||||
<webjars-jquery.version>2.0.3-1</webjars-jquery.version>
|
||||
<dandelion.datatables.version>0.9.2</dandelion.datatables.version>
|
||||
|
||||
<mysql.version>5.1.22</mysql.version>
|
||||
|
|
|
@ -15,13 +15,18 @@ PetClinic :: a Spring Framework demonstration
|
|||
<spring:url value="/resources/css/petclinic.css" var="petclinicCss"/>
|
||||
<link href="${petclinicCss}" rel="stylesheet"/>
|
||||
|
||||
<spring:url value="/webjars/jquery/1.9.0/jquery.js" var="jQuery"/>
|
||||
<spring:url value="/webjars/jquery/2.0.3/jquery.js" var="jQuery"/>
|
||||
<script src="${jQuery}"></script>
|
||||
|
||||
<spring:url value="/webjars/jquery-ui/1.9.2/js/jquery-ui-1.9.2.custom.js" var="jQueryUi"/>
|
||||
<script src="${jQueryUi}"></script>
|
||||
<!-- jquery-ui.js file is really big so we only load what we need instead of loading everything -->
|
||||
<spring:url value="/webjars/jquery-ui/1.10.3/ui/jquery.ui.core.js" var="jQueryUiCore"/>
|
||||
<script src="${jQueryUiCore}"></script>
|
||||
|
||||
<spring:url value="/webjars/jquery-ui/1.9.2/css/smoothness/jquery-ui-1.9.2.custom.css" var="jQueryUiCss"/>
|
||||
<spring:url value="/webjars/jquery-ui/1.10.3/ui/jquery.ui.datepicker.js" var="jQueryUiDatePicker"/>
|
||||
<script src="${jQueryUiDatePicker}"></script>
|
||||
|
||||
<!-- jquery-ui.css file is not that big so we can afford to load it -->
|
||||
<spring:url value="/webjars/jquery-ui/1.10.3/themes/base/jquery-ui.css" var="jQueryUiCss"/>
|
||||
<link href="${jQueryUiCss}" rel="stylesheet"></link>
|
||||
</head>
|
||||
|
||||
|
|
Loading…
Reference in a new issue