mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-22 11:22:53 +08:00
Update breeze-tests.ts
Changed hasChanges event to hasChangesChanged as it was renamed in v1.1.0
This commit is contained in:
1 parent
86e4a94090
commit
b04dcfa3d8
1 file changed
+5
-5
@@ -279,10 +279,10 @@ function test_entityManager() {
|
||||
var entity = changeArgs.entity;
|
||||
});
|
||||
var em = new breeze.EntityManager({ serviceName: "api/NorthwindIBModel" });
|
||||
//em.hasChanges.subscribe(function (args) {
|
||||
// var hasChanges = args.hasChanges;
|
||||
// var entityManager = args.entityManager;
|
||||
//});
|
||||
em.hasChangesChanged.subscribe(function (args) {
|
||||
var hasChangesChanged = args.hasChanges;
|
||||
var entityManager = args.entityManager;
|
||||
});
|
||||
}
|
||||
|
||||
function test_entityQuery() {
|
||||
@@ -784,4 +784,4 @@ function test_demo() {
|
||||
.from("Employees");
|
||||
|
||||
manager.executeQuery(query).then(function (data) { });
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user