diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index 9f880a537..01f8cd6ea 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -1997,7 +1997,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder"); frame.origin = [wind convertBaseToGlobal:frame.origin]; - // Here we restore the the previous scrolling posiition + // Here we restore the previous scrolling posiition [self _restorePreviousScrollingOrigin:previousScrollingOrigin]; return (CGRectGetMinX(frame) >= CGRectGetMinX(usableRect) && diff --git a/AppKit/CPViewController.j b/AppKit/CPViewController.j index 3def43e28..104313474 100644 --- a/AppKit/CPViewController.j +++ b/AppKit/CPViewController.j @@ -178,10 +178,10 @@ var CPViewControllerCachedCibs; } /*! - Loads asynchronously the cib and creates the view that the controller manages. + Asynchronously load the cib and create the view that the controller manages. - @param aHandler A function passing the loaded view as the first argument - and a network error or nil as the second argument: function(view, error). + @param aHandler a function which will be passed the loaded view as the first + argument and a network error or nil as the second argument: function(view, error). @note If the view has already been loaded, the completion handler is run immediatly and the process is synchronous.