diff --git a/examples/example-0070-plugin-state.html b/examples/example-0070-plugin-state.html index b763c735..a4f79724 100644 --- a/examples/example-0070-plugin-state.html +++ b/examples/example-0070-plugin-state.html @@ -160,7 +160,7 @@

Options:

}); sortDataView(sortCols); }); - }); + })(); diff --git a/examples/example-row-detail-selection-and-move.html b/examples/example-row-detail-selection-and-move.html index d848f462..beea65f0 100644 --- a/examples/example-row-detail-selection-and-move.html +++ b/examples/example-row-detail-selection-and-move.html @@ -116,7 +116,6 @@

Selected Titles:

- @@ -224,11 +223,7 @@

Selected Titles:

document.addEventListener("DOMContentLoaded", function() { // prepare the data - for (var i = 0; i < 1000; i++) { data[i] = new DataItem(i); - } - dataView = new Slick.Data.DataView(); - // create the row detail plugin detailViewPlugin = new Slick.Plugins.RowDetailView({ cssClass: "detailView-toggle", @@ -377,7 +372,7 @@

Selected Titles:

dataView.onSelectedRowIdsChanged.subscribe(function (e, args) { console.log('onSelectedRowIdsChanged', args) }); - }); + })();