From 8288f461ed1e49af5f2651770394d869c485f9a6 Mon Sep 17 00:00:00 2001 From: Chani Armitage Date: Mon, 9 Sep 2013 13:31:05 -0700 Subject: [PATCH] Expose ios memory buttons to js. Fixes #11 --- iOS/JSCalc/ViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iOS/JSCalc/ViewController.m b/iOS/JSCalc/ViewController.m index 3b98182..8c5e31d 100644 --- a/iOS/JSCalc/ViewController.m +++ b/iOS/JSCalc/ViewController.m @@ -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