Skip to content

Commit 74ab910

Browse files
committed
Config object to JavaScript
1 parent 93803ce commit 74ab910

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PBWebController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ - (void)webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window
5858
{
5959
id script = [view windowScriptObject];
6060
[script setValue: self forKey:@"Controller"];
61+
[script setValue:[PBGitDefaults alloc] forKey:@"Config"];
6162
}
6263

6364
- (void) webView:(id) v didFinishLoadForFrame:(id) frame

0 commit comments

Comments
 (0)