Skip to content

Commit

Permalink
1.7.0 alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
sporritt committed Oct 28, 2014
1 parent b529b34 commit bc622a9
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/demo/sourcesAndTargets/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jsPlumb.ready(function() {

// and finally connect a couple of small windows, just so its obvious what's going on when this demo loads.
instance.connect({ source:"sourceWindow1", target:"targetWindow5" });
instance.connect({ source:"sourceWindow1", target:"targetWindow2" });
instance.connect({ source:"sourceWindow1", target:"targetWindow2" });
});

jsPlumb.fire("jsPlumbDemoLoaded", instance);
Expand Down
8 changes: 4 additions & 4 deletions dist/js/dom.jsPlumb-1.7.0-min.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion dist/js/dom.jsPlumb-1.7.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -5339,7 +5339,13 @@ if (typeof console != "undefined") {

// if unique endpoint and it's already been created, push it onto the endpoint we create. at the end
// of a successful connection we'll switch to that endpoint.
if (def.uniqueEndpoint && def.endpoint) ep.finalEndpoint = def.endpoint;
//if (def.uniqueEndpoint && def.endpoint) ep.finalEndpoint = def.endpoint;
if (def.uniqueEndpoint) {
if (!def.endpoint)
def.endpoint = ep;
else
ep.finalEndpoint = def.endpoint;
}

// TODO test options to makeSource to see if we should do this?
ep._doNotDeleteOnDetach = false; // reset.
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jquery.jsPlumb-1.7.0-min.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion dist/js/jquery.jsPlumb-1.7.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -4680,7 +4680,13 @@ if (typeof console != "undefined") {

// if unique endpoint and it's already been created, push it onto the endpoint we create. at the end
// of a successful connection we'll switch to that endpoint.
if (def.uniqueEndpoint && def.endpoint) ep.finalEndpoint = def.endpoint;
//if (def.uniqueEndpoint && def.endpoint) ep.finalEndpoint = def.endpoint;
if (def.uniqueEndpoint) {
if (!def.endpoint)
def.endpoint = ep;
else
ep.finalEndpoint = def.endpoint;
}

// TODO test options to makeSource to see if we should do this?
ep._doNotDeleteOnDetach = false; // reset.
Expand Down

0 comments on commit bc622a9

Please sign in to comment.