Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisMoore committed Jun 1, 2011
1 parent cfc767c commit 7c7d370
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@
_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._

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

<p>
==================================== WARNING ====================================<br/>
Expand Down
9 changes: 0 additions & 9 deletions beta2/jquery.datalink2.js
Expand Up @@ -392,15 +392,6 @@ function addBinding( map, from, to, callback, links, addViewItems, viewItem ) {

// ============================
// Helpers
function getNestedItems( parentItems, basePath ) {
var items = {}, l=basePath.length;
for ( var path in parentItems ) {
if ( path.indexOf( basePath ) === 0 ) {
items[ path.slice( l )] = parentItems[ path ];
}
}
return items;
}

function setViewItems( root, object, map, callback, links ) {
// 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.
Expand Down

0 comments on commit 7c7d370

Please sign in to comment.