From f032389fcd07cb2841489397c00496df002a039c Mon Sep 17 00:00:00 2001 From: atanasovg Date: Wed, 2 Sep 2015 16:26:24 +0300 Subject: [PATCH] Clear erroneous comment. Improve inline comments. --- ui/border/border.ts | 2 +- ui/frame/frame.ios.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/border/border.ts b/ui/border/border.ts index 441e59a8c..6ef647bc8 100644 --- a/ui/border/border.ts +++ b/ui/border/border.ts @@ -3,7 +3,7 @@ import contentView = require("ui/content-view"); import viewModule = require("ui/core/view"); import utils = require("utils/utils"); -//@Deprecated +@Deprecated export class Border extends contentView.ContentView implements definition.Border { get cornerRadius(): number { return this.borderRadius; diff --git a/ui/frame/frame.ios.ts b/ui/frame/frame.ios.ts index bf2f1d899..00e7c5f2f 100644 --- a/ui/frame/frame.ios.ts +++ b/ui/frame/frame.ios.ts @@ -69,7 +69,7 @@ export class Frame extends frameCommon.Frame { var newController: UIViewController = backstackEntry.resolvedPage.ios; - // the code below fixes a phantom animation that appears in this case + // the code below fixes a phantom animation that appears on the Back button in this case // TODO: investigate why the animation happens at first place before working around it newController.navigationItem.hidesBackButton = this.backStack.length === 0; @@ -135,7 +135,7 @@ export class Frame extends frameCommon.Frame { break; } - return !!newValue; + return newValue; } public get ios(): definition.iOSFrame {