From: Joonghun Park Date: Wed, 21 Aug 2013 07:24:29 +0000 (+0900) Subject: [title] add space before ] in Z value X-Git-Tag: 2.2.1_release~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50e39abcf133ee4eaa5065b5bb866991181580b7;p=samples%2Fweb%2FDeviceMotionCapture.git [title] add space before ] in Z value [issue#] N_SE-49317 [problem] js file's text part hasn't corresponding space [solve] add space into the part Change-Id: I8e6011ce25343dcdbfc9fabd4fa3925618a5ff72 --- diff --git a/js/main.js b/js/main.js index c301630..6789568 100755 --- a/js/main.js +++ b/js/main.js @@ -61,12 +61,12 @@ function deviceMotionEvents() { firElem.innerHTML = 'acceleration value

' + '[ x value : '+ Math.round(e.acceleration.x) + " ]
" + '[ y value : '+ Math.round(e.acceleration.y) + " ]
" - + '[ z value : '+ Math.round(e.acceleration.z) + ']'; + + '[ z value : '+ Math.round(e.acceleration.z) + ' ]'; secElem.innerHTML = 'accelerationIncludingGravity value

' + '[ x value : ' + Math.round(e.accelerationIncludingGravity.x) + " ]
" + '[ y value : ' + Math.round(e.accelerationIncludingGravity.y) + " ]
" - + '[ z value : ' + Math.round(e.accelerationIncludingGravity.z) + ']'; + + '[ z value : ' + Math.round(e.accelerationIncludingGravity.z) + ' ]'; thirElem.innerHTML = 'rotationRate value

' + '[ alpha value : ' + Math.round(e.rotationRate.alpha) + " degree ]
"