From fe5240732d0a80b8717be77b31d51dc3c4d737fd Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sun, 17 Jul 2011 01:05:43 -0700 Subject: feat(strict mode): adding strict mode flag to all js files the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done --- test/scenario/e2e/widgets-scenario.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/scenario/e2e/widgets-scenario.js') diff --git a/test/scenario/e2e/widgets-scenario.js b/test/scenario/e2e/widgets-scenario.js index e0a98224..ca0f8130 100644 --- a/test/scenario/e2e/widgets-scenario.js +++ b/test/scenario/e2e/widgets-scenario.js @@ -1,3 +1,5 @@ +'use strict'; + describe('widgets', function() { it('should verify that basic widgets work', function(){ browser().navigateTo('widgets.html'); -- cgit v1.2.3