Bower dependency / jQuery version
Bower dependency / jQuery version
rink_attendant_6
Posts: 16Questions: 4Answers: 1
I'm installing DataTables through Bower and noticed that a conflict has come up:
[quote]
Unable to find a suitable version for jquery, please choose one:
1) jquery#~1.8.0 which resolved to 1.8.3+1 and is required by DataTables#1.9.4
2) jquery#>= 1.9.0 which resolved to 2.1.0 and is required by bootstrap#3.1.1, bootstrap#3.1.1
3) jquery#2.1.0 which resolved to 2.1.0 and is required by Project1
4) jquery#>=1.7.1 which resolved to 2.1.0 and is required by bootstrap-datepicker#1.3.0
Prefix the choice with ! to persist it to bower.json
[?] Answer:
[/quote]
Is there a problem with using jQuery 2.1.x (or any version of jQuery beyond 1.8.x for that matter) with DataTables? It does say ~1.8.0 in the bower.json file in release branch but I've noticed that some other branches on the GitHub repo indicate >=1.7.0.
[quote]
Unable to find a suitable version for jquery, please choose one:
1) jquery#~1.8.0 which resolved to 1.8.3+1 and is required by DataTables#1.9.4
2) jquery#>= 1.9.0 which resolved to 2.1.0 and is required by bootstrap#3.1.1, bootstrap#3.1.1
3) jquery#2.1.0 which resolved to 2.1.0 and is required by Project1
4) jquery#>=1.7.1 which resolved to 2.1.0 and is required by bootstrap-datepicker#1.3.0
Prefix the choice with ! to persist it to bower.json
[?] Answer:
[/quote]
Is there a problem with using jQuery 2.1.x (or any version of jQuery beyond 1.8.x for that matter) with DataTables? It does say ~1.8.0 in the bower.json file in release branch but I've noticed that some other branches on the GitHub repo indicate >=1.7.0.
This discussion has been closed.
Replies
(*) Actually DataTables 1.9- is compatible with jQuery 1.3.2+, but I'd very much recommend using 1.7+ which is required by 1.10 and the current extensions.
Allan