aboutsummaryrefslogtreecommitdiffstats
path: root/test/jstd-scenario-adapter/AdapterSpecs.js
diff options
context:
space:
mode:
authorIgor Minar2011-07-17 01:05:43 -0700
committerIgor Minar2011-07-18 12:12:55 -0700
commitfe5240732d0a80b8717be77b31d51dc3c4d737fd (patch)
tree10ae66804417087e53df8df657de5f00ff888293 /test/jstd-scenario-adapter/AdapterSpecs.js
parentb98c23274b4dd51205d5020a254ac53966c9ae9a (diff)
downloadangular.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 'test/jstd-scenario-adapter/AdapterSpecs.js')
-rw-r--r--test/jstd-scenario-adapter/AdapterSpecs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/jstd-scenario-adapter/AdapterSpecs.js b/test/jstd-scenario-adapter/AdapterSpecs.js
index ccf08e3d..f0d54d3c 100644
--- a/test/jstd-scenario-adapter/AdapterSpecs.js
+++ b/test/jstd-scenario-adapter/AdapterSpecs.js
@@ -1,3 +1,5 @@
+'use strict';
+
describe('jstd-adapter', function() {
var fakeJSTD = { pluginRegistrar: { register: function() {} } },
originalNavigateTo = angular.scenario.Application.prototype.navigateTo;