[Mobile[ Tests

Added jasmine test for

QUerySerivce and adjusted
the InfoGestureSpec to
account for use of
QueryService.
This commit is contained in:
Shivam Dave
2015-07-23 09:28:36 -07:00
parent 1f7ba70ad7
commit b3bc8b6876
5 changed files with 75 additions and 2 deletions

View File

@ -58,7 +58,7 @@ define(
// Returns the orientation of the device based on the
// device's window dimensions
function getOrientation(screenWidth, screenHeight) {
function getOrientation() {
if ($window.outerWidth > $window.outerHeight) {
return "landscape";
} else if ($window.outerWidth < $window.outerHeight) {