From e32403a75f55564088c2a70663eed01f8affbbd7 Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Tue, 28 Jul 2015 10:56:29 -0700 Subject: [PATCH] [Mobile] Clean-Up Cleaned the unused code for the backArrow and long touch gestures. Commented out functions for later use Currently shows the back arrow, however, only will print to console on press. Edited tests where mobile checks were breaking and fixed. --- .../browse/res/templates/back-arrow.html | 1 + .../browse/res/templates/browse-object.html | 2 +- .../commonUI/browse/src/BrowseController.js | 23 ++------- .../browse/test/BrowseControllerSpec.js | 10 +++- platform/commonUI/general/bundle.json | 2 +- .../general/res/css/theme-espresso.css | 8 ++-- .../general/res/sass/mobile/_layout.scss | 1 + .../src/controllers/TreeNodeController.js | 2 +- .../general/src/services/UrlService.js | 35 ++++---------- .../controllers/TreeNodeControllerSpec.js | 4 +- .../inspect/src/gestures/InfoGesture.js | 47 +++++++++---------- 11 files changed, 57 insertions(+), 78 deletions(-) diff --git a/platform/commonUI/browse/res/templates/back-arrow.html b/platform/commonUI/browse/res/templates/back-arrow.html index 69b8320734..5e54b06185 100644 --- a/platform/commonUI/browse/res/templates/back-arrow.html +++ b/platform/commonUI/browse/res/templates/back-arrow.html @@ -20,6 +20,7 @@ at runtime from the About dialog for additional information. --> + < diff --git a/platform/commonUI/browse/res/templates/browse-object.html b/platform/commonUI/browse/res/templates/browse-object.html index 7a5bd09470..1f69f45b0a 100644 --- a/platform/commonUI/browse/res/templates/browse-object.html +++ b/platform/commonUI/browse/res/templates/browse-object.html @@ -25,7 +25,7 @@ - +