mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix phonegap/phonegap-tests.ts
This commit is contained in:
@@ -556,7 +556,7 @@ function test_globalization() {
|
||||
|
||||
function test_inAppBrowser() {
|
||||
var ref = window.open('http://apache.org', '_blank', 'location=yes');
|
||||
ref.addEventListener('loadstart', function () { alert(event.url); });
|
||||
ref.addEventListener('loadstart', function () { alert(event); });
|
||||
ref.removeEventListener('loadstart', null);
|
||||
ref.close();
|
||||
}
|
||||
@@ -716,4 +716,4 @@ function test_storage() {
|
||||
var value = window.localStorage.getItem("key");
|
||||
window.localStorage.removeItem("key");
|
||||
window.localStorage.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user