--- 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);
--- 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>