mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #3982 from cyounkins/master
Updating Titanium Definitions to 3.5.0
This commit is contained in:
@@ -26,7 +26,7 @@ function test_window() {
|
||||
}
|
||||
|
||||
function test_tableview() {
|
||||
var data = [];
|
||||
var data : Ti.UI.View[] = [];
|
||||
for (var i = 0; i < 10; i++) {
|
||||
var row = Ti.UI.createTableViewRow();
|
||||
var label = Ti.UI.createLabel({
|
||||
@@ -73,12 +73,12 @@ function test_network() {
|
||||
var url = "http://www.appcelerator.com";
|
||||
var client = Ti.Network.createHTTPClient({
|
||||
// function called when the response data is available
|
||||
onload : function(e) {
|
||||
onload : function(e: SuccessResponse) {
|
||||
alert(this.responseText);
|
||||
},
|
||||
// function called when an error occurs, including a timeout
|
||||
onerror : function(e) {
|
||||
alert(e.rror);
|
||||
onerror : function(e: FailureResponse) {
|
||||
alert(e.error);
|
||||
},
|
||||
timeout : 5000 // in milliseconds
|
||||
});
|
||||
|
||||
Vendored
+1745
-984
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user