diff options
| author | Igor Minar | 2011-07-17 01:05:43 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-07-18 12:12:55 -0700 |
| commit | fe5240732d0a80b8717be77b31d51dc3c4d737fd (patch) | |
| tree | 10ae66804417087e53df8df657de5f00ff888293 /src/scenario/output | |
| parent | b98c23274b4dd51205d5020a254ac53966c9ae9a (diff) | |
| download | angular.js-fe5240732d0a80b8717be77b31d51dc3c4d737fd.tar.bz2 | |
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
Diffstat (limited to 'src/scenario/output')
| -rw-r--r-- | src/scenario/output/Html.js | 2 | ||||
| -rw-r--r-- | src/scenario/output/Json.js | 2 | ||||
| -rw-r--r-- | src/scenario/output/Object.js | 2 | ||||
| -rw-r--r-- | src/scenario/output/Xml.js | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/scenario/output/Html.js b/src/scenario/output/Html.js index c1b15239..2098f214 100644 --- a/src/scenario/output/Html.js +++ b/src/scenario/output/Html.js @@ -1,3 +1,5 @@ +'use strict'; + /** * User Interface for the Scenario Runner. * diff --git a/src/scenario/output/Json.js b/src/scenario/output/Json.js index 1e3bef6b..c024d923 100644 --- a/src/scenario/output/Json.js +++ b/src/scenario/output/Json.js @@ -1,3 +1,5 @@ +'use strict'; + /** * Generates JSON output into a context. */ diff --git a/src/scenario/output/Object.js b/src/scenario/output/Object.js index 1f29af9c..621b816f 100644 --- a/src/scenario/output/Object.js +++ b/src/scenario/output/Object.js @@ -1,3 +1,5 @@ +'use strict'; + /** * Creates a global value $result with the result of the runner. */ diff --git a/src/scenario/output/Xml.js b/src/scenario/output/Xml.js index 1a4c362c..9a2071b9 100644 --- a/src/scenario/output/Xml.js +++ b/src/scenario/output/Xml.js @@ -1,3 +1,5 @@ +'use strict'; + /** * Generates XML output into a context. */ |
