From 608cb86a4a35b084da3aee37e587640360907def Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Wed, 31 Aug 2011 18:51:15 +0100 Subject: [PATCH] Whitespace cleanup. --- Tests/Manual/PlatformWindows/AppController.j | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Tests/Manual/PlatformWindows/AppController.j b/Tests/Manual/PlatformWindows/AppController.j index f75dafbc2..9dd9883d4 100644 --- a/Tests/Manual/PlatformWindows/AppController.j +++ b/Tests/Manual/PlatformWindows/AppController.j @@ -30,8 +30,8 @@ { // This is called when the cib is done loading. // You can implement this method on any object instantiated from a Cib. - // It's a useful hook for setting up current UI values, and other things. - + // It's a useful hook for setting up current UI values, and other things. + // In this case, we want the window from Cib to become our full browser window //[theWindow setFullBridge:YES]; @@ -39,16 +39,16 @@ // [platformWindow orderFront:self];//console.log(CPStringFromRect([theWindow contentRectForFrameRect:[theWindow frame]])); [platformWindow setContentRect:[theWindow contentRectForFrameRect:[theWindow frame]]]; - + // [theWindow setTitle:@"My Custom Title"]; //[platformWindow orderFront:self]; - + // seriously, this test file is dirty :) var slider = [[theWindow contentView] subviews][0]; [slider setTarget:self]; [slider setAction:@selector(randomTitle:)]; [slider setContinuous:NO]; - + window.setTimeout(function(){ [theWindow orderOut:self]; [theWindow setPlatformWindow:platformWindow]; @@ -62,9 +62,9 @@ window.setTimeout(function(){ window.setTimeout(function(){ var view = [[CPView alloc] initWithFrame:CGRectMake(0.0, 0.0, 100.0, 100.0)]; [view setBackgroundColor:[CPColor redColor]]; - + [[theWindow contentView] addSubview:view];},1000); - + }, 1000); //window.setTimeout(function() { [platformWindow orderOut:self]; [platformWindow orderFront:self]; }, 2000);