1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00

Fix: Support escaping objects with more than one dot

This commit is contained in:
Allan Jardine 2014-05-15 15:49:07 +01:00
parent 391e39266f
commit d8860b215e
7 changed files with 18 additions and 18 deletions

View File

@ -1 +1 @@
f69ba81eb20a2002f3ad1e8979e1a973976a984f
ee523da36440cc52cd6cca98ea49eb859ad01526

View File

@ -8,7 +8,7 @@
<title>DataTables example - Scrolling and jQuery UI tabs</title>
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" type="text/css" href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css">
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -603,7 +603,7 @@ $(document).ready(function() {
<li><a href=
"//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css">//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css">//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css</a></li>
</ul>
</div>

View File

@ -8,7 +8,7 @@
<title>DataTables example - Scroll - vertical with jQuery UI ThemeRoller</title>
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" type="text/css" href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css">
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -571,7 +571,7 @@ $(document).ready(function() {
<li><a href=
"//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css">//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css">//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css</a></li>
</ul>
</div>

View File

@ -8,7 +8,7 @@
<title>DataTables example - Bootstrap</title>
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/bootstrap/3/dataTables.bootstrap.css">
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/bootstrap/3/dataTables.bootstrap.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src=
"//cdn.datatables.net/plug-ins/e9421181788/integration/bootstrap/3/dataTables.bootstrap.js"></script>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/bootstrap/3/dataTables.bootstrap.js"></script>
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="../resources/demo.js"></script>
<script type="text/javascript" language="javascript" class="init">
@ -553,7 +553,7 @@ $(document).ready(function() {
<li><a href="../../media/js/jquery.js">../../media/js/jquery.js</a></li>
<li><a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/bootstrap/3/dataTables.bootstrap.js">//cdn.datatables.net/plug-ins/e9421181788/integration/bootstrap/3/dataTables.bootstrap.js</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/bootstrap/3/dataTables.bootstrap.js">//cdn.datatables.net/plug-ins/28e7751dbec/integration/bootstrap/3/dataTables.bootstrap.js</a></li>
</ul>
</div>
@ -576,7 +576,7 @@ $(document).ready(function() {
<li><a href=
"//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/bootstrap/3/dataTables.bootstrap.css">//cdn.datatables.net/plug-ins/e9421181788/integration/bootstrap/3/dataTables.bootstrap.css</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/bootstrap/3/dataTables.bootstrap.css">//cdn.datatables.net/plug-ins/28e7751dbec/integration/bootstrap/3/dataTables.bootstrap.css</a></li>
</ul>
</div>

View File

@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href=
"//cdnjs.cloudflare.com/ajax/libs/foundation/4.3.1/css/foundation.min.css">
<link rel="stylesheet" type="text/css" href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/foundation/3/dataTables.foundation.css">
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/foundation/3/dataTables.foundation.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -18,7 +18,7 @@
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src=
"//cdn.datatables.net/plug-ins/e9421181788/integration/foundation/3/dataTables.foundation.js"></script>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/foundation/3/dataTables.foundation.js"></script>
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="../resources/demo.js"></script>
<script type="text/javascript" language="javascript" class="init">
@ -552,7 +552,7 @@ $(document).ready(function() {
<li><a href="../../media/js/jquery.js">../../media/js/jquery.js</a></li>
<li><a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/foundation/3/dataTables.foundation.js">//cdn.datatables.net/plug-ins/e9421181788/integration/foundation/3/dataTables.foundation.js</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/foundation/3/dataTables.foundation.js">//cdn.datatables.net/plug-ins/28e7751dbec/integration/foundation/3/dataTables.foundation.js</a></li>
</ul>
</div>
@ -575,7 +575,7 @@ $(document).ready(function() {
<li><a href=
"//cdnjs.cloudflare.com/ajax/libs/foundation/4.3.1/css/foundation.min.css">//cdnjs.cloudflare.com/ajax/libs/foundation/4.3.1/css/foundation.min.css</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/foundation/3/dataTables.foundation.css">//cdn.datatables.net/plug-ins/e9421181788/integration/foundation/3/dataTables.foundation.css</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/foundation/3/dataTables.foundation.css">//cdn.datatables.net/plug-ins/28e7751dbec/integration/foundation/3/dataTables.foundation.css</a></li>
</ul>
</div>

View File

@ -8,7 +8,7 @@
<title>DataTables example - jQuery UI ThemeRoller</title>
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" type="text/css" href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css">
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
@ -17,7 +17,7 @@
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.js"></script>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.js"></script>
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="../resources/demo.js"></script>
<script type="text/javascript" language="javascript" class="init">
@ -557,7 +557,7 @@ $(document).ready(function() {
<li><a href="../../media/js/jquery.js">../../media/js/jquery.js</a></li>
<li><a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.js">//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.js</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.js">//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.js</a></li>
</ul>
</div>
@ -580,7 +580,7 @@ $(document).ready(function() {
<li><a href=
"//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css</a></li>
<li><a href=
"//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css">//cdn.datatables.net/plug-ins/e9421181788/integration/jqueryui/dataTables.jqueryui.css</a></li>
"//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css">//cdn.datatables.net/plug-ins/28e7751dbec/integration/jqueryui/dataTables.jqueryui.css</a></li>
</ul>
</div>

View File

@ -1107,7 +1107,7 @@
function _fnSplitObjNotation( str )
{
return $.map( str.match(/(\\.|[^\.])+/g), function ( s ) {
return s.replace('\\.', '.');
return s.replace(/\\./g, '.');
} );
}