Code snippets fix

This commit is contained in:
vakrilov
2015-05-19 16:43:23 +03:00
parent ae2f4df2fb
commit 52f6dd00da
2 changed files with 14 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ try {
favourites = <Array<string>>JSON.parse(appSettings.getString(FAVOURITES, "[]"));
}
catch (error) {
console.log("Error while retrieveing favourites: " + error);
console.log("Error while retrieving favorites: " + error);
favourites = new Array<string>();
updateFavourites()
}

View File

@@ -30,7 +30,9 @@ export var test_getString = function (done: (err: Error, res?: string) => void)
// </hide>
}, function (e) {
//// Argument (e) is Error!
done(e)
// <hide>
done(e);
// </hide>
});
// ```
// </snippet>
@@ -75,7 +77,9 @@ export var test_getJSON = function (done) {
}, function (e) {
//// Argument (e) is Error!
//console.log(e);
// <hide>
done(e);
// </hide>
});
// ```
// </snippet>
@@ -120,7 +124,9 @@ export var test_getImage = function (done) {
// </hide>
}, function (e) {
//// Argument (e) is Error!
// <hide>
done(e);
// </hide>
});
// ```
// </snippet>
@@ -195,7 +201,9 @@ export var test_request_responseStatusCodeShouldBeDefined = function (done) {
// </hide>
}, function (e) {
//// Argument (e) is Error!
// <hide>
done(e);
// </hide>
});
// ```
// </snippet>
@@ -224,7 +232,9 @@ export var test_request_responseHeadersShouldBeDefined = function (done) {
// </hide>
}, function (e) {
//// Argument (e) is Error!
// <hide>
done(e);
// </hide>
});
// ```
// </snippet>
@@ -254,7 +264,9 @@ export var test_request_responseContentShouldBeDefined = function (done) {
// </hide>
}, function (e) {
//// Argument (e) is Error!
// <hide>
done(e);
// </hide>
});
// ```
// </snippet>