Skip to content

Commit

Permalink
Expose ios memory buttons to js. Fixes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
chani3 committed Sep 9, 2013
1 parent b033121 commit 8288f46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iOS/JSCalc/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ -(void) setupContext {

self.context[@"display"] = self.display;
self.context[@"clearButton"] = self.clearButton;
self.context[@"memStoreButton"] = self.memStoreButton;
self.context[@"memRecallButton"] = self.memRecallButton;
}

- (void)didReceiveMemoryWarning
Expand Down

0 comments on commit 8288f46

Please sign in to comment.