Revert commits to knockout made by EWOUT-QMINO\Ewout.

This commit is contained in:
Igor Oleinikov
2014-10-08 19:52:49 -07:00
parent 2147e98170
commit 64efb5abef
2 changed files with 19 additions and 53 deletions
-21
View File
@@ -108,27 +108,6 @@ function testGetter() {
function test_observableArrays() {
var myObservableArray = ko.observableArray<any>();
myObservableArray.subscribe(function(changes){
for(var i = 0; i < changes.length; i++){
console.log(changes[i].index);
console.log(changes[i].status);
console.log(changes[i].value);
}
}, null, "arrayChange");
myObservableArray.subscribe(function(newValue){
console.log(newValue);
}, null, "change");
myObservableArray.subscribe(function(oldValue){
console.log(oldValue);
}, null, "beforeChange");
myObservableArray.subscribe(function(newValue){
console.log(newValue);
});
myObservableArray.push('Some value');
var anotherObservableArray = ko.observableArray([
{ name: "Bungle", type: "Bear" },