diff options
108 files changed, 216 insertions, 0 deletions
| diff --git a/src/Angular.js b/src/Angular.js index 295be998..7d31330e 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -1,3 +1,5 @@ +'use strict'; +  ////////////////////////////////////  if (typeof document.getAttribute == $undefined) diff --git a/src/AngularPublic.js b/src/AngularPublic.js index 37e0a082..ebd54621 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -1,3 +1,5 @@ +'use strict'; +  var browserSingleton;  /**   * @workInProgress diff --git a/src/Browser.js b/src/Browser.js index 61396bd1..3e120e5b 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -1,3 +1,5 @@ +'use strict'; +  //////////////////////////////  // Browser  ////////////////////////////// diff --git a/src/Compiler.js b/src/Compiler.js index 3036d5d6..b76eb3d6 100644 --- a/src/Compiler.js +++ b/src/Compiler.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Template provides directions an how to bind to a given element.   * It contains a list of init functions which need to be called to diff --git a/src/Injector.js b/src/Injector.js index 2b692aaf..d2bafcf5 100644 --- a/src/Injector.js +++ b/src/Injector.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @ngdoc function   * @name angular.injector diff --git a/src/JSON.js b/src/JSON.js index 942ce7c0..0a826e0e 100644 --- a/src/JSON.js +++ b/src/JSON.js @@ -1,3 +1,5 @@ +'use strict'; +  var array = [].constructor;  /** diff --git a/src/Resource.js b/src/Resource.js index d9121794..5462826d 100644 --- a/src/Resource.js +++ b/src/Resource.js @@ -1,3 +1,5 @@ +'use strict'; +  function Route(template, defaults) { diff --git a/src/Scope.js b/src/Scope.js index a63cb8f7..b530bbc5 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -1,3 +1,5 @@ +'use strict'; +  function getter(instance, path, unboundFn) {    if (!path) return instance;    var element = path.split('.'); diff --git a/src/angular-bootstrap.js b/src/angular-bootstrap.js index 78f1e3c1..0e98c298 100644 --- a/src/angular-bootstrap.js +++ b/src/angular-bootstrap.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * The MIT License   * diff --git a/src/angular-mocks.js b/src/angular-mocks.js index 2590c122..a4941288 100644 --- a/src/angular-mocks.js +++ b/src/angular-mocks.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * The MIT License   * diff --git a/src/apis.js b/src/apis.js index 4e2cca0b..3ccd95d7 100644 --- a/src/apis.js +++ b/src/apis.js @@ -1,3 +1,5 @@ +'use strict'; +  var angularGlobal = {    'typeOf':function(obj){      if (obj === null) return $null; diff --git a/src/directives.js b/src/directives.js index 2949269b..6fc19eaf 100644 --- a/src/directives.js +++ b/src/directives.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc overview diff --git a/src/filters.js b/src/filters.js index f2cff14d..1dd6322b 100644 --- a/src/filters.js +++ b/src/filters.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc overview diff --git a/src/formatters.js b/src/formatters.js index db7668b3..daa3bd29 100644 --- a/src/formatters.js +++ b/src/formatters.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc overview diff --git a/src/jqLite.js b/src/jqLite.js index 9fdb31dc..1e81a1f4 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -1,3 +1,5 @@ +'use strict'; +  //////////////////////////////////  //JQLite  ////////////////////////////////// diff --git a/src/jstd-scenario-adapter/Adapter.js b/src/jstd-scenario-adapter/Adapter.js index fd9674e1..9e9cc2ec 100644 --- a/src/jstd-scenario-adapter/Adapter.js +++ b/src/jstd-scenario-adapter/Adapter.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * JSTestDriver adapter for angular scenario tests   * diff --git a/src/markups.js b/src/markups.js index 329c8263..573ec706 100644 --- a/src/markups.js +++ b/src/markups.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc overview diff --git a/src/parser.js b/src/parser.js index 541addc4..73733d48 100644 --- a/src/parser.js +++ b/src/parser.js @@ -1,3 +1,5 @@ +'use strict'; +  var OPERATORS = {      'null':function(self){return null;},      'true':function(self){return true;}, diff --git a/src/sanitizer.js b/src/sanitizer.js index 2cf126dc..da629c7a 100644 --- a/src/sanitizer.js +++ b/src/sanitizer.js @@ -1,3 +1,5 @@ +'use strict'; +  /*   * HTML Parser By Misko Hevery (misko@hevery.com)   * based on:  HTML Parser By John Resig (ejohn.org) diff --git a/src/scenario/Application.js b/src/scenario/Application.js index 1c87c5a0..24f5a8c4 100644 --- a/src/scenario/Application.js +++ b/src/scenario/Application.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Represents the application currently being tested and abstracts usage   * of iframes or separate windows. diff --git a/src/scenario/Describe.js b/src/scenario/Describe.js index c6484f2f..45a5aa63 100644 --- a/src/scenario/Describe.js +++ b/src/scenario/Describe.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * The representation of define blocks. Don't used directly, instead use   * define() in your tests. diff --git a/src/scenario/Future.js b/src/scenario/Future.js index f545c721..598731fa 100644 --- a/src/scenario/Future.js +++ b/src/scenario/Future.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * A future action in a spec.   * diff --git a/src/scenario/ObjectModel.js b/src/scenario/ObjectModel.js index bff14461..76e0201a 100644 --- a/src/scenario/ObjectModel.js +++ b/src/scenario/ObjectModel.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Maintains an object tree from the runner events.   * diff --git a/src/scenario/Runner.js b/src/scenario/Runner.js index 51a81d6a..eb9d0320 100644 --- a/src/scenario/Runner.js +++ b/src/scenario/Runner.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Runner for scenarios   * diff --git a/src/scenario/Scenario.js b/src/scenario/Scenario.js index 6879d787..8f34e6c1 100644 --- a/src/scenario/Scenario.js +++ b/src/scenario/Scenario.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Setup file for the Scenario. diff --git a/src/scenario/SpecRunner.js b/src/scenario/SpecRunner.js index 868c692d..0d6274a4 100644 --- a/src/scenario/SpecRunner.js +++ b/src/scenario/SpecRunner.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * This class is the "this" of the it/beforeEach/afterEach method.   * Responsibilities: diff --git a/src/scenario/angular-bootstrap.js b/src/scenario/angular-bootstrap.js index 264ce718..1852e479 100644 --- a/src/scenario/angular-bootstrap.js +++ b/src/scenario/angular-bootstrap.js @@ -1,3 +1,5 @@ +'use strict'; +  (function(previousOnLoad){    var prefix = (function(){      var filename = /(.*\/)angular-bootstrap.js(#(.*))?/; diff --git a/src/scenario/dsl.js b/src/scenario/dsl.js index 60b05cd6..b4788ad9 100644 --- a/src/scenario/dsl.js +++ b/src/scenario/dsl.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Shared DSL statements that are useful to all scenarios.   */ diff --git a/src/scenario/matchers.js b/src/scenario/matchers.js index 8ef154e9..183dce46 100644 --- a/src/scenario/matchers.js +++ b/src/scenario/matchers.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Matchers for implementing specs. Follows the Jasmine spec conventions.   */ 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.   */ diff --git a/src/service/cookieStore.js b/src/service/cookieStore.js index 089e4578..facce284 100644 --- a/src/service/cookieStore.js +++ b/src/service/cookieStore.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/cookies.js b/src/service/cookies.js index 86e55fc1..d6be1364 100644 --- a/src/service/cookies.js +++ b/src/service/cookies.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/defer.js b/src/service/defer.js index 39023fba..551e8bc9 100644 --- a/src/service/defer.js +++ b/src/service/defer.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/document.js b/src/service/document.js index fe8670c6..37a5bba2 100644 --- a/src/service/document.js +++ b/src/service/document.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/exceptionHandler.js b/src/service/exceptionHandler.js index 798c9610..aa4eed47 100644 --- a/src/service/exceptionHandler.js +++ b/src/service/exceptionHandler.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/hover.js b/src/service/hover.js index fca18130..f8470370 100644 --- a/src/service/hover.js +++ b/src/service/hover.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/invalidWidgets.js b/src/service/invalidWidgets.js index 87c15f0d..b7ef0b53 100644 --- a/src/service/invalidWidgets.js +++ b/src/service/invalidWidgets.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/location.js b/src/service/location.js index f03dc009..1889266e 100644 --- a/src/service/location.js +++ b/src/service/location.js @@ -1,3 +1,5 @@ +'use strict'; +  var URL_MATCH = /^(file|ftp|http|https):\/\/(\w+:{0,1}\w*@)?([\w\.-]*)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/,      HASH_MATCH = /^([^\?]*)?(\?([^\?]*))?$/,      DEFAULT_PORTS = {'http': 80, 'https': 443, 'ftp':21}; diff --git a/src/service/log.js b/src/service/log.js index 54265096..b4d33bc9 100644 --- a/src/service/log.js +++ b/src/service/log.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/resource.js b/src/service/resource.js index 3cb7b6e8..31d7ceeb 100644 --- a/src/service/resource.js +++ b/src/service/resource.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/route.js b/src/service/route.js index b04c5ebb..9534968a 100644 --- a/src/service/route.js +++ b/src/service/route.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/updateView.js b/src/service/updateView.js index 2e93e91c..d504772c 100644 --- a/src/service/updateView.js +++ b/src/service/updateView.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/window.js b/src/service/window.js index 6c234e81..2f3f677a 100644 --- a/src/service/window.js +++ b/src/service/window.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/xhr.bulk.js b/src/service/xhr.bulk.js index c6cf608c..c0940d9d 100644 --- a/src/service/xhr.bulk.js +++ b/src/service/xhr.bulk.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/xhr.cache.js b/src/service/xhr.cache.js index c6066a5c..42b666e1 100644 --- a/src/service/xhr.cache.js +++ b/src/service/xhr.cache.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/xhr.error.js b/src/service/xhr.error.js index 7f8e4a19..5dd7983b 100644 --- a/src/service/xhr.error.js +++ b/src/service/xhr.error.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/service/xhr.js b/src/service/xhr.js index d26cda42..5fc5223e 100644 --- a/src/service/xhr.js +++ b/src/service/xhr.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc service diff --git a/src/validators.js b/src/validators.js index 4f5c48bd..9a2a02de 100644 --- a/src/validators.js +++ b/src/validators.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc overview diff --git a/src/widgets.js b/src/widgets.js index db39e783..f6de5f96 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * @workInProgress   * @ngdoc overview diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 983e5848..3389d9b1 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular', function(){    describe('case', function(){      it('should change case', function(){ diff --git a/test/ApiSpecs.js b/test/ApiSpecs.js index 1257ad4a..137d7afd 100644 --- a/test/ApiSpecs.js +++ b/test/ApiSpecs.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('api', function(){    describe('HashMap', function(){ diff --git a/test/BinderSpec.js b/test/BinderSpec.js index 85387d8f..241bb98d 100644 --- a/test/BinderSpec.js +++ b/test/BinderSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('Binder', function(){    beforeEach(function(){ diff --git a/test/BrowserSpecs.js b/test/BrowserSpecs.js index bf9cfd03..b4ad688b 100644 --- a/test/BrowserSpecs.js +++ b/test/BrowserSpecs.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('browser', function(){    var browser, fakeWindow, xhr, logs, scripts, removedScripts, setTimeoutQueue; diff --git a/test/CompilerSpec.js b/test/CompilerSpec.js index 95f0be4c..1bfc6173 100644 --- a/test/CompilerSpec.js +++ b/test/CompilerSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('compiler', function(){    var compiler, markup, attrMarkup, directives, widgets, compile, log, scope; diff --git a/test/FiltersSpec.js b/test/FiltersSpec.js index 0a6b9124..594428f6 100644 --- a/test/FiltersSpec.js +++ b/test/FiltersSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('filter', function() {    var filter = angular.filter; diff --git a/test/FormattersSpec.js b/test/FormattersSpec.js index 1e059e6a..8f438671 100644 --- a/test/FormattersSpec.js +++ b/test/FormattersSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("formatter", function(){    it('should noop', function(){      assertEquals("abc", angular.formatter.noop.format("abc")); diff --git a/test/InjectorSpec.js b/test/InjectorSpec.js index 4bdb1008..a8ac0eee 100644 --- a/test/InjectorSpec.js +++ b/test/InjectorSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('injector', function(){    var providers;    var cache; diff --git a/test/JsonSpec.js b/test/JsonSpec.js index 0dac0318..d9b245f9 100644 --- a/test/JsonSpec.js +++ b/test/JsonSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('json', function(){    it('should serialize primitives', function() {      expect(toJson(0/0)).toEqual('null'); diff --git a/test/ParserSpec.js b/test/ParserSpec.js index d2a1c5ba..71ac9813 100644 --- a/test/ParserSpec.js +++ b/test/ParserSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('parser', function() {    describe('lexer', function() {      it('should tokenize a string', function() { diff --git a/test/ResourceSpec.js b/test/ResourceSpec.js index 127af4ba..0b8d2187 100644 --- a/test/ResourceSpec.js +++ b/test/ResourceSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("resource", function() {    var xhr, resource, CreditCard, callback; diff --git a/test/ScenarioSpec.js b/test/ScenarioSpec.js index 14ab82ce..17a10ae9 100644 --- a/test/ScenarioSpec.js +++ b/test/ScenarioSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("ScenarioSpec: Compilation", function(){    var scope; diff --git a/test/ScopeSpec.js b/test/ScopeSpec.js index da9c517e..9cbd5f48 100644 --- a/test/ScopeSpec.js +++ b/test/ScopeSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('scope/model', function(){    var temp; diff --git a/test/ValidatorsSpec.js b/test/ValidatorsSpec.js index 4e4592bf..9f5b7b5a 100644 --- a/test/ValidatorsSpec.js +++ b/test/ValidatorsSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('ValidatorTest', function(){    it('ShouldHaveThisSet', function() { diff --git a/test/angular-mocksSpec.js b/test/angular-mocksSpec.js index c57b35e0..97949f63 100644 --- a/test/angular-mocksSpec.js +++ b/test/angular-mocksSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('mocks', function(){    describe('TzDate', function() { diff --git a/test/directivesSpec.js b/test/directivesSpec.js index a640fc50..39c52ac6 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("directive", function(){    var compile, model, element; diff --git a/test/jqLiteSpec.js b/test/jqLiteSpec.js index 38953394..11b9db93 100644 --- a/test/jqLiteSpec.js +++ b/test/jqLiteSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('jqLite', function(){    var scope, a, b, c; diff --git a/test/jquery_alias.js b/test/jquery_alias.js index 0d884a39..d9e1222b 100644 --- a/test/jquery_alias.js +++ b/test/jquery_alias.js @@ -1 +1,3 @@ +'use strict'; +  var _jQuery = jQuery; diff --git a/test/jquery_remove.js b/test/jquery_remove.js index 9e717240..0f2ce623 100644 --- a/test/jquery_remove.js +++ b/test/jquery_remove.js @@ -1 +1,3 @@ +'use strict'; +  var _jQuery = jQuery.noConflict(true); 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; diff --git a/test/markupSpec.js b/test/markupSpec.js index 0e5c8457..a457efae 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("markups", function(){    var compile, element, scope; diff --git a/test/mocks.js b/test/mocks.js index f55aa9e6..79a24bf1 100644 --- a/test/mocks.js +++ b/test/mocks.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Mock implementation of {@link angular.service.$log} that gathers all logged messages in arrays   * (one array per logging level). These arrays are exposed as `logs` property of each of the diff --git a/test/sanitizerSpec.js b/test/sanitizerSpec.js index b42a6237..f5ac69ff 100644 --- a/test/sanitizerSpec.js +++ b/test/sanitizerSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('HTML', function(){    function expectHTML(html) { diff --git a/test/scenario/ApplicationSpec.js b/test/scenario/ApplicationSpec.js index 8c31726f..8caf1651 100644 --- a/test/scenario/ApplicationSpec.js +++ b/test/scenario/ApplicationSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.Application', function() {    var $window;    var app, frames; diff --git a/test/scenario/DescribeSpec.js b/test/scenario/DescribeSpec.js index 0322b2d4..173b0807 100644 --- a/test/scenario/DescribeSpec.js +++ b/test/scenario/DescribeSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.Describe', function() {    var log;    var root; diff --git a/test/scenario/FutureSpec.js b/test/scenario/FutureSpec.js index 827c4b35..2a75f275 100644 --- a/test/scenario/FutureSpec.js +++ b/test/scenario/FutureSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.Future', function() {    var future; diff --git a/test/scenario/ObjectModelSpec.js b/test/scenario/ObjectModelSpec.js index cb84b33f..e0da628d 100644 --- a/test/scenario/ObjectModelSpec.js +++ b/test/scenario/ObjectModelSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.ObjectModel', function() {    var model;    var runner; diff --git a/test/scenario/RunnerSpec.js b/test/scenario/RunnerSpec.js index 5ebe5690..62d84fca 100644 --- a/test/scenario/RunnerSpec.js +++ b/test/scenario/RunnerSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Mock spec runner.   */ diff --git a/test/scenario/SpecRunnerSpec.js b/test/scenario/SpecRunnerSpec.js index 7947a3ca..0e1ffac1 100644 --- a/test/scenario/SpecRunnerSpec.js +++ b/test/scenario/SpecRunnerSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Mock Application   */ diff --git a/test/scenario/dslSpec.js b/test/scenario/dslSpec.js index 1d4ee360..a07d411e 100644 --- a/test/scenario/dslSpec.js +++ b/test/scenario/dslSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("angular.scenario.dsl", function() {    var $window, $root;    var application, eventLog; 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'); diff --git a/test/scenario/matchersSpec.js b/test/scenario/matchersSpec.js index 16ba1ce6..7ab41cf2 100644 --- a/test/scenario/matchersSpec.js +++ b/test/scenario/matchersSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.matchers', function () {    var matchers; diff --git a/test/scenario/mocks.js b/test/scenario/mocks.js index e023b6b0..5b7f7fcc 100644 --- a/test/scenario/mocks.js +++ b/test/scenario/mocks.js @@ -1,3 +1,5 @@ +'use strict'; +  angular.scenario.testing = angular.scenario.testing || {};  angular.scenario.testing.MockAngular = function() { diff --git a/test/scenario/output/HtmlSpec.js b/test/scenario/output/HtmlSpec.js index 1cfa268e..442e596d 100644 --- a/test/scenario/output/HtmlSpec.js +++ b/test/scenario/output/HtmlSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.output.html', function() {    var runner, model, spec, step, listeners, ui, context; diff --git a/test/scenario/output/jsonSpec.js b/test/scenario/output/jsonSpec.js index 2c56b297..06caf91c 100644 --- a/test/scenario/output/jsonSpec.js +++ b/test/scenario/output/jsonSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.output.json', function() {    var output, context;    var runner, model, $window; diff --git a/test/scenario/output/objectSpec.js b/test/scenario/output/objectSpec.js index 9fc2f7d4..d92c939d 100644 --- a/test/scenario/output/objectSpec.js +++ b/test/scenario/output/objectSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.output.object', function() {    var output;    var runner, model, $window; diff --git a/test/scenario/output/xmlSpec.js b/test/scenario/output/xmlSpec.js index a0e92639..94c3cb5a 100644 --- a/test/scenario/output/xmlSpec.js +++ b/test/scenario/output/xmlSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('angular.scenario.output.json', function() {    var output, context;    var runner, model, $window; diff --git a/test/service/cookieStoreSpec.js b/test/service/cookieStoreSpec.js index 0a493470..b37e9cb0 100644 --- a/test/service/cookieStoreSpec.js +++ b/test/service/cookieStoreSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$cookieStore', function() {    var scope, $browser, $cookieStore; diff --git a/test/service/cookiesSpec.js b/test/service/cookiesSpec.js index 11551393..3248fe23 100644 --- a/test/service/cookiesSpec.js +++ b/test/service/cookiesSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$cookies', function() {    var scope, $browser; diff --git a/test/service/deferSpec.js b/test/service/deferSpec.js index 21b8bf9c..7e59978c 100644 --- a/test/service/deferSpec.js +++ b/test/service/deferSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$defer', function() {    var scope, $browser, $defer, $exceptionHandler; diff --git a/test/service/documentSpec.js b/test/service/documentSpec.js index bd92023d..79c752e4 100644 --- a/test/service/documentSpec.js +++ b/test/service/documentSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$document', function() {    var scope; diff --git a/test/service/exceptionHandlerSpec.js b/test/service/exceptionHandlerSpec.js index 59349065..c6f13161 100644 --- a/test/service/exceptionHandlerSpec.js +++ b/test/service/exceptionHandlerSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$exceptionHandler', function() {    var scope; diff --git a/test/service/hoverSpec.js b/test/service/hoverSpec.js index 8b137891..429d26d2 100644 --- a/test/service/hoverSpec.js +++ b/test/service/hoverSpec.js @@ -1 +1,3 @@ +'use strict'; + diff --git a/test/service/invalidWidgetsSpec.js b/test/service/invalidWidgetsSpec.js index 6b965ef8..027d8d7c 100644 --- a/test/service/invalidWidgetsSpec.js +++ b/test/service/invalidWidgetsSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$invalidWidgets', function() {    var scope; diff --git a/test/service/locationSpec.js b/test/service/locationSpec.js index 050875b1..f5a8c6b2 100644 --- a/test/service/locationSpec.js +++ b/test/service/locationSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$location', function() {    var scope, $location, $browser; diff --git a/test/service/logSpec.js b/test/service/logSpec.js index 5d8fa0db..80d085b8 100644 --- a/test/service/logSpec.js +++ b/test/service/logSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$log', function() {    var scope; diff --git a/test/service/resourceSpec.js b/test/service/resourceSpec.js index 8b137891..429d26d2 100644 --- a/test/service/resourceSpec.js +++ b/test/service/resourceSpec.js @@ -1 +1,3 @@ +'use strict'; + diff --git a/test/service/routeSpec.js b/test/service/routeSpec.js index ccdf19ec..fc2c7f9d 100644 --- a/test/service/routeSpec.js +++ b/test/service/routeSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$route', function() {    var scope; diff --git a/test/service/updateViewSpec.js b/test/service/updateViewSpec.js index beca355e..97366973 100644 --- a/test/service/updateViewSpec.js +++ b/test/service/updateViewSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$updateView', function() {    var scope, browser, evalCount, $updateView; diff --git a/test/service/windowSpec.js b/test/service/windowSpec.js index e968f560..3ead3df3 100644 --- a/test/service/windowSpec.js +++ b/test/service/windowSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$window', function() {    var scope; diff --git a/test/service/xhr.bulkSpec.js b/test/service/xhr.bulkSpec.js index 2990e666..bc8d03f8 100644 --- a/test/service/xhr.bulkSpec.js +++ b/test/service/xhr.bulkSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$xhr.bulk', function() {    var scope, $browser, $browserXhr, $log, $xhrBulk, $xhrError, log; diff --git a/test/service/xhr.cacheSpec.js b/test/service/xhr.cacheSpec.js index 4d3e3e08..905a9dae 100644 --- a/test/service/xhr.cacheSpec.js +++ b/test/service/xhr.cacheSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$xhr.cache', function() {    var scope, $browser, $browserXhr, cache, log; diff --git a/test/service/xhr.errorSpec.js b/test/service/xhr.errorSpec.js index bd9f7a92..fdca93ec 100644 --- a/test/service/xhr.errorSpec.js +++ b/test/service/xhr.errorSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$xhr.error', function() {    var scope, $browser, $browserXhr, $xhr, $xhrError, log; diff --git a/test/service/xhrSpec.js b/test/service/xhrSpec.js index 1f31bb6f..ed7cfc93 100644 --- a/test/service/xhrSpec.js +++ b/test/service/xhrSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe('$xhr', function() {    var scope, $browser, $browserXhr, $log, $xhr, log; diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 375e01c7..bb553d68 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -1,3 +1,5 @@ +'use strict'; +  /**   * Here is the problem: http://bugs.jquery.com/ticket/7292   * basically jQuery treats change event on some browsers (IE) as a diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index 0d8f90eb..d9228f09 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -1,3 +1,5 @@ +'use strict'; +  describe("widget", function(){    var compile, element, scope; | 
