dap commit: fixed up markup and linted js

changeset:   160:33dc7875ee36
user:        Marcos Caceres <w3c@marcosc.com>
date:        Mon Jul 16 12:43:26 2012 +0100
files:       light/tests/submissions/marcosc/DeviceLight_tests.js light/tests/submissions/marcosc/index.html
description:
fixed up markup and linted js


diff -r d17bab024374 -r 33dc7875ee36 light/tests/submissions/marcosc/DeviceLight_tests.js
--- a/light/tests/submissions/marcosc/DeviceLight_tests.js	Mon Jul 16 12:41:12 2012 +0100
+++ b/light/tests/submissions/marcosc/DeviceLight_tests.js	Mon Jul 16 12:43:26 2012 +0100
@@ -25,7 +25,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- **/ 
+ **/
 
  (function() {
   //inheritance tests
@@ -240,11 +240,10 @@
         return '123';
       }
     };
-    var event = new DeviceLightEvent('test',prop); 
+    var event = new DeviceLightEvent('test', prop);
     assert_equals(event.value, 123, 'converts to 123');
   }, 'value resolves 123');
 
-
   test(function() {
     var desc = 'Expected to find ondevicelight attribute on window object';
     assert_own_property(window, 'ondevicelight', desc);
diff -r d17bab024374 -r 33dc7875ee36 light/tests/submissions/marcosc/index.html
--- a/light/tests/submissions/marcosc/index.html	Mon Jul 16 12:41:12 2012 +0100
+++ b/light/tests/submissions/marcosc/index.html	Mon Jul 16 12:43:26 2012 +0100
@@ -1,7 +1,6 @@
 <!doctype html>
-<head>
-<title>Light Events Test Suite</title>
-<body> 
+<meta encoding=utf8>
+<title>Light Events Test Suite</title> 
 <h1>Test Suite for Light Events</h1>
 <div id="log"></div>
 <hr>

Received on Monday, 16 July 2012 11:56:59 UTC