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

Commit

Permalink
Added $.unlink method. Fixed some bugs related to disposal, calling $…
Browse files Browse the repository at this point in the history
….link

more than once on same container, calling $.empty on container and then calling
$.unlink, etc.
Structural changes around inserting new views, for perf optimization reasons.
  • Loading branch information
BorisMoore committed May 20, 2012
1 parent 372b8a3 commit 30eab65
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 363 deletions.
2 changes: 1 addition & 1 deletion demos/jQueryConfDemosOct2011/11_editable-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h3>JsViews: Fully editable data: JsViews</h3>
select( $.view( "#movieList tr:last" ));
});

$( app ).bind( "propertyChange", function( event, args ) {
$( app ).on( "propertyChange", function( event, args ) {
if ( args.path === "selectedItem" ) {
var selectedView = args.value;
if ( selectedView ) {
Expand Down
2 changes: 1 addition & 1 deletion demos/step-by-step/04_editable-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h3>Fully editable data: Change events with integrated Data-Link and Templates</
select( $.view( "#movieList tr:last" ));
});

$( app ).bind( "propertyChange", function( event, args ) {
$( app ).on( "propertyChange", function( event, args ) {
if ( args.path === "selectedItem" ) {
var selectedView = args.value;
if ( selectedView ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h3>Server rendered content, activated in client. With client data 'delta'...</h
select( $.view( "#movieList tr:last" ));
});

$( app ).bind( "propertyChange", function( event, args ) {
$( app ).on( "propertyChange", function( event, args ) {
if ( args.path === "selectedItem" ) {
var selectedView = args.value;
if ( selectedView ) {
Expand Down
Loading

0 comments on commit 30eab65

Please sign in to comment.