From 511faabb9a024d6410730b11d85b75c0e00186ed Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Wed, 15 Jul 2015 17:12:51 +0300 Subject: [PATCH] snippets fixed --- apps/tests/ui/html-view/html-view-tests.ts | 3 +++ apps/tests/ui/web-view/web-view-tests.ts | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/tests/ui/html-view/html-view-tests.ts b/apps/tests/ui/html-view/html-view-tests.ts index 04c519ac0..a5a68f0e7 100644 --- a/apps/tests/ui/html-view/html-view-tests.ts +++ b/apps/tests/ui/html-view/html-view-tests.ts @@ -11,6 +11,7 @@ import htmlViewModule = require("ui/html-view"); // ``` // +// // ### Declaring a HtmlView. //```XML // @@ -45,6 +46,8 @@ export var testLoadHTMLString = function () { // ### Using HtmlView // ``` JavaScript htmlView.html = 'Test'; + // ``` + // helper.goBack(); diff --git a/apps/tests/ui/web-view/web-view-tests.ts b/apps/tests/ui/web-view/web-view-tests.ts index d0480a999..440ffd856 100644 --- a/apps/tests/ui/web-view/web-view-tests.ts +++ b/apps/tests/ui/web-view/web-view-tests.ts @@ -10,6 +10,7 @@ import webViewModule = require("ui/web-view"); // ``` // +// // ### Declaring a WebView. //```XML // @@ -60,9 +61,10 @@ export var testLoadExistingUrl = function () { else { message = "Error loading " + args.url + ": " + args.error; } - //console.log(message); }); webView.url = "http://nsbuild01.telerik.com/docs/"; + // ``` + // TKUnit.wait(4); @@ -117,9 +119,10 @@ export var testLoadLocalFile = function () { else { message = "Error loading " + args.url + ": " + args.error; } - //console.log(message); }); webView.src = "~/ui/web-view/test.html"; + // ``` + // TKUnit.wait(4); @@ -178,9 +181,10 @@ export var testLoadHTMLString = function () { else { message = "Error loading " + args.url + ": " + args.error; } - //console.log(message); }); webView.src = 'MyTitleTest'; + // ``` + // TKUnit.wait(4);