Commit 9a8c272d authored by Marc's avatar Marc

browser: update lib

d3js updated
jquery updated (use jquery 2)
jquery.form updated
jspdf updated
canvg removed (never used)
less.js removed (we don't compil css in the browser anymore)
parent 7b402958
......@@ -31,7 +31,7 @@
<!--[if gte IE 9]><!-->
<script type="text/javascript" src='js/lib/d3.v3.js'></script>
<!--<![endif]-->
<script type="text/javascript" src="js/lib/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/lib/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/lib/jquery.form.js"></script>
<script type="text/javascript" src='js/lib/StackBlur.js'></script>
<script type="text/javascript" src='js/lib/jspdf.js'></script>
......@@ -42,7 +42,6 @@
<script type="text/javascript" src='js/lib/underscore.js'></script>
<script type="text/javascript" src='js/lib/rgbcolor.js'></script>
<script type="text/javascript" src='js/lib/file.js'></script>
<script type="text/javascript" src="js/lib/less-1.5.0.min.js"></script>
<script type="text/javascript" src='js/lib/jquery.zclip.js'></script>
<script type="text/javascript" src='js/compare.js'></script>
......
This diff is collapsed.
This diff is collapsed.
......@@ -54,11 +54,6 @@ PDF
* @author Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* @link http://underscorejs.org
* @license MIT Licensed
canvg : conversion svg>canvas (peut etre utile pour export vers image)
* @author Gabe Lerner (gabelerner@gmail.com)
* @link http://code.google.com/p/canvg/
* @license MIT Licensed
rgbcolor : dépendance jspdf
* @author Stoyan Stefanov <sstoo@gmail.com>
......
This diff is collapsed.
This diff is collapsed.
/*!
* jQuery Form Plugin
* version: 3.50.0-2014.02.05
* version: 3.51.0-2014.06.20
* Requires jQuery v1.5 or later
* Copyright (c) 2013 M. Alsup
* Copyright (c) 2014 M. Alsup
* Examples and documentation at: http://malsup.com/jquery/form/
* Project repository: https://github.com/malsup/form
* Dual licensed under the MIT and GPL licenses.
......@@ -956,7 +956,7 @@ $.fn.formToArray = function(semantic, elements) {
// #386; account for inputs outside the form which use the 'form' attribute
if ( formId ) {
els2 = $(':input[form=' + formId + ']').get();
els2 = $(':input[form="' + formId + '"]').get(); // hat tip @thet
if ( els2.length ) {
els = (els || []).concat(els2);
}
......@@ -1188,13 +1188,13 @@ $.fn.clearFields = $.fn.clearInputs = function(includeHidden) {
else if (tag == 'select') {
this.selectedIndex = -1;
}
else if (t == "file") {
if (/MSIE/.test(navigator.userAgent)) {
$(this).replaceWith($(this).clone(true));
} else {
$(this).val('');
}
}
else if (t == "file") {
if (/MSIE/.test(navigator.userAgent)) {
$(this).replaceWith($(this).clone(true));
} else {
$(this).val('');
}
}
else if (includeHidden) {
// includeHidden can be the value true, or it can be a selector string
// indicating a special test; for example:
......@@ -1275,4 +1275,3 @@ function log() {
}
}));
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment