Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Commit 7c7d370

Browse files
committed
Cleanup
1 parent cfc767c commit 7c7d370

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
_Note: This plugin is currently in beta form and may change significantly before version 1.0 is released. See tagged versions for stable Beta releases. Requires jquery version 1.4.2._
44

55
Documentation for the _jQuery Data Link_ plugin can be found on the jQuery documentation site:
6-
<a href="http://api.jquery.com/category/plugins/data-link/">http://api.jquery.com/category/plugins/data-link</a>
6+
[http://api.jquery.com/category/plugins/data-link/] (http://api.jquery.com/category/plugins/data-link)
77

88
<p>
99
==================================== WARNING ====================================<br/>

beta2/jquery.datalink2.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -392,15 +392,6 @@ function addBinding( map, from, to, callback, links, addViewItems, viewItem ) {
392392

393393
// ============================
394394
// Helpers
395-
function getNestedItems( parentItems, basePath ) {
396-
var items = {}, l=basePath.length;
397-
for ( var path in parentItems ) {
398-
if ( path.indexOf( basePath ) === 0 ) {
399-
items[ path.slice( l )] = parentItems[ path ];
400-
}
401-
}
402-
return items;
403-
}
404395

405396
function setViewItems( root, object, map, callback, links ) {
406397
// If bound add to nodes. If new path create new item, if prev path add to prev item. (LATER WILL ADD TEXT SIBLINGS). If bound add to prev item bindings.

0 commit comments

Comments
 (0)