mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
fix phonegap/phonegap-tests.ts
This commit is contained in:
1 parent
3ccce07fe3
commit
92e56a42fe
1 file changed
+2
-2
@@ -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