From ae75e3640a2d9eb1e897a0771d92b976c5a42c75 Mon Sep 17 00:00:00 2001 From: ScottSWu Date: Thu, 23 Jun 2016 09:47:54 -0700 Subject: [PATCH] chore(lint): Added license headers to most TypeScript files Relates to #9380 --- modules/@angular/common/index.ts | 8 ++++++++ modules/@angular/common/src/common_directives.ts | 8 ++++++++ modules/@angular/common/src/directives.ts | 8 ++++++++ modules/@angular/common/src/directives/core_directives.ts | 8 ++++++++ modules/@angular/common/src/directives/ng_class.ts | 8 ++++++++ modules/@angular/common/src/directives/ng_for.ts | 8 ++++++++ modules/@angular/common/src/directives/ng_if.ts | 8 ++++++++ modules/@angular/common/src/directives/ng_plural.ts | 8 ++++++++ modules/@angular/common/src/directives/ng_style.ts | 8 ++++++++ modules/@angular/common/src/directives/ng_switch.ts | 8 ++++++++ .../@angular/common/src/directives/ng_template_outlet.ts | 8 ++++++++ modules/@angular/common/src/forms-deprecated.ts | 8 ++++++++ .../@angular/common/src/forms-deprecated/directives.ts | 8 ++++++++ .../directives/abstract_control_directive.ts | 8 ++++++++ .../directives/checkbox_value_accessor.ts | 8 ++++++++ .../src/forms-deprecated/directives/control_container.ts | 8 ++++++++ .../forms-deprecated/directives/control_value_accessor.ts | 8 ++++++++ .../forms-deprecated/directives/default_value_accessor.ts | 8 ++++++++ .../src/forms-deprecated/directives/form_interface.ts | 8 ++++++++ .../common/src/forms-deprecated/directives/ng_control.ts | 8 ++++++++ .../src/forms-deprecated/directives/ng_control_group.ts | 8 ++++++++ .../src/forms-deprecated/directives/ng_control_name.ts | 8 ++++++++ .../src/forms-deprecated/directives/ng_control_status.ts | 8 ++++++++ .../common/src/forms-deprecated/directives/ng_form.ts | 8 ++++++++ .../src/forms-deprecated/directives/ng_form_control.ts | 8 ++++++++ .../src/forms-deprecated/directives/ng_form_model.ts | 8 ++++++++ .../common/src/forms-deprecated/directives/ng_model.ts | 8 ++++++++ .../forms-deprecated/directives/normalize_validator.ts | 8 ++++++++ .../forms-deprecated/directives/number_value_accessor.ts | 8 ++++++++ .../directives/radio_control_value_accessor.ts | 8 ++++++++ .../directives/select_control_value_accessor.ts | 8 ++++++++ .../directives/select_multiple_control_value_accessor.ts | 8 ++++++++ .../common/src/forms-deprecated/directives/shared.ts | 8 ++++++++ .../common/src/forms-deprecated/directives/validators.ts | 8 ++++++++ .../@angular/common/src/forms-deprecated/form_builder.ts | 8 ++++++++ modules/@angular/common/src/forms-deprecated/model.ts | 8 ++++++++ .../@angular/common/src/forms-deprecated/validators.ts | 8 ++++++++ modules/@angular/common/src/location.ts | 8 ++++++++ .../common/src/location/hash_location_strategy.ts | 8 ++++++++ modules/@angular/common/src/location/location.ts | 8 ++++++++ modules/@angular/common/src/location/location_strategy.ts | 8 ++++++++ .../common/src/location/path_location_strategy.ts | 8 ++++++++ modules/@angular/common/src/location/platform_location.ts | 8 ++++++++ modules/@angular/common/src/pipes.ts | 8 ++++++++ modules/@angular/common/src/pipes/async_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/common_pipes.ts | 8 ++++++++ modules/@angular/common/src/pipes/date_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/i18n_plural_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/i18n_select_pipe.ts | 8 ++++++++ .../common/src/pipes/invalid_pipe_argument_exception.ts | 8 ++++++++ modules/@angular/common/src/pipes/json_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/lowercase_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/number_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/replace_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/slice_pipe.ts | 8 ++++++++ modules/@angular/common/src/pipes/uppercase_pipe.ts | 8 ++++++++ modules/@angular/common/test/directives/ng_class_spec.ts | 8 ++++++++ modules/@angular/common/test/directives/ng_for_spec.ts | 8 ++++++++ modules/@angular/common/test/directives/ng_if_spec.ts | 8 ++++++++ modules/@angular/common/test/directives/ng_plural_spec.ts | 8 ++++++++ modules/@angular/common/test/directives/ng_style_spec.ts | 8 ++++++++ modules/@angular/common/test/directives/ng_switch_spec.ts | 8 ++++++++ .../common/test/directives/ng_template_outlet_spec.ts | 8 ++++++++ .../@angular/common/test/directives/non_bindable_spec.ts | 8 ++++++++ .../common/test/forms-deprecated/directives_spec.ts | 8 ++++++++ .../common/test/forms-deprecated/form_builder_spec.ts | 8 ++++++++ .../common/test/forms-deprecated/integration_spec.ts | 8 ++++++++ .../@angular/common/test/forms-deprecated/model_spec.ts | 8 ++++++++ .../common/test/forms-deprecated/validators_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/async_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/date_pipe_spec.ts | 8 ++++++++ .../@angular/common/test/pipes/i18n_plural_pipe_spec.ts | 8 ++++++++ .../@angular/common/test/pipes/i18n_select_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/json_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/lowercase_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/number_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/replace_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/slice_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/pipes/uppercase_pipe_spec.ts | 8 ++++++++ modules/@angular/common/test/spies.ts | 8 ++++++++ modules/@angular/common/testing.ts | 8 ++++++++ modules/@angular/common/testing/location_mock.ts | 8 ++++++++ modules/@angular/common/testing/mock_location_strategy.ts | 8 ++++++++ modules/@angular/compiler-cli/index.ts | 8 ++++++++ .../integrationtest/src/a/multiple_components.ts | 8 ++++++++ .../@angular/compiler-cli/integrationtest/src/animate.ts | 8 ++++++++ .../@angular/compiler-cli/integrationtest/src/basic.ts | 8 ++++++++ .../compiler-cli/integrationtest/src/bootstrap.ts | 8 ++++++++ .../@angular/compiler-cli/integrationtest/src/dep.d.ts | 8 ++++++++ .../@angular/compiler-cli/integrationtest/src/features.ts | 8 ++++++++ .../@angular/compiler-cli/integrationtest/src/funcs.ts | 8 ++++++++ .../compiler-cli/integrationtest/src/projection.ts | 8 ++++++++ .../@angular/compiler-cli/integrationtest/src/queries.ts | 8 ++++++++ .../compiler-cli/integrationtest/test/animate_spec.ts | 8 ++++++++ .../compiler-cli/integrationtest/test/basic_spec.ts | 8 ++++++++ .../compiler-cli/integrationtest/test/i18n_spec.ts | 8 ++++++++ .../compiler-cli/integrationtest/test/projection_spec.ts | 8 ++++++++ .../compiler-cli/integrationtest/test/query_spec.ts | 8 ++++++++ modules/@angular/compiler-cli/src/codegen.ts | 8 ++++++++ modules/@angular/compiler-cli/src/compiler_private.ts | 8 ++++++++ modules/@angular/compiler-cli/src/core_private.ts | 8 ++++++++ modules/@angular/compiler-cli/src/extract_i18n.ts | 8 ++++++++ modules/@angular/compiler-cli/src/main.ts | 8 ++++++++ modules/@angular/compiler-cli/src/reflector_host.ts | 8 ++++++++ .../compiler-cli/src/static_reflection_capabilities.ts | 8 ++++++++ modules/@angular/compiler-cli/src/static_reflector.ts | 8 ++++++++ modules/@angular/compiler-cli/test/mocks.ts | 8 ++++++++ modules/@angular/compiler-cli/test/reflector_host_spec.ts | 8 ++++++++ .../@angular/compiler-cli/test/static_reflector_spec.ts | 8 ++++++++ modules/@angular/compiler/compiler.ts | 8 ++++++++ modules/@angular/compiler/core_private.ts | 8 ++++++++ modules/@angular/compiler/index.ts | 8 ++++++++ modules/@angular/compiler/private_export.ts | 8 ++++++++ modules/@angular/compiler/src/animation/animation_ast.ts | 8 ++++++++ .../@angular/compiler/src/animation/animation_compiler.ts | 8 ++++++++ .../@angular/compiler/src/animation/animation_parser.ts | 8 ++++++++ .../@angular/compiler/src/animation/styles_collection.ts | 8 ++++++++ modules/@angular/compiler/src/assertions.ts | 8 ++++++++ modules/@angular/compiler/src/chars.ts | 8 ++++++++ modules/@angular/compiler/src/compile_metadata.ts | 8 ++++++++ modules/@angular/compiler/src/compiler.ts | 8 ++++++++ modules/@angular/compiler/src/config.ts | 8 ++++++++ modules/@angular/compiler/src/css_lexer.ts | 8 ++++++++ modules/@angular/compiler/src/css_parser.ts | 8 ++++++++ .../compiler/src/directive_lifecycle_reflector.ts | 8 ++++++++ modules/@angular/compiler/src/directive_normalizer.ts | 8 ++++++++ modules/@angular/compiler/src/directive_resolver.ts | 8 ++++++++ modules/@angular/compiler/src/expression_parser/ast.ts | 8 ++++++++ modules/@angular/compiler/src/expression_parser/lexer.ts | 8 ++++++++ modules/@angular/compiler/src/expression_parser/parser.ts | 8 ++++++++ modules/@angular/compiler/src/html_ast.ts | 8 ++++++++ modules/@angular/compiler/src/html_lexer.ts | 8 ++++++++ modules/@angular/compiler/src/html_parser.ts | 8 ++++++++ modules/@angular/compiler/src/html_tags.ts | 8 ++++++++ modules/@angular/compiler/src/i18n/expander.ts | 8 ++++++++ modules/@angular/compiler/src/i18n/i18n_html_parser.ts | 8 ++++++++ modules/@angular/compiler/src/i18n/message.ts | 8 ++++++++ modules/@angular/compiler/src/i18n/message_extractor.ts | 8 ++++++++ modules/@angular/compiler/src/i18n/shared.ts | 8 ++++++++ modules/@angular/compiler/src/i18n/xmb_serializer.ts | 8 ++++++++ modules/@angular/compiler/src/identifiers.ts | 8 ++++++++ modules/@angular/compiler/src/interpolation_config.ts | 8 ++++++++ modules/@angular/compiler/src/metadata_resolver.ts | 8 ++++++++ modules/@angular/compiler/src/offline_compiler.ts | 8 ++++++++ modules/@angular/compiler/src/output/abstract_emitter.ts | 8 ++++++++ .../@angular/compiler/src/output/abstract_js_emitter.ts | 8 ++++++++ modules/@angular/compiler/src/output/dart_emitter.ts | 8 ++++++++ modules/@angular/compiler/src/output/dart_imports.ts | 8 ++++++++ modules/@angular/compiler/src/output/interpretive_view.ts | 8 ++++++++ modules/@angular/compiler/src/output/js_emitter.ts | 8 ++++++++ modules/@angular/compiler/src/output/output_ast.ts | 8 ++++++++ .../@angular/compiler/src/output/output_interpreter.ts | 8 ++++++++ modules/@angular/compiler/src/output/output_jit.ts | 8 ++++++++ modules/@angular/compiler/src/output/path_util.ts | 8 ++++++++ modules/@angular/compiler/src/output/ts_emitter.ts | 8 ++++++++ modules/@angular/compiler/src/parse_util.ts | 8 ++++++++ modules/@angular/compiler/src/pipe_resolver.ts | 8 ++++++++ modules/@angular/compiler/src/provider_parser.ts | 8 ++++++++ modules/@angular/compiler/src/runtime_compiler.ts | 8 ++++++++ .../compiler/src/schema/dom_element_schema_registry.ts | 8 ++++++++ .../@angular/compiler/src/schema/dom_security_schema.ts | 8 ++++++++ .../compiler/src/schema/element_schema_registry.ts | 8 ++++++++ modules/@angular/compiler/src/selector.ts | 8 ++++++++ modules/@angular/compiler/src/shadow_css.ts | 8 ++++++++ modules/@angular/compiler/src/style_compiler.ts | 8 ++++++++ modules/@angular/compiler/src/style_url_resolver.ts | 8 ++++++++ modules/@angular/compiler/src/template_ast.ts | 8 ++++++++ modules/@angular/compiler/src/template_parser.ts | 8 ++++++++ modules/@angular/compiler/src/template_preparser.ts | 8 ++++++++ modules/@angular/compiler/src/url_resolver.ts | 8 ++++++++ modules/@angular/compiler/src/util.ts | 8 ++++++++ .../compiler/src/view_compiler/compile_binding.ts | 8 ++++++++ .../compiler/src/view_compiler/compile_element.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/compile_method.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/compile_pipe.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/compile_query.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/compile_view.ts | 8 ++++++++ modules/@angular/compiler/src/view_compiler/constants.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/event_binder.ts | 8 ++++++++ .../compiler/src/view_compiler/expression_converter.ts | 8 ++++++++ .../compiler/src/view_compiler/lifecycle_binder.ts | 8 ++++++++ .../compiler/src/view_compiler/property_binder.ts | 8 ++++++++ modules/@angular/compiler/src/view_compiler/util.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/view_binder.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/view_builder.ts | 8 ++++++++ .../@angular/compiler/src/view_compiler/view_compiler.ts | 8 ++++++++ modules/@angular/compiler/src/view_resolver.ts | 8 ++++++++ modules/@angular/compiler/src/xhr.ts | 8 ++++++++ .../compiler/test/animation/animation_compiler_spec.ts | 8 ++++++++ .../compiler/test/animation/animation_parser_spec.ts | 8 ++++++++ modules/@angular/compiler/test/compile_metadata_spec.ts | 8 ++++++++ modules/@angular/compiler/test/css_lexer_spec.ts | 8 ++++++++ modules/@angular/compiler/test/css_parser_spec.ts | 8 ++++++++ modules/@angular/compiler/test/css_visitor_spec.ts | 8 ++++++++ .../@angular/compiler/test/directive_lifecycle_spec.ts | 8 ++++++++ .../@angular/compiler/test/directive_normalizer_spec.ts | 8 ++++++++ modules/@angular/compiler/test/directive_resolver_spec.ts | 8 ++++++++ .../compiler/test/expression_parser/lexer_spec.ts | 8 ++++++++ .../compiler/test/expression_parser/parser_spec.ts | 8 ++++++++ .../@angular/compiler/test/expression_parser/unparser.ts | 8 ++++++++ modules/@angular/compiler/test/html_ast_spec_utils.ts | 8 ++++++++ modules/@angular/compiler/test/html_lexer_spec.ts | 8 ++++++++ modules/@angular/compiler/test/html_parser_spec.ts | 8 ++++++++ modules/@angular/compiler/test/i18n/expander_spec.ts | 8 ++++++++ .../@angular/compiler/test/i18n/i18n_html_parser_spec.ts | 8 ++++++++ .../@angular/compiler/test/i18n/message_extractor_spec.ts | 8 ++++++++ modules/@angular/compiler/test/i18n/message_spec.ts | 8 ++++++++ .../@angular/compiler/test/i18n/xmb_serializer_spec.ts | 8 ++++++++ .../@angular/compiler/test/metadata_resolver_fixture.ts | 8 ++++++++ modules/@angular/compiler/test/metadata_resolver_spec.ts | 8 ++++++++ .../compiler/test/offline_compiler_codegen_typed.ts | 8 ++++++++ .../compiler/test/offline_compiler_codegen_untyped.ts | 8 ++++++++ .../compiler/test/offline_compiler_compa.css.shim.ts | 8 ++++++++ modules/@angular/compiler/test/offline_compiler_spec.ts | 8 ++++++++ modules/@angular/compiler/test/offline_compiler_util.ts | 8 ++++++++ .../compiler/test/output/abstract_emitter_spec.ts | 8 ++++++++ .../@angular/compiler/test/output/dart_emitter_spec.ts | 8 ++++++++ .../@angular/compiler/test/output/dart_imports_spec.ts | 8 ++++++++ modules/@angular/compiler/test/output/js_emitter_spec.ts | 8 ++++++++ .../compiler/test/output/output_emitter_codegen_typed.ts | 8 ++++++++ .../test/output/output_emitter_codegen_untyped.ts | 8 ++++++++ .../@angular/compiler/test/output/output_emitter_spec.ts | 8 ++++++++ .../@angular/compiler/test/output/output_emitter_util.ts | 8 ++++++++ modules/@angular/compiler/test/output/ts_emitter_spec.ts | 8 ++++++++ .../test/schema/dom_element_schema_registry_spec.ts | 8 ++++++++ modules/@angular/compiler/test/schema/schema_extractor.ts | 8 ++++++++ modules/@angular/compiler/test/selector_spec.ts | 8 ++++++++ modules/@angular/compiler/test/shadow_css_spec.ts | 8 ++++++++ modules/@angular/compiler/test/spies.ts | 8 ++++++++ modules/@angular/compiler/test/style_url_resolver_spec.ts | 8 ++++++++ modules/@angular/compiler/test/template_parser_spec.ts | 8 ++++++++ modules/@angular/compiler/test/template_preparser_spec.ts | 8 ++++++++ modules/@angular/compiler/test/test_bindings.ts | 8 ++++++++ .../@angular/compiler/test/test_component_builder_spec.ts | 8 ++++++++ modules/@angular/compiler/test/url_resolver_spec.ts | 8 ++++++++ modules/@angular/compiler/test/view_resolver_mock_spec.ts | 8 ++++++++ modules/@angular/compiler/test/view_resolver_spec.ts | 8 ++++++++ modules/@angular/compiler/test/xhr_mock_spec.ts | 8 ++++++++ modules/@angular/compiler/testing.ts | 8 ++++++++ .../@angular/compiler/testing/directive_resolver_mock.ts | 8 ++++++++ modules/@angular/compiler/testing/schema_registry_mock.ts | 8 ++++++++ .../@angular/compiler/testing/test_component_builder.ts | 8 ++++++++ modules/@angular/compiler/testing/view_resolver_mock.ts | 8 ++++++++ modules/@angular/compiler/testing/xhr_mock.ts | 8 ++++++++ modules/@angular/core/index.ts | 8 ++++++++ modules/@angular/core/private_export.ts | 8 ++++++++ .../core/src/animation/active_animation_players_map.ts | 8 ++++++++ .../@angular/core/src/animation/animation_constants.ts | 8 ++++++++ modules/@angular/core/src/animation/animation_driver.ts | 8 ++++++++ .../@angular/core/src/animation/animation_group_player.ts | 8 ++++++++ modules/@angular/core/src/animation/animation_keyframe.ts | 8 ++++++++ modules/@angular/core/src/animation/animation_player.ts | 8 ++++++++ .../core/src/animation/animation_sequence_player.ts | 8 ++++++++ .../@angular/core/src/animation/animation_style_util.ts | 8 ++++++++ modules/@angular/core/src/animation/animation_styles.ts | 8 ++++++++ modules/@angular/core/src/animation/metadata.ts | 8 ++++++++ modules/@angular/core/src/application_common_providers.ts | 8 ++++++++ modules/@angular/core/src/application_ref.ts | 8 ++++++++ modules/@angular/core/src/application_tokens.ts | 8 ++++++++ modules/@angular/core/src/change_detection.ts | 8 ++++++++ .../core/src/change_detection/change_detection.ts | 8 ++++++++ .../core/src/change_detection/change_detection_util.ts | 8 ++++++++ .../core/src/change_detection/change_detector_ref.ts | 8 ++++++++ modules/@angular/core/src/change_detection/constants.ts | 8 ++++++++ .../change_detection/differs/default_iterable_differ.ts | 8 ++++++++ .../change_detection/differs/default_keyvalue_differ.ts | 8 ++++++++ .../core/src/change_detection/differs/iterable_differs.ts | 8 ++++++++ .../core/src/change_detection/differs/keyvalue_differs.ts | 8 ++++++++ .../@angular/core/src/change_detection/pipe_transform.ts | 8 ++++++++ modules/@angular/core/src/console.ts | 8 ++++++++ modules/@angular/core/src/debug/debug_node.ts | 8 ++++++++ modules/@angular/core/src/debug/debug_renderer.ts | 8 ++++++++ modules/@angular/core/src/di.ts | 8 ++++++++ modules/@angular/core/src/di/decorators.ts | 8 ++++++++ modules/@angular/core/src/di/forward_ref.ts | 8 ++++++++ modules/@angular/core/src/di/injector.ts | 8 ++++++++ modules/@angular/core/src/di/metadata.ts | 8 ++++++++ modules/@angular/core/src/di/opaque_token.ts | 8 ++++++++ modules/@angular/core/src/di/provider.ts | 8 ++++++++ modules/@angular/core/src/di/provider_util.ts | 8 ++++++++ modules/@angular/core/src/di/reflective_exceptions.ts | 8 ++++++++ modules/@angular/core/src/di/reflective_injector.ts | 8 ++++++++ modules/@angular/core/src/di/reflective_key.ts | 8 ++++++++ modules/@angular/core/src/di/reflective_provider.ts | 8 ++++++++ modules/@angular/core/src/linker.ts | 8 ++++++++ modules/@angular/core/src/linker/component_factory.ts | 8 ++++++++ modules/@angular/core/src/linker/component_resolver.ts | 8 ++++++++ modules/@angular/core/src/linker/debug_context.ts | 8 ++++++++ .../@angular/core/src/linker/dynamic_component_loader.ts | 8 ++++++++ modules/@angular/core/src/linker/element.ts | 8 ++++++++ modules/@angular/core/src/linker/element_injector.ts | 8 ++++++++ modules/@angular/core/src/linker/element_ref.ts | 8 ++++++++ modules/@angular/core/src/linker/exceptions.ts | 8 ++++++++ modules/@angular/core/src/linker/query_list.ts | 8 ++++++++ .../core/src/linker/systemjs_component_resolver.ts | 8 ++++++++ modules/@angular/core/src/linker/template_ref.ts | 8 ++++++++ modules/@angular/core/src/linker/view.ts | 8 ++++++++ modules/@angular/core/src/linker/view_container_ref.ts | 8 ++++++++ modules/@angular/core/src/linker/view_ref.ts | 8 ++++++++ modules/@angular/core/src/linker/view_type.ts | 8 ++++++++ modules/@angular/core/src/linker/view_utils.ts | 8 ++++++++ modules/@angular/core/src/metadata.ts | 8 ++++++++ modules/@angular/core/src/metadata/di.ts | 8 ++++++++ modules/@angular/core/src/metadata/directives.ts | 8 ++++++++ modules/@angular/core/src/metadata/lifecycle_hooks.ts | 8 ++++++++ modules/@angular/core/src/metadata/view.ts | 8 ++++++++ modules/@angular/core/src/platform_common_providers.ts | 8 ++++++++ .../@angular/core/src/platform_directives_and_pipes.ts | 8 ++++++++ modules/@angular/core/src/profile/profile.ts | 8 ++++++++ modules/@angular/core/src/profile/wtf_impl.ts | 8 ++++++++ modules/@angular/core/src/profile/wtf_init.ts | 8 ++++++++ .../src/reflection/platform_reflection_capabilities.ts | 8 ++++++++ modules/@angular/core/src/reflection/reflection.ts | 8 ++++++++ .../core/src/reflection/reflection_capabilities.ts | 8 ++++++++ modules/@angular/core/src/reflection/reflector.ts | 8 ++++++++ modules/@angular/core/src/reflection/reflector_reader.ts | 8 ++++++++ modules/@angular/core/src/reflection/types.ts | 8 ++++++++ modules/@angular/core/src/render.ts | 8 ++++++++ modules/@angular/core/src/render/api.ts | 8 ++++++++ modules/@angular/core/src/security.ts | 8 ++++++++ modules/@angular/core/src/testability/testability.ts | 8 ++++++++ modules/@angular/core/src/util.ts | 8 ++++++++ modules/@angular/core/src/util/decorators.ts | 8 ++++++++ modules/@angular/core/src/zone.ts | 8 ++++++++ modules/@angular/core/src/zone/ng_zone.ts | 8 ++++++++ modules/@angular/core/src/zone/ng_zone_impl.ts | 8 ++++++++ .../test/animation/active_animations_players_map_spec.ts | 8 ++++++++ .../core/test/animation/animation_group_player_spec.ts | 8 ++++++++ .../core/test/animation/animation_integration_spec.ts | 8 ++++++++ .../@angular/core/test/animation/animation_player_spec.ts | 8 ++++++++ .../core/test/animation/animation_sequence_player_spec.ts | 8 ++++++++ .../core/test/animation/animation_style_util_spec.ts | 8 ++++++++ modules/@angular/core/test/application_ref_spec.ts | 8 ++++++++ .../test/change_detection/change_detector_util_spec.ts | 8 ++++++++ .../differs/default_iterable_differ_spec.ts | 8 ++++++++ .../differs/default_keyvalue_differ_spec.ts | 8 ++++++++ .../change_detection/differs/iterable_differs_spec.ts | 8 ++++++++ modules/@angular/core/test/change_detection/iterable.ts | 8 ++++++++ modules/@angular/core/test/change_detection/util.ts | 8 ++++++++ modules/@angular/core/test/debug/debug_node_spec.ts | 8 ++++++++ modules/@angular/core/test/dev_mode_spec.ts | 8 ++++++++ modules/@angular/core/test/di/binding_spec.ts | 8 ++++++++ modules/@angular/core/test/di/forward_ref_spec.ts | 8 ++++++++ modules/@angular/core/test/di/reflective_injector_spec.ts | 8 ++++++++ modules/@angular/core/test/di/reflective_key_spec.ts | 8 ++++++++ .../core/test/directive_lifecycle_integration_spec.ts | 8 ++++++++ modules/@angular/core/test/dom/dom_adapter_spec.ts | 8 ++++++++ modules/@angular/core/test/dom/shim_spec.ts | 8 ++++++++ modules/@angular/core/test/facade/observable_spec.ts | 8 ++++++++ modules/@angular/core/test/fake_async_spec.ts | 8 ++++++++ .../@angular/core/test/forward_ref_integration_spec.ts | 8 ++++++++ .../core/test/linker/change_detection_integration_spec.ts | 8 ++++++++ .../core/test/linker/dynamic_component_loader_spec.ts | 8 ++++++++ modules/@angular/core/test/linker/integration_spec.ts | 8 ++++++++ .../core/test/linker/ng_container_integration_spec.ts | 8 ++++++++ .../core/test/linker/projection_integration_spec.ts | 8 ++++++++ .../@angular/core/test/linker/query_integration_spec.ts | 8 ++++++++ modules/@angular/core/test/linker/query_list_spec.ts | 8 ++++++++ .../core/test/linker/reflector_component_resolver_spec.ts | 8 ++++++++ .../core/test/linker/regression_integration_spec.ts | 8 ++++++++ .../core/test/linker/security_integration_spec.ts | 8 ++++++++ .../core/test/linker/view_injector_integration_spec.ts | 8 ++++++++ modules/@angular/core/test/matchers_spec.ts | 8 ++++++++ modules/@angular/core/test/metadata/decorators_spec.ts | 8 ++++++++ modules/@angular/core/test/metadata/di_spec.ts | 8 ++++++++ modules/@angular/core/test/reflection/reflector_common.ts | 8 ++++++++ modules/@angular/core/test/reflection/reflector_spec.ts | 8 ++++++++ modules/@angular/core/test/spies.ts | 8 ++++++++ .../@angular/core/test/testability/testability_spec.ts | 8 ++++++++ modules/@angular/core/test/testing_internal_spec.ts | 8 ++++++++ modules/@angular/core/test/util/decorators_spec.ts | 8 ++++++++ modules/@angular/core/test/zone/ng_zone_spec.ts | 8 ++++++++ modules/@angular/core/testing.ts | 8 ++++++++ .../core/testing/animation/mock_animation_driver.ts | 8 ++++++++ .../core/testing/animation/mock_animation_player.ts | 8 ++++++++ modules/@angular/core/testing/async.ts | 8 ++++++++ modules/@angular/core/testing/async_test_completer.ts | 8 ++++++++ modules/@angular/core/testing/fake_async.ts | 8 ++++++++ modules/@angular/core/testing/lang_utils.ts | 8 ++++++++ modules/@angular/core/testing/logger.ts | 8 ++++++++ modules/@angular/core/testing/mock_application_ref.ts | 8 ++++++++ modules/@angular/core/testing/ng_zone_mock.ts | 8 ++++++++ modules/@angular/core/testing/test_injector.ts | 8 ++++++++ modules/@angular/core/testing/testing.ts | 8 ++++++++ modules/@angular/core/testing/testing_internal.ts | 8 ++++++++ .../examples/common/forms/ts/validators/validators.ts | 8 ++++++++ .../examples/compiler/ts/url_resolver/url_resolver.ts | 8 ++++++++ .../examples/core/animation/ts/dsl/animation_example.ts | 8 ++++++++ .../examples/core/debug/ts/debug_element/debug_element.ts | 8 ++++++++ .../examples/core/di/ts/forward_ref/forward_ref.ts | 8 ++++++++ .../examples/core/forms/ts/ng_validators/ng_validators.ts | 8 ++++++++ .../core/pipes/ts/async_pipe/async_pipe_example.ts | 8 ++++++++ .../examples/core/pipes/ts/date_pipe/date_pipe_example.ts | 8 ++++++++ .../examples/core/pipes/ts/json_pipe/json_pipe_example.ts | 8 ++++++++ .../pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts | 8 ++++++++ .../core/pipes/ts/number_pipe/number_pipe_example.ts | 8 ++++++++ .../core/pipes/ts/slice_pipe/slice_pipe_example.ts | 8 ++++++++ modules/@angular/examples/core/ts/bootstrap/bootstrap.ts | 8 ++++++++ modules/@angular/examples/core/ts/metadata/metadata.ts | 8 ++++++++ modules/@angular/examples/core/ts/platform/platform.ts | 8 ++++++++ .../@angular/examples/core/ts/prod_mode/my_component.ts | 8 ++++++++ .../examples/core/ts/prod_mode/prod_mode_example.ts | 8 ++++++++ modules/@angular/examples/facade/ts/async/observable.ts | 8 ++++++++ .../@angular/examples/facade/ts/async/observable_all.ts | 8 ++++++++ .../examples/facade/ts/async/observable_patched.ts | 8 ++++++++ .../@angular/examples/facade/ts/async/observable_pure.ts | 8 ++++++++ .../examples/platform-browser/dom/debug/ts/by/by.ts | 8 ++++++++ .../dom/debug/ts/debug_element_view_listener/providers.ts | 8 ++++++++ .../ts/can_activate/can_activate_example.ts | 8 ++++++++ .../ts/can_activate/can_activate_spec.ts | 8 ++++++++ .../ts/can_deactivate/can_deactivate_example.ts | 8 ++++++++ .../ts/can_deactivate/can_deactivate_spec.ts | 8 ++++++++ .../ts/on_activate/on_activate_example.ts | 8 ++++++++ .../ts/on_deactivate/on_deactivate_example.ts | 8 ++++++++ .../ts/on_deactivate/on_deactivate_spec.ts | 8 ++++++++ .../examples/router_deprecated/ts/reuse/reuse_example.ts | 8 ++++++++ .../examples/router_deprecated/ts/reuse/reuse_spec.ts | 8 ++++++++ modules/@angular/examples/testing/ts/fake_async.ts | 8 ++++++++ modules/@angular/examples/testing/ts/matchers.ts | 8 ++++++++ modules/@angular/examples/testing/ts/testing.ts | 8 ++++++++ modules/@angular/facade/src/async.ts | 8 ++++++++ modules/@angular/facade/src/base_wrapped_exception.ts | 8 ++++++++ modules/@angular/facade/src/browser.ts | 8 ++++++++ modules/@angular/facade/src/collection.ts | 8 ++++++++ modules/@angular/facade/src/exception_handler.ts | 8 ++++++++ modules/@angular/facade/src/exceptions.ts | 8 ++++++++ modules/@angular/facade/src/intl.ts | 8 ++++++++ modules/@angular/facade/src/lang.ts | 8 ++++++++ modules/@angular/facade/src/math.ts | 8 ++++++++ modules/@angular/facade/src/promise.ts | 8 ++++++++ modules/@angular/facade/test/async_spec.ts | 8 ++++++++ modules/@angular/facade/test/collection_spec.ts | 8 ++++++++ modules/@angular/facade/test/exception_handler_spec.ts | 8 ++++++++ modules/@angular/facade/test/lang_spec.ts | 8 ++++++++ modules/@angular/forms/index.ts | 8 ++++++++ modules/@angular/forms/src/directives.ts | 8 ++++++++ .../forms/src/directives/abstract_control_directive.ts | 8 ++++++++ .../forms/src/directives/abstract_form_group_directive.ts | 8 ++++++++ .../forms/src/directives/checkbox_value_accessor.ts | 8 ++++++++ .../@angular/forms/src/directives/control_container.ts | 8 ++++++++ .../forms/src/directives/control_value_accessor.ts | 8 ++++++++ .../forms/src/directives/default_value_accessor.ts | 8 ++++++++ modules/@angular/forms/src/directives/form_interface.ts | 8 ++++++++ modules/@angular/forms/src/directives/ng_control.ts | 8 ++++++++ .../@angular/forms/src/directives/ng_control_status.ts | 8 ++++++++ modules/@angular/forms/src/directives/ng_form.ts | 8 ++++++++ modules/@angular/forms/src/directives/ng_model.ts | 8 ++++++++ modules/@angular/forms/src/directives/ng_model_group.ts | 8 ++++++++ .../@angular/forms/src/directives/normalize_validator.ts | 8 ++++++++ .../forms/src/directives/number_value_accessor.ts | 8 ++++++++ .../forms/src/directives/radio_control_value_accessor.ts | 8 ++++++++ .../reactive_directives/form_control_directive.ts | 8 ++++++++ .../directives/reactive_directives/form_control_name.ts | 8 ++++++++ .../reactive_directives/form_group_directive.ts | 8 ++++++++ .../src/directives/reactive_directives/form_group_name.ts | 8 ++++++++ .../forms/src/directives/select_control_value_accessor.ts | 8 ++++++++ .../directives/select_multiple_control_value_accessor.ts | 8 ++++++++ modules/@angular/forms/src/directives/shared.ts | 8 ++++++++ modules/@angular/forms/src/directives/validators.ts | 8 ++++++++ modules/@angular/forms/src/form_builder.ts | 8 ++++++++ modules/@angular/forms/src/form_providers.ts | 8 ++++++++ modules/@angular/forms/src/forms.ts | 8 ++++++++ modules/@angular/forms/src/model.ts | 8 ++++++++ modules/@angular/forms/src/validators.ts | 8 ++++++++ modules/@angular/forms/test/directives_spec.ts | 8 ++++++++ modules/@angular/forms/test/form_builder_spec.ts | 8 ++++++++ modules/@angular/forms/test/integration_spec.ts | 8 ++++++++ modules/@angular/forms/test/model_spec.ts | 8 ++++++++ modules/@angular/forms/test/spies.ts | 8 ++++++++ modules/@angular/forms/test/validators_spec.ts | 8 ++++++++ modules/@angular/http/http.ts | 8 ++++++++ modules/@angular/http/index.ts | 8 ++++++++ modules/@angular/http/src/backends/browser_jsonp.ts | 8 ++++++++ modules/@angular/http/src/backends/browser_xhr.ts | 8 ++++++++ modules/@angular/http/src/backends/jsonp_backend.ts | 8 ++++++++ modules/@angular/http/src/backends/xhr_backend.ts | 8 ++++++++ modules/@angular/http/src/base_request_options.ts | 8 ++++++++ modules/@angular/http/src/base_response_options.ts | 8 ++++++++ modules/@angular/http/src/enums.ts | 8 ++++++++ modules/@angular/http/src/headers.ts | 8 ++++++++ modules/@angular/http/src/http.ts | 8 ++++++++ modules/@angular/http/src/http_utils.ts | 8 ++++++++ modules/@angular/http/src/index.ts | 8 ++++++++ modules/@angular/http/src/interfaces.ts | 8 ++++++++ modules/@angular/http/src/static_request.ts | 8 ++++++++ modules/@angular/http/src/static_response.ts | 8 ++++++++ modules/@angular/http/src/url_search_params.ts | 8 ++++++++ modules/@angular/http/test/backends/jsonp_backend_spec.ts | 8 ++++++++ modules/@angular/http/test/backends/mock_backend_spec.ts | 8 ++++++++ modules/@angular/http/test/backends/xhr_backend_spec.ts | 8 ++++++++ modules/@angular/http/test/base_request_options_spec.ts | 8 ++++++++ modules/@angular/http/test/headers_spec.ts | 8 ++++++++ modules/@angular/http/test/http_spec.ts | 8 ++++++++ modules/@angular/http/test/static_response_spec.ts | 8 ++++++++ modules/@angular/http/test/url_search_params_spec.ts | 8 ++++++++ modules/@angular/http/testing.ts | 8 ++++++++ modules/@angular/http/testing/mock_backend.ts | 8 ++++++++ modules/@angular/platform-browser-dynamic/core_private.ts | 8 ++++++++ modules/@angular/platform-browser-dynamic/index.ts | 8 ++++++++ .../platform-browser-dynamic/platform_browser_private.ts | 8 ++++++++ .../platform-browser-dynamic/private_export_testing.ts | 8 ++++++++ .../platform-browser-dynamic/src/xhr/xhr_cache.ts | 8 ++++++++ .../@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts | 8 ++++++++ .../test/testing_public_browser_spec.ts | 8 ++++++++ .../platform-browser-dynamic/test/xhr/xhr_cache_setter.ts | 8 ++++++++ .../platform-browser-dynamic/test/xhr/xhr_cache_spec.ts | 8 ++++++++ .../platform-browser-dynamic/test/xhr/xhr_impl_spec.ts | 8 ++++++++ modules/@angular/platform-browser-dynamic/testing.ts | 8 ++++++++ .../testing/dom_test_component_renderer.ts | 8 ++++++++ modules/@angular/platform-browser/core_private.ts | 8 ++++++++ modules/@angular/platform-browser/dynamic.ts | 7 +++++++ modules/@angular/platform-browser/index.ts | 8 ++++++++ modules/@angular/platform-browser/private_export.ts | 8 ++++++++ modules/@angular/platform-browser/src/browser.ts | 8 ++++++++ .../platform-browser/src/browser/browser_adapter.ts | 8 ++++++++ .../src/browser/generic_browser_adapter.ts | 8 ++++++++ .../src/browser/location/browser_platform_location.ts | 8 ++++++++ .../platform-browser/src/browser/location/history.ts | 8 ++++++++ .../@angular/platform-browser/src/browser/testability.ts | 8 ++++++++ modules/@angular/platform-browser/src/browser/title.ts | 8 ++++++++ .../platform-browser/src/browser/tools/common_tools.ts | 8 ++++++++ .../@angular/platform-browser/src/browser/tools/tools.ts | 8 ++++++++ modules/@angular/platform-browser/src/dom/debug/by.ts | 8 ++++++++ .../@angular/platform-browser/src/dom/debug/ng_probe.ts | 8 ++++++++ modules/@angular/platform-browser/src/dom/dom_adapter.ts | 8 ++++++++ .../platform-browser/src/dom/dom_animate_player.ts | 8 ++++++++ modules/@angular/platform-browser/src/dom/dom_renderer.ts | 8 ++++++++ modules/@angular/platform-browser/src/dom/dom_tokens.ts | 8 ++++++++ .../platform-browser/src/dom/events/dom_events.ts | 8 ++++++++ .../platform-browser/src/dom/events/event_manager.ts | 8 ++++++++ .../platform-browser/src/dom/events/hammer_common.ts | 8 ++++++++ .../platform-browser/src/dom/events/hammer_gestures.ts | 8 ++++++++ .../platform-browser/src/dom/events/key_events.ts | 8 ++++++++ .../platform-browser/src/dom/shared_styles_host.ts | 8 ++++++++ modules/@angular/platform-browser/src/dom/util.ts | 8 ++++++++ .../platform-browser/src/dom/web_animations_driver.ts | 8 ++++++++ .../platform-browser/src/dom/web_animations_player.ts | 8 ++++++++ .../src/security/dom_sanitization_service.ts | 8 ++++++++ .../platform-browser/src/security/html_sanitizer.ts | 8 ++++++++ .../platform-browser/src/security/style_sanitizer.ts | 8 ++++++++ .../platform-browser/src/security/url_sanitizer.ts | 8 ++++++++ .../platform-browser/src/web_workers/shared/api.ts | 8 ++++++++ .../src/web_workers/shared/client_message_broker.ts | 8 ++++++++ .../src/web_workers/shared/message_bus.ts | 8 ++++++++ .../src/web_workers/shared/messaging_api.ts | 8 ++++++++ .../src/web_workers/shared/post_message_bus.ts | 8 ++++++++ .../src/web_workers/shared/render_store.ts | 8 ++++++++ .../src/web_workers/shared/serialized_types.ts | 8 ++++++++ .../platform-browser/src/web_workers/shared/serializer.ts | 8 ++++++++ .../src/web_workers/shared/service_message_broker.ts | 8 ++++++++ .../src/web_workers/ui/event_dispatcher.ts | 8 ++++++++ .../src/web_workers/ui/event_serializer.ts | 8 ++++++++ .../src/web_workers/ui/location_providers.ts | 8 ++++++++ .../src/web_workers/ui/platform_location.ts | 8 ++++++++ .../platform-browser/src/web_workers/ui/renderer.ts | 8 ++++++++ .../src/web_workers/worker/event_deserializer.ts | 8 ++++++++ .../src/web_workers/worker/location_providers.ts | 8 ++++++++ .../src/web_workers/worker/platform_location.ts | 8 ++++++++ .../platform-browser/src/web_workers/worker/renderer.ts | 8 ++++++++ .../src/web_workers/worker/worker_adapter.ts | 8 ++++++++ modules/@angular/platform-browser/src/worker_app.ts | 8 ++++++++ modules/@angular/platform-browser/src/worker_render.ts | 8 ++++++++ .../platform-browser/test/browser/bootstrap_spec.ts | 8 ++++++++ .../platform-browser/test/browser/browser_adapter_spec.ts | 8 ++++++++ .../platform-browser/test/browser/rectangle_mock.ts | 8 ++++++++ .../@angular/platform-browser/test/browser/title_spec.ts | 8 ++++++++ .../@angular/platform-browser/test/browser/tools/spies.ts | 8 ++++++++ .../platform-browser/test/browser/tools/tools_spec.ts | 8 ++++++++ .../@angular/platform-browser/test/browser_util_spec.ts | 8 ++++++++ .../test/dom/dom_renderer_integration_spec.ts | 8 ++++++++ .../test/dom/events/event_manager_spec.ts | 8 ++++++++ .../platform-browser/test/dom/events/key_events_spec.ts | 8 ++++++++ .../platform-browser/test/dom/shared_styles_host_spec.ts | 8 ++++++++ .../test/dom/web_animations_driver_spec.ts | 8 ++++++++ .../test/dom/web_animations_player_spec.ts | 8 ++++++++ .../platform-browser/test/security/html_sanitizer_spec.ts | 8 ++++++++ .../test/security/style_sanitizer_spec.ts | 8 ++++++++ .../platform-browser/test/security/url_sanitizer_spec.ts | 8 ++++++++ .../@angular/platform-browser/test/testing_public_spec.ts | 8 ++++++++ .../test/web_workers/shared/message_bus_spec.ts | 8 ++++++++ .../test/web_workers/shared/message_bus_util.ts | 8 ++++++++ .../test/web_workers/shared/mock_event_emitter.ts | 8 ++++++++ .../test/web_workers/shared/render_store_spec.ts | 8 ++++++++ .../web_workers/shared/service_message_broker_spec.ts | 8 ++++++++ .../test/web_workers/shared/web_worker_test_util.ts | 8 ++++++++ .../test/web_workers/worker/platform_location_spec.ts | 8 ++++++++ .../test/web_workers/worker/renderer_integration_spec.ts | 8 ++++++++ .../platform-browser/test/web_workers/worker/spies.ts | 8 ++++++++ modules/@angular/platform-browser/testing.ts | 8 ++++++++ .../@angular/platform-browser/testing/benchmark_util.ts | 8 ++++++++ modules/@angular/platform-browser/testing/browser.ts | 8 ++++++++ modules/@angular/platform-browser/testing/browser_util.ts | 8 ++++++++ modules/@angular/platform-browser/testing/e2e_util.ts | 8 ++++++++ modules/@angular/platform-browser/testing/matchers.ts | 8 ++++++++ .../platform-browser/testing/mock_dom_animate_player.ts | 8 ++++++++ modules/@angular/platform-browser/testing/perf_util.ts | 8 ++++++++ modules/@angular/platform-browser/testing_e2e.ts | 8 ++++++++ modules/@angular/platform-server/compiler_private.ts | 8 ++++++++ modules/@angular/platform-server/core_private.ts | 8 ++++++++ modules/@angular/platform-server/index.ts | 8 ++++++++ .../platform_browser_dynamic_testing_private.ts | 8 ++++++++ .../@angular/platform-server/platform_browser_private.ts | 8 ++++++++ modules/@angular/platform-server/src/parse5_adapter.ts | 8 ++++++++ modules/@angular/platform-server/src/server.ts | 8 ++++++++ modules/@angular/platform-server/test/integration_spec.ts | 8 ++++++++ modules/@angular/platform-server/testing.ts | 8 ++++++++ modules/@angular/platform-server/testing/server.ts | 8 ++++++++ modules/@angular/router-deprecated/core_private.ts | 8 ++++++++ modules/@angular/router-deprecated/index.ts | 8 ++++++++ modules/@angular/router-deprecated/router.ts | 8 ++++++++ .../router-deprecated/src/directives/router_link.ts | 8 ++++++++ .../router-deprecated/src/directives/router_outlet.ts | 8 ++++++++ modules/@angular/router-deprecated/src/instruction.ts | 8 ++++++++ modules/@angular/router-deprecated/src/interfaces.ts | 8 ++++++++ .../src/lifecycle/lifecycle_annotations.ts | 8 ++++++++ .../src/lifecycle/lifecycle_annotations_impl.ts | 8 ++++++++ .../src/lifecycle/route_lifecycle_reflector.ts | 8 ++++++++ .../src/route_config/route_config_decorator.ts | 8 ++++++++ .../src/route_config/route_config_impl.ts | 8 ++++++++ .../src/route_config/route_config_normalizer.ts | 8 ++++++++ .../@angular/router-deprecated/src/route_definition.ts | 8 ++++++++ modules/@angular/router-deprecated/src/route_registry.ts | 8 ++++++++ modules/@angular/router-deprecated/src/router.ts | 8 ++++++++ .../@angular/router-deprecated/src/router_providers.ts | 8 ++++++++ .../router-deprecated/src/router_providers_common.ts | 8 ++++++++ .../src/rules/route_handlers/async_route_handler.ts | 8 ++++++++ .../src/rules/route_handlers/route_handler.ts | 8 ++++++++ .../src/rules/route_handlers/sync_route_handler.ts | 8 ++++++++ .../src/rules/route_paths/param_route_path.ts | 8 ++++++++ .../src/rules/route_paths/regex_route_path.ts | 8 ++++++++ .../router-deprecated/src/rules/route_paths/route_path.ts | 8 ++++++++ modules/@angular/router-deprecated/src/rules/rule_set.ts | 8 ++++++++ modules/@angular/router-deprecated/src/rules/rules.ts | 8 ++++++++ modules/@angular/router-deprecated/src/url_parser.ts | 8 ++++++++ modules/@angular/router-deprecated/src/utils.ts | 8 ++++++++ .../router-deprecated/test/directives/router_link_spec.ts | 8 ++++++++ .../test/integration/async_route_spec.ts | 8 ++++++++ .../test/integration/auxiliary_route_spec.ts | 8 ++++++++ .../router-deprecated/test/integration/bootstrap_spec.ts | 8 ++++++++ .../test/integration/impl/async_route_spec_impl.ts | 8 ++++++++ .../test/integration/impl/aux_route_spec_impl.ts | 8 ++++++++ .../test/integration/impl/fixture_components.ts | 8 ++++++++ .../test/integration/impl/sync_route_spec_impl.ts | 8 ++++++++ .../test/integration/lifecycle_hook_spec.ts | 8 ++++++++ .../router-deprecated/test/integration/navigation_spec.ts | 8 ++++++++ .../test/integration/redirect_route_spec.ts | 8 ++++++++ .../test/integration/router_link_spec.ts | 8 ++++++++ .../router-deprecated/test/integration/sync_route_spec.ts | 8 ++++++++ .../@angular/router-deprecated/test/integration/util.ts | 8 ++++++++ .../test/location/hash_location_strategy_spec.ts | 8 ++++++++ .../router-deprecated/test/location/location_spec.ts | 8 ++++++++ .../test/location/path_location_strategy_spec.ts | 8 ++++++++ .../test/route_config/route_config_spec.ts | 8 ++++++++ .../router-deprecated/test/route_registry_spec.ts | 8 ++++++++ modules/@angular/router-deprecated/test/router_spec.ts | 8 ++++++++ .../test/rules/route_paths/param_route_path_spec.ts | 8 ++++++++ .../test/rules/route_paths/regex_route_param_spec.ts | 8 ++++++++ .../router-deprecated/test/rules/rule_set_spec.ts | 8 ++++++++ modules/@angular/router-deprecated/test/spies.ts | 8 ++++++++ .../@angular/router-deprecated/test/url_parser_spec.ts | 8 ++++++++ modules/@angular/router-deprecated/testing.ts | 8 ++++++++ modules/@angular/router/index.ts | 8 ++++++++ modules/@angular/router/src/apply_redirects.ts | 8 ++++++++ modules/@angular/router/src/common_router_providers.ts | 8 ++++++++ modules/@angular/router/src/config.ts | 8 ++++++++ modules/@angular/router/src/create_router_state.ts | 8 ++++++++ modules/@angular/router/src/create_url_tree.ts | 8 ++++++++ modules/@angular/router/src/directives/router_link.ts | 8 ++++++++ .../@angular/router/src/directives/router_link_active.ts | 8 ++++++++ modules/@angular/router/src/directives/router_outlet.ts | 8 ++++++++ modules/@angular/router/src/interfaces.ts | 8 ++++++++ modules/@angular/router/src/recognize.ts | 8 ++++++++ modules/@angular/router/src/resolve.ts | 8 ++++++++ modules/@angular/router/src/router.ts | 8 ++++++++ modules/@angular/router/src/router_outlet_map.ts | 8 ++++++++ modules/@angular/router/src/router_providers.ts | 8 ++++++++ modules/@angular/router/src/router_state.ts | 8 ++++++++ modules/@angular/router/src/shared.ts | 8 ++++++++ modules/@angular/router/src/url_tree.ts | 8 ++++++++ modules/@angular/router/src/utils/collection.ts | 8 ++++++++ modules/@angular/router/src/utils/tree.ts | 8 ++++++++ modules/@angular/upgrade/index.ts | 8 ++++++++ modules/@angular/upgrade/src/angular_js.ts | 8 ++++++++ modules/@angular/upgrade/src/constants.ts | 8 ++++++++ modules/@angular/upgrade/src/downgrade_ng2_adapter.ts | 8 ++++++++ modules/@angular/upgrade/src/metadata.ts | 8 ++++++++ modules/@angular/upgrade/src/upgrade_adapter.ts | 8 ++++++++ modules/@angular/upgrade/src/upgrade_ng1_adapter.ts | 8 ++++++++ modules/@angular/upgrade/src/util.ts | 8 ++++++++ modules/@angular/upgrade/test/metadata_spec.ts | 8 ++++++++ modules/@angular/upgrade/test/upgrade_spec.ts | 8 ++++++++ modules/@angular/upgrade/upgrade.ts | 8 ++++++++ modules/empty.ts | 8 ++++++++ modules/playground/e2e_test/async/async_spec.ts | 8 ++++++++ .../e2e_test/hash_routing/hash_location_spec.ts | 8 ++++++++ .../playground/e2e_test/hello_world/hello_world_spec.ts | 8 ++++++++ modules/playground/e2e_test/http/http_spec.ts | 8 ++++++++ modules/playground/e2e_test/jsonp/jsonp_spec.ts | 8 ++++++++ modules/playground/e2e_test/key_events/key_events_spec.ts | 8 ++++++++ .../model_driven_forms/model_driven_forms_spec.ts | 8 ++++++++ .../e2e_test/order_management/order_management_spec.ts | 8 ++++++++ .../e2e_test/person_management/person_management_spec.ts | 8 ++++++++ .../playground/e2e_test/relative_assets/assets_spec.ts | 8 ++++++++ modules/playground/e2e_test/routing/routing_spec.ts | 8 ++++++++ .../routing_deprecated/routing_deprecated_spec.ts | 8 ++++++++ modules/playground/e2e_test/sourcemap/sourcemap_spec.ts | 8 ++++++++ modules/playground/e2e_test/svg/svg_spec.ts | 8 ++++++++ .../template_driven_forms/template_driven_forms_spec.ts | 8 ++++++++ modules/playground/e2e_test/upgrade/upgrade_spec.ts | 8 ++++++++ .../playground/e2e_test/web_workers/input/input_spec.ts | 8 ++++++++ .../web_workers/kitchen_sink/kitchen_sink_spec.ts | 8 ++++++++ .../web_workers/message_broker/message_broker_spec.ts | 8 ++++++++ .../playground/e2e_test/web_workers/router/router_spec.ts | 8 ++++++++ modules/playground/e2e_test/web_workers/todo/todo_spec.ts | 8 ++++++++ modules/playground/e2e_test/zippy_component/zippy_spec.ts | 8 ++++++++ modules/playground/src/animate/app/animate-app.ts | 8 ++++++++ modules/playground/src/animate/index.ts | 8 ++++++++ modules/playground/src/async/index.ts | 8 ++++++++ modules/playground/src/bootstrap.ts | 8 ++++++++ modules/playground/src/gestures/index.ts | 8 ++++++++ modules/playground/src/hash_routing/index.ts | 8 ++++++++ modules/playground/src/hello_world/index.ts | 8 ++++++++ modules/playground/src/http/app/http_comp.ts | 8 ++++++++ modules/playground/src/http/index.ts | 8 ++++++++ modules/playground/src/jsonp/app/jsonp_comp.ts | 8 ++++++++ modules/playground/src/jsonp/index.ts | 8 ++++++++ modules/playground/src/key_events/index.ts | 8 ++++++++ modules/playground/src/model_driven_forms/index.ts | 8 ++++++++ modules/playground/src/order_management/index.ts | 8 ++++++++ modules/playground/src/person_management/index.ts | 8 ++++++++ modules/playground/src/relative_assets/app/my_cmp.ts | 8 ++++++++ modules/playground/src/relative_assets/index.ts | 8 ++++++++ modules/playground/src/routing/app/data.ts | 8 ++++++++ modules/playground/src/routing/app/inbox-app.ts | 8 ++++++++ modules/playground/src/routing/index.ts | 8 ++++++++ modules/playground/src/routing_deprecated/app/data.ts | 8 ++++++++ .../playground/src/routing_deprecated/app/inbox-app.ts | 8 ++++++++ modules/playground/src/routing_deprecated/index.ts | 8 ++++++++ modules/playground/src/sourcemap/index.ts | 8 ++++++++ modules/playground/src/svg/index.ts | 8 ++++++++ modules/playground/src/template_driven_forms/index.ts | 8 ++++++++ modules/playground/src/todo/app/TodoStore.ts | 8 ++++++++ modules/playground/src/todo/index.ts | 8 ++++++++ modules/playground/src/upgrade/index.ts | 8 ++++++++ modules/playground/src/web_workers/images/b64.d.ts | 8 ++++++++ .../playground/src/web_workers/images/background_index.ts | 8 ++++++++ modules/playground/src/web_workers/images/bitmap.d.ts | 8 ++++++++ modules/playground/src/web_workers/images/file_api.ts | 8 ++++++++ modules/playground/src/web_workers/images/index.ts | 8 ++++++++ modules/playground/src/web_workers/images/index_common.ts | 8 ++++++++ .../playground/src/web_workers/images/services/bitmap.ts | 8 ++++++++ .../playground/src/web_workers/images/single_thread.ts | 8 ++++++++ .../playground/src/web_workers/input/background_index.ts | 8 ++++++++ modules/playground/src/web_workers/input/index.ts | 8 ++++++++ modules/playground/src/web_workers/input/index_common.ts | 8 ++++++++ .../src/web_workers/kitchen_sink/background_index.ts | 8 ++++++++ modules/playground/src/web_workers/kitchen_sink/index.ts | 8 ++++++++ .../src/web_workers/kitchen_sink/index_common.ts | 8 ++++++++ .../src/web_workers/message_broker/background_index.ts | 8 ++++++++ .../playground/src/web_workers/message_broker/index.ts | 8 ++++++++ .../src/web_workers/message_broker/index_common.ts | 8 ++++++++ .../playground/src/web_workers/router/background_index.ts | 8 ++++++++ .../playground/src/web_workers/router/components/about.ts | 8 ++++++++ .../src/web_workers/router/components/contact.ts | 8 ++++++++ .../playground/src/web_workers/router/components/start.ts | 8 ++++++++ modules/playground/src/web_workers/router/index.ts | 8 ++++++++ modules/playground/src/web_workers/router/index_common.ts | 8 ++++++++ .../playground/src/web_workers/todo/background_index.ts | 8 ++++++++ modules/playground/src/web_workers/todo/index.ts | 8 ++++++++ modules/playground/src/web_workers/todo/index_common.ts | 8 ++++++++ .../playground/src/web_workers/todo/services/TodoStore.ts | 8 ++++++++ modules/playground/src/zippy_component/app/zippy.ts | 8 ++++++++ modules/playground/src/zippy_component/index.ts | 8 ++++++++ modules/types.d.ts | 8 ++++++++ 774 files changed, 6191 insertions(+) diff --git a/modules/@angular/common/index.ts b/modules/@angular/common/index.ts index 3900ca0a9c..eaef0d1cda 100644 --- a/modules/@angular/common/index.ts +++ b/modules/@angular/common/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './src/pipes'; export * from './src/directives'; export * from './src/forms-deprecated'; diff --git a/modules/@angular/common/src/common_directives.ts b/modules/@angular/common/src/common_directives.ts index d81dcd637c..f1ad4cb1df 100644 --- a/modules/@angular/common/src/common_directives.ts +++ b/modules/@angular/common/src/common_directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '@angular/core'; import {CORE_DIRECTIVES} from './directives'; diff --git a/modules/@angular/common/src/directives.ts b/modules/@angular/common/src/directives.ts index dd07edfb27..c9ff57ed90 100644 --- a/modules/@angular/common/src/directives.ts +++ b/modules/@angular/common/src/directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/common/src/directives/core_directives.ts b/modules/@angular/common/src/directives/core_directives.ts index 29110ff781..4e49cfa1fc 100644 --- a/modules/@angular/common/src/directives/core_directives.ts +++ b/modules/@angular/common/src/directives/core_directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../facade/lang'; import {NgClass} from './ng_class'; diff --git a/modules/@angular/common/src/directives/ng_class.ts b/modules/@angular/common/src/directives/ng_class.ts index f5c09ffe15..b58459bf80 100644 --- a/modules/@angular/common/src/directives/ng_class.ts +++ b/modules/@angular/common/src/directives/ng_class.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CollectionChangeRecord, Directive, DoCheck, ElementRef, IterableDiffer, IterableDiffers, KeyValueChangeRecord, KeyValueDiffer, KeyValueDiffers, OnDestroy, Renderer} from '@angular/core'; import {StringMapWrapper, isListLikeIterable} from '../facade/collection'; diff --git a/modules/@angular/common/src/directives/ng_for.ts b/modules/@angular/common/src/directives/ng_for.ts index fa0e7dfdde..811bd19794 100644 --- a/modules/@angular/common/src/directives/ng_for.ts +++ b/modules/@angular/common/src/directives/ng_for.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef, CollectionChangeRecord, DefaultIterableDiffer, Directive, DoCheck, EmbeddedViewRef, IterableDiffer, IterableDiffers, TemplateRef, TrackByFn, ViewContainerRef} from '@angular/core'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/common/src/directives/ng_if.ts b/modules/@angular/common/src/directives/ng_if.ts index 3072e8b224..f747456e1b 100644 --- a/modules/@angular/common/src/directives/ng_if.ts +++ b/modules/@angular/common/src/directives/ng_if.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, TemplateRef, ViewContainerRef} from '@angular/core'; import {isBlank} from '../facade/lang'; diff --git a/modules/@angular/common/src/directives/ng_plural.ts b/modules/@angular/common/src/directives/ng_plural.ts index 073d528d91..e2f75105d1 100644 --- a/modules/@angular/common/src/directives/ng_plural.ts +++ b/modules/@angular/common/src/directives/ng_plural.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AfterContentInit, Attribute, ContentChildren, Directive, Input, QueryList, TemplateRef, ViewContainerRef} from '@angular/core'; import {Map} from '../facade/collection'; diff --git a/modules/@angular/common/src/directives/ng_style.ts b/modules/@angular/common/src/directives/ng_style.ts index f5f4606490..1ec73d17a6 100644 --- a/modules/@angular/common/src/directives/ng_style.ts +++ b/modules/@angular/common/src/directives/ng_style.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, DoCheck, ElementRef, KeyValueChangeRecord, KeyValueDiffer, KeyValueDiffers, Renderer} from '@angular/core'; import {isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/common/src/directives/ng_switch.ts b/modules/@angular/common/src/directives/ng_switch.ts index 7e61ebd35c..bdb472a0cd 100644 --- a/modules/@angular/common/src/directives/ng_switch.ts +++ b/modules/@angular/common/src/directives/ng_switch.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, TemplateRef, ViewContainerRef} from '@angular/core'; import {ListWrapper, Map} from '../facade/collection'; diff --git a/modules/@angular/common/src/directives/ng_template_outlet.ts b/modules/@angular/common/src/directives/ng_template_outlet.ts index 9240cbab6a..12b89902f1 100644 --- a/modules/@angular/common/src/directives/ng_template_outlet.ts +++ b/modules/@angular/common/src/directives/ng_template_outlet.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef} from '@angular/core'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated.ts b/modules/@angular/common/src/forms-deprecated.ts index 4c597e51ad..ef8c18e804 100644 --- a/modules/@angular/common/src/forms-deprecated.ts +++ b/modules/@angular/common/src/forms-deprecated.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/common/src/forms-deprecated/directives.ts b/modules/@angular/common/src/forms-deprecated/directives.ts index 6a3b4c61d4..7365af7449 100644 --- a/modules/@angular/common/src/forms-deprecated/directives.ts +++ b/modules/@angular/common/src/forms-deprecated/directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '@angular/core'; import {CheckboxControlValueAccessor} from './directives/checkbox_value_accessor'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/abstract_control_directive.ts b/modules/@angular/common/src/forms-deprecated/directives/abstract_control_directive.ts index 19155a3551..546ef4a171 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/abstract_control_directive.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/abstract_control_directive.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {unimplemented} from '../../facade/exceptions'; import {isPresent} from '../../facade/lang'; import {AbstractControl} from '../model'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/checkbox_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/checkbox_value_accessor.ts index 0c37fda55b..f6232a980d 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/checkbox_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/checkbox_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core'; import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/control_container.ts b/modules/@angular/common/src/forms-deprecated/directives/control_container.ts index 23ce459784..f41ff60fe5 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/control_container.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/control_container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AbstractControlDirective} from './abstract_control_directive'; import {Form} from './form_interface'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/control_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/control_value_accessor.ts index 2ea1adfdc9..e5b9491a06 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/control_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; /** diff --git a/modules/@angular/common/src/forms-deprecated/directives/default_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/default_value_accessor.ts index fa7bef3587..41199e565c 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/default_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/default_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core'; import {isBlank} from '../../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/form_interface.ts b/modules/@angular/common/src/forms-deprecated/directives/form_interface.ts index fe16d01627..5c1234263c 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/form_interface.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/form_interface.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Control, ControlGroup} from '../model'; import {NgControl} from './ng_control'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_control.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_control.ts index e9d237b307..237108c341 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_control.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_control.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {unimplemented} from '../../facade/exceptions'; import {AbstractControlDirective} from './abstract_control_directive'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_control_group.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_control_group.ts index 9a5fcdbf8c..0ce824b8f6 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_control_group.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_control_group.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, Inject, OnDestroy, OnInit, Optional, Self, SkipSelf, forwardRef} from '@angular/core'; import {ControlGroup} from '../model'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_control_name.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_control_name.ts index a59f145bd3..bf6f62341d 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_control_name.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_control_name.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, Inject, OnChanges, OnDestroy, Optional, Self, SimpleChanges, SkipSelf, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_control_status.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_control_status.ts index 2b1b1a323c..def2cac8ac 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_control_status.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_control_status.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Self} from '@angular/core'; import {isPresent} from '../../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_form.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_form.ts index 7e3e1a1c93..b9a5b1505a 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_form.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_form.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, Optional, Self, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper, PromiseWrapper} from '../../facade/async'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_form_control.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_form_control.ts index 4c2bf28ddd..3a7f4fbd45 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_form_control.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_form_control.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, OnChanges, Optional, Self, SimpleChanges, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_form_model.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_form_model.ts index d2d5ebc254..b11947809e 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_form_model.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_form_model.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, OnChanges, Optional, Self, SimpleChanges, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/ng_model.ts b/modules/@angular/common/src/forms-deprecated/directives/ng_model.ts index a5205903e4..c9e7205621 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/ng_model.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/ng_model.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, OnChanges, Optional, Self, SimpleChanges, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/normalize_validator.ts b/modules/@angular/common/src/forms-deprecated/directives/normalize_validator.ts index d669b78961..0aad19ef38 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/normalize_validator.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/normalize_validator.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AbstractControl} from '../model'; import {AsyncValidatorFn, Validator, ValidatorFn} from './validators'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/number_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/number_value_accessor.ts index d5a9763dfa..7d654eaf24 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/number_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/number_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core'; import {NumberWrapper} from '../../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/radio_control_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/radio_control_value_accessor.ts index c74b0433ae..e9994b689b 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/radio_control_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/radio_control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Injectable, Injector, Input, OnDestroy, OnInit, Renderer, forwardRef} from '@angular/core'; import {ListWrapper} from '../../facade/collection'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/select_control_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/select_control_value_accessor.ts index 265f8994da..1a7e938b5e 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/select_control_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/select_control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Host, Input, OnDestroy, Optional, Renderer, forwardRef} from '@angular/core'; import {MapWrapper} from '../../facade/collection'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/select_multiple_control_value_accessor.ts b/modules/@angular/common/src/forms-deprecated/directives/select_multiple_control_value_accessor.ts index 4e39059d9f..cb0bef2d39 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/select_multiple_control_value_accessor.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/select_multiple_control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Host, Input, OnDestroy, Optional, Renderer, forwardRef} from '@angular/core'; import {MapWrapper} from '../../facade/collection'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/shared.ts b/modules/@angular/common/src/forms-deprecated/directives/shared.ts index 8d300e82e8..49f81a75b7 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/shared.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/shared.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper, StringMapWrapper} from '../../facade/collection'; import {BaseException} from '../../facade/exceptions'; import {hasConstructor, isBlank, isPresent, looseIdentical} from '../../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated/directives/validators.ts b/modules/@angular/common/src/forms-deprecated/directives/validators.ts index 401941f8f8..0bebe7168e 100644 --- a/modules/@angular/common/src/forms-deprecated/directives/validators.ts +++ b/modules/@angular/common/src/forms-deprecated/directives/validators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Attribute, Directive, forwardRef} from '@angular/core'; import {NumberWrapper} from '../../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated/form_builder.ts b/modules/@angular/common/src/forms-deprecated/form_builder.ts index 5289d1cd09..a6da145f35 100644 --- a/modules/@angular/common/src/forms-deprecated/form_builder.ts +++ b/modules/@angular/common/src/forms-deprecated/form_builder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {StringMapWrapper} from '../facade/collection'; diff --git a/modules/@angular/common/src/forms-deprecated/model.ts b/modules/@angular/common/src/forms-deprecated/model.ts index 55810f54ce..38bc4436b1 100644 --- a/modules/@angular/common/src/forms-deprecated/model.ts +++ b/modules/@angular/common/src/forms-deprecated/model.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter, Observable, ObservableWrapper} from '../facade/async'; import {ListWrapper, StringMapWrapper} from '../facade/collection'; import {isBlank, isPresent, isPromise, normalizeBool} from '../facade/lang'; diff --git a/modules/@angular/common/src/forms-deprecated/validators.ts b/modules/@angular/common/src/forms-deprecated/validators.ts index 2c05200e81..fc97be0b85 100644 --- a/modules/@angular/common/src/forms-deprecated/validators.ts +++ b/modules/@angular/common/src/forms-deprecated/validators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; import {ObservableWrapper} from '../facade/async'; import {StringMapWrapper} from '../facade/collection'; diff --git a/modules/@angular/common/src/location.ts b/modules/@angular/common/src/location.ts index 0c3e8fa5b3..a794c6bc1f 100644 --- a/modules/@angular/common/src/location.ts +++ b/modules/@angular/common/src/location.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './location/platform_location'; export * from './location/location_strategy'; export * from './location/hash_location_strategy'; diff --git a/modules/@angular/common/src/location/hash_location_strategy.ts b/modules/@angular/common/src/location/hash_location_strategy.ts index c3cca2f4b3..fe6892a648 100644 --- a/modules/@angular/common/src/location/hash_location_strategy.ts +++ b/modules/@angular/common/src/location/hash_location_strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, Optional} from '@angular/core'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/common/src/location/location.ts b/modules/@angular/common/src/location/location.ts index 41d9541aec..ebd38bbd00 100644 --- a/modules/@angular/common/src/location/location.ts +++ b/modules/@angular/common/src/location/location.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter, Injectable} from '@angular/core'; import {ObservableWrapper} from '../facade/async'; diff --git a/modules/@angular/common/src/location/location_strategy.ts b/modules/@angular/common/src/location/location_strategy.ts index 9ef98399ca..6d63c57781 100644 --- a/modules/@angular/common/src/location/location_strategy.ts +++ b/modules/@angular/common/src/location/location_strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; import {UrlChangeListener} from './platform_location'; diff --git a/modules/@angular/common/src/location/path_location_strategy.ts b/modules/@angular/common/src/location/path_location_strategy.ts index a6902105b2..114e983034 100644 --- a/modules/@angular/common/src/location/path_location_strategy.ts +++ b/modules/@angular/common/src/location/path_location_strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, Optional} from '@angular/core'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/common/src/location/platform_location.ts b/modules/@angular/common/src/location/platform_location.ts index 4f98da6aad..7828def62e 100644 --- a/modules/@angular/common/src/location/platform_location.ts +++ b/modules/@angular/common/src/location/platform_location.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * This class should not be used directly by an application developer. Instead, use * {@link Location}. diff --git a/modules/@angular/common/src/pipes.ts b/modules/@angular/common/src/pipes.ts index 796d2a2a04..92d8caefb6 100644 --- a/modules/@angular/common/src/pipes.ts +++ b/modules/@angular/common/src/pipes.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/common/src/pipes/async_pipe.ts b/modules/@angular/common/src/pipes/async_pipe.ts index c1d1630dd5..4ba96aff35 100644 --- a/modules/@angular/common/src/pipes/async_pipe.ts +++ b/modules/@angular/common/src/pipes/async_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef, OnDestroy, Pipe, WrappedValue} from '@angular/core'; import {EventEmitter, Observable, ObservableWrapper} from '../facade/async'; import {isBlank, isPresent, isPromise} from '../facade/lang'; diff --git a/modules/@angular/common/src/pipes/common_pipes.ts b/modules/@angular/common/src/pipes/common_pipes.ts index d013e17ab6..daac2ef618 100644 --- a/modules/@angular/common/src/pipes/common_pipes.ts +++ b/modules/@angular/common/src/pipes/common_pipes.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/common/src/pipes/date_pipe.ts b/modules/@angular/common/src/pipes/date_pipe.ts index b51aae585c..421226e909 100644 --- a/modules/@angular/common/src/pipes/date_pipe.ts +++ b/modules/@angular/common/src/pipes/date_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {StringMapWrapper} from '../facade/collection'; import {DateFormatter} from '../facade/intl'; diff --git a/modules/@angular/common/src/pipes/i18n_plural_pipe.ts b/modules/@angular/common/src/pipes/i18n_plural_pipe.ts index fa326c9db6..385011367b 100644 --- a/modules/@angular/common/src/pipes/i18n_plural_pipe.ts +++ b/modules/@angular/common/src/pipes/i18n_plural_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {StringWrapper, isPresent, isStringMap} from '../facade/lang'; import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception'; diff --git a/modules/@angular/common/src/pipes/i18n_select_pipe.ts b/modules/@angular/common/src/pipes/i18n_select_pipe.ts index d3131649b2..3f63c9ffbd 100644 --- a/modules/@angular/common/src/pipes/i18n_select_pipe.ts +++ b/modules/@angular/common/src/pipes/i18n_select_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {StringMapWrapper} from '../facade/collection'; import {isStringMap} from '../facade/lang'; diff --git a/modules/@angular/common/src/pipes/invalid_pipe_argument_exception.ts b/modules/@angular/common/src/pipes/invalid_pipe_argument_exception.ts index 8d2b82b861..7278f2cfc3 100644 --- a/modules/@angular/common/src/pipes/invalid_pipe_argument_exception.ts +++ b/modules/@angular/common/src/pipes/invalid_pipe_argument_exception.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {Type, stringify} from '../facade/lang'; diff --git a/modules/@angular/common/src/pipes/json_pipe.ts b/modules/@angular/common/src/pipes/json_pipe.ts index d9d75d3dc2..16f423c8c9 100644 --- a/modules/@angular/common/src/pipes/json_pipe.ts +++ b/modules/@angular/common/src/pipes/json_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {Json} from '../facade/lang'; diff --git a/modules/@angular/common/src/pipes/lowercase_pipe.ts b/modules/@angular/common/src/pipes/lowercase_pipe.ts index f50ae4b774..45edcd4b7d 100644 --- a/modules/@angular/common/src/pipes/lowercase_pipe.ts +++ b/modules/@angular/common/src/pipes/lowercase_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {isBlank, isString} from '../facade/lang'; import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception'; diff --git a/modules/@angular/common/src/pipes/number_pipe.ts b/modules/@angular/common/src/pipes/number_pipe.ts index fc7817cf2b..20fe1c3714 100644 --- a/modules/@angular/common/src/pipes/number_pipe.ts +++ b/modules/@angular/common/src/pipes/number_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {BaseException} from '../facade/exceptions'; import {NumberFormatStyle, NumberFormatter} from '../facade/intl'; diff --git a/modules/@angular/common/src/pipes/replace_pipe.ts b/modules/@angular/common/src/pipes/replace_pipe.ts index 4ae89c1925..a409c7026e 100644 --- a/modules/@angular/common/src/pipes/replace_pipe.ts +++ b/modules/@angular/common/src/pipes/replace_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {RegExpWrapper, StringWrapper, isBlank, isFunction, isNumber, isString} from '../facade/lang'; import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception'; diff --git a/modules/@angular/common/src/pipes/slice_pipe.ts b/modules/@angular/common/src/pipes/slice_pipe.ts index 78cc8dd8f6..9bd856a28b 100644 --- a/modules/@angular/common/src/pipes/slice_pipe.ts +++ b/modules/@angular/common/src/pipes/slice_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {ListWrapper} from '../facade/collection'; import {StringWrapper, isArray, isBlank, isString} from '../facade/lang'; diff --git a/modules/@angular/common/src/pipes/uppercase_pipe.ts b/modules/@angular/common/src/pipes/uppercase_pipe.ts index 98dcc2dd5f..be65de1068 100644 --- a/modules/@angular/common/src/pipes/uppercase_pipe.ts +++ b/modules/@angular/common/src/pipes/uppercase_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Pipe, PipeTransform} from '@angular/core'; import {isBlank, isString} from '../facade/lang'; import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception'; diff --git a/modules/@angular/common/test/directives/ng_class_spec.ts b/modules/@angular/common/test/directives/ng_class_spec.ts index 0dbb5d7557..5f1bb72d86 100644 --- a/modules/@angular/common/test/directives/ng_class_spec.ts +++ b/modules/@angular/common/test/directives/ng_class_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, ddescribe, xdescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/directives/ng_for_spec.ts b/modules/@angular/common/test/directives/ng_for_spec.ts index 6b064d5dae..97e59070b1 100644 --- a/modules/@angular/common/test/directives/ng_for_spec.ts +++ b/modules/@angular/common/test/directives/ng_for_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, ddescribe, describe, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/directives/ng_if_spec.ts b/modules/@angular/common/test/directives/ng_if_spec.ts index f199cd2150..2974f825fc 100644 --- a/modules/@angular/common/test/directives/ng_if_spec.ts +++ b/modules/@angular/common/test/directives/ng_if_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {expect} from '@angular/platform-browser/testing'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/common/test/directives/ng_plural_spec.ts b/modules/@angular/common/test/directives/ng_plural_spec.ts index cf869acf74..1296a1cef8 100644 --- a/modules/@angular/common/test/directives/ng_plural_spec.ts +++ b/modules/@angular/common/test/directives/ng_plural_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEachProviders, beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/common/test/directives/ng_style_spec.ts b/modules/@angular/common/test/directives/ng_style_spec.ts index c148c342ee..86ce975834 100644 --- a/modules/@angular/common/test/directives/ng_style_spec.ts +++ b/modules/@angular/common/test/directives/ng_style_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, ddescribe, xdescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/directives/ng_switch_spec.ts b/modules/@angular/common/test/directives/ng_switch_spec.ts index e9a2ed69b8..bd7d5f47f4 100644 --- a/modules/@angular/common/test/directives/ng_switch_spec.ts +++ b/modules/@angular/common/test/directives/ng_switch_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {Component} from '@angular/core'; diff --git a/modules/@angular/common/test/directives/ng_template_outlet_spec.ts b/modules/@angular/common/test/directives/ng_template_outlet_spec.ts index 7bd418ee1f..9e0196a847 100644 --- a/modules/@angular/common/test/directives/ng_template_outlet_spec.ts +++ b/modules/@angular/common/test/directives/ng_template_outlet_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/directives/non_bindable_spec.ts b/modules/@angular/common/test/directives/non_bindable_spec.ts index e6a21e32f1..9003952769 100644 --- a/modules/@angular/common/test/directives/non_bindable_spec.ts +++ b/modules/@angular/common/test/directives/non_bindable_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; diff --git a/modules/@angular/common/test/forms-deprecated/directives_spec.ts b/modules/@angular/common/test/forms-deprecated/directives_spec.ts index 7ca8f141e2..e21df4c9d3 100644 --- a/modules/@angular/common/test/forms-deprecated/directives_spec.ts +++ b/modules/@angular/common/test/forms-deprecated/directives_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick,} from '@angular/core/testing'; diff --git a/modules/@angular/common/test/forms-deprecated/form_builder_spec.ts b/modules/@angular/common/test/forms-deprecated/form_builder_spec.ts index 7bb628ea8c..ac6a133f7c 100644 --- a/modules/@angular/common/test/forms-deprecated/form_builder_spec.ts +++ b/modules/@angular/common/test/forms-deprecated/form_builder_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Control, FormBuilder} from '@angular/common/src/forms-deprecated'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/forms-deprecated/integration_spec.ts b/modules/@angular/common/test/forms-deprecated/integration_spec.ts index b11bd01298..4e424b438f 100644 --- a/modules/@angular/common/test/forms-deprecated/integration_spec.ts +++ b/modules/@angular/common/test/forms-deprecated/integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgFor, NgIf} from '@angular/common'; import {Control, ControlGroup, ControlValueAccessor, FORM_DIRECTIVES, FORM_PROVIDERS, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NgControl, NgForm, RadioButtonState, Validator, Validators} from '@angular/common/src/forms-deprecated'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/common/test/forms-deprecated/model_spec.ts b/modules/@angular/common/test/forms-deprecated/model_spec.ts index d38fc4d803..8a26465ac0 100644 --- a/modules/@angular/common/test/forms-deprecated/model_spec.ts +++ b/modules/@angular/common/test/forms-deprecated/model_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick} from '@angular/core/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/forms-deprecated/validators_spec.ts b/modules/@angular/common/test/forms-deprecated/validators_spec.ts index c504eab111..60775ba3a7 100644 --- a/modules/@angular/common/test/forms-deprecated/validators_spec.ts +++ b/modules/@angular/common/test/forms-deprecated/validators_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AbstractControl, Control, ControlArray, ControlGroup, Validators} from '@angular/common/src/forms-deprecated'; import {Log, fakeAsync, flushMicrotasks, tick} from '@angular/core/testing'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/pipes/async_pipe_spec.ts b/modules/@angular/common/test/pipes/async_pipe_spec.ts index 1d879df1dd..e0a8cdf522 100644 --- a/modules/@angular/common/test/pipes/async_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/async_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {SpyChangeDetectorRef} from '../spies'; diff --git a/modules/@angular/common/test/pipes/date_pipe_spec.ts b/modules/@angular/common/test/pipes/date_pipe_spec.ts index 49bd2cb90b..33d45ce258 100644 --- a/modules/@angular/common/test/pipes/date_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/date_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DatePipe} from '@angular/common'; import {PipeResolver} from '@angular/compiler/src/pipe_resolver'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts b/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts index eafb1c2a67..53329a92dd 100644 --- a/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/i18n_plural_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {I18nPluralPipe} from '@angular/common'; import {PipeResolver} from '@angular/compiler/src/pipe_resolver'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts b/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts index 19fa51defb..046d56e008 100644 --- a/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/i18n_select_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {I18nSelectPipe} from '@angular/common'; import {PipeResolver} from '@angular/compiler/src/pipe_resolver'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/pipes/json_pipe_spec.ts b/modules/@angular/common/test/pipes/json_pipe_spec.ts index ecb2bf8489..986856979d 100644 --- a/modules/@angular/common/test/pipes/json_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/json_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts b/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts index 6652e7e4f0..31d699007c 100644 --- a/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/lowercase_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {LowerCasePipe} from '@angular/common'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/pipes/number_pipe_spec.ts b/modules/@angular/common/test/pipes/number_pipe_spec.ts index 4191acc96e..affa76a657 100644 --- a/modules/@angular/common/test/pipes/number_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/number_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach,} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/common/test/pipes/replace_pipe_spec.ts b/modules/@angular/common/test/pipes/replace_pipe_spec.ts index 53f0bf5432..d0a98fab11 100644 --- a/modules/@angular/common/test/pipes/replace_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/replace_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/pipes/slice_pipe_spec.ts b/modules/@angular/common/test/pipes/slice_pipe_spec.ts index 977c2fed9a..d5a7de08f3 100644 --- a/modules/@angular/common/test/pipes/slice_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/slice_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts b/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts index a3eee1906b..e8bb9a4694 100644 --- a/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/uppercase_pipe_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {UpperCasePipe} from '@angular/common'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/test/spies.ts b/modules/@angular/common/test/spies.ts index bfd86a6610..6c4d6bb722 100644 --- a/modules/@angular/common/test/spies.ts +++ b/modules/@angular/common/test/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detector_ref'; import {SpyObject, proxy} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/common/testing.ts b/modules/@angular/common/testing.ts index 14d80cc7e1..62c59eb015 100644 --- a/modules/@angular/common/testing.ts +++ b/modules/@angular/common/testing.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {SpyLocation} from './testing/location_mock'; export {MockLocationStrategy} from './testing/mock_location_strategy'; diff --git a/modules/@angular/common/testing/location_mock.ts b/modules/@angular/common/testing/location_mock.ts index ed5921f0fa..f2faa8a51c 100644 --- a/modules/@angular/common/testing/location_mock.ts +++ b/modules/@angular/common/testing/location_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter, Injectable} from '@angular/core'; import {Location} from '../index'; diff --git a/modules/@angular/common/testing/mock_location_strategy.ts b/modules/@angular/common/testing/mock_location_strategy.ts index 444f1caabd..059577c79e 100644 --- a/modules/@angular/common/testing/mock_location_strategy.ts +++ b/modules/@angular/common/testing/mock_location_strategy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {LocationStrategy} from '../index'; diff --git a/modules/@angular/compiler-cli/index.ts b/modules/@angular/compiler-cli/index.ts index d22f54aeeb..9a6b5322ed 100644 --- a/modules/@angular/compiler-cli/index.ts +++ b/modules/@angular/compiler-cli/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {CodeGenerator} from './src/codegen'; export {NodeReflectorHostContext, ReflectorHost, ReflectorHostContext} from './src/reflector_host'; export {StaticReflector, StaticReflectorHost, StaticSymbol} from './src/static_reflector'; diff --git a/modules/@angular/compiler-cli/integrationtest/src/a/multiple_components.ts b/modules/@angular/compiler-cli/integrationtest/src/a/multiple_components.ts index 35624d77d9..e80da85482 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/a/multiple_components.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/a/multiple_components.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({ diff --git a/modules/@angular/compiler-cli/integrationtest/src/animate.ts b/modules/@angular/compiler-cli/integrationtest/src/animate.ts index 9e2878c7da..50f8e83b6c 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/animate.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/animate.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AUTO_STYLE, Component, animate, state, style, transition, trigger} from '@angular/core'; @Component({ diff --git a/modules/@angular/compiler-cli/integrationtest/src/basic.ts b/modules/@angular/compiler-cli/integrationtest/src/basic.ts index d0dc6f8e01..54964def67 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/basic.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/basic.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {FORM_DIRECTIVES, NgFor, NgIf} from '@angular/common'; import {Component, Inject} from '@angular/core'; diff --git a/modules/@angular/compiler-cli/integrationtest/src/bootstrap.ts b/modules/@angular/compiler-cli/integrationtest/src/bootstrap.ts index 75d9b65d76..4a5b51542e 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/bootstrap.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/bootstrap.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ReflectiveInjector, coreBootstrap} from '@angular/core'; import {BROWSER_APP_PROVIDERS, browserPlatform} from '@angular/platform-browser'; diff --git a/modules/@angular/compiler-cli/integrationtest/src/dep.d.ts b/modules/@angular/compiler-cli/integrationtest/src/dep.d.ts index 6bb9451e37..fda233c49c 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/dep.d.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/dep.d.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Verify we don't try to extract metadata for .d.ts files export declare var a: string; diff --git a/modules/@angular/compiler-cli/integrationtest/src/features.ts b/modules/@angular/compiler-cli/integrationtest/src/features.ts index 1a4e72a39a..79809a5714 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/features.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/features.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as common from '@angular/common'; import {Component, Inject, OpaqueToken} from '@angular/core'; diff --git a/modules/@angular/compiler-cli/integrationtest/src/funcs.ts b/modules/@angular/compiler-cli/integrationtest/src/funcs.ts index fb2e47d600..45681da42d 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/funcs.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/funcs.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function wrapInArray(value: any): any[] { return [value]; } \ No newline at end of file diff --git a/modules/@angular/compiler-cli/integrationtest/src/projection.ts b/modules/@angular/compiler-cli/integrationtest/src/projection.ts index 64ba87cba9..4191c4abf0 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/projection.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/projection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({selector: 'comp-with-proj', template: ''}) diff --git a/modules/@angular/compiler-cli/integrationtest/src/queries.ts b/modules/@angular/compiler-cli/integrationtest/src/queries.ts index 218b488878..cb3677e8e7 100644 --- a/modules/@angular/compiler-cli/integrationtest/src/queries.ts +++ b/modules/@angular/compiler-cli/integrationtest/src/queries.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, QueryList, ViewChild, ViewChildren} from '@angular/core'; @Component({selector: 'comp-for-child-query', template: 'child'}) diff --git a/modules/@angular/compiler-cli/integrationtest/test/animate_spec.ts b/modules/@angular/compiler-cli/integrationtest/test/animate_spec.ts index 4ba79622fc..1d0c865f7f 100644 --- a/modules/@angular/compiler-cli/integrationtest/test/animate_spec.ts +++ b/modules/@angular/compiler-cli/integrationtest/test/animate_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + require('reflect-metadata'); require('zone.js/dist/zone-node.js'); require('zone.js/dist/long-stack-trace-zone.js'); diff --git a/modules/@angular/compiler-cli/integrationtest/test/basic_spec.ts b/modules/@angular/compiler-cli/integrationtest/test/basic_spec.ts index 548aedaa88..8ace343d9b 100644 --- a/modules/@angular/compiler-cli/integrationtest/test/basic_spec.ts +++ b/modules/@angular/compiler-cli/integrationtest/test/basic_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Only needed to satisfy the check in core/src/util/decorators.ts // TODO(alexeagle): maybe remove that check? require('reflect-metadata'); diff --git a/modules/@angular/compiler-cli/integrationtest/test/i18n_spec.ts b/modules/@angular/compiler-cli/integrationtest/test/i18n_spec.ts index 858f6ad04c..e1aefd2d28 100644 --- a/modules/@angular/compiler-cli/integrationtest/test/i18n_spec.ts +++ b/modules/@angular/compiler-cli/integrationtest/test/i18n_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Only needed to satisfy the check in core/src/util/decorators.ts // TODO(alexeagle): maybe remove that check? require('reflect-metadata'); diff --git a/modules/@angular/compiler-cli/integrationtest/test/projection_spec.ts b/modules/@angular/compiler-cli/integrationtest/test/projection_spec.ts index b0742fef8f..cd95399906 100644 --- a/modules/@angular/compiler-cli/integrationtest/test/projection_spec.ts +++ b/modules/@angular/compiler-cli/integrationtest/test/projection_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DebugElement, ReflectiveInjector, getDebugNode, lockRunMode} from '@angular/core'; import {BROWSER_APP_PROVIDERS, By} from '@angular/platform-browser'; import {serverPlatform} from '@angular/platform-server'; diff --git a/modules/@angular/compiler-cli/integrationtest/test/query_spec.ts b/modules/@angular/compiler-cli/integrationtest/test/query_spec.ts index e2152f1aec..c4fab5c590 100644 --- a/modules/@angular/compiler-cli/integrationtest/test/query_spec.ts +++ b/modules/@angular/compiler-cli/integrationtest/test/query_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DebugElement, QueryList, ReflectiveInjector, getDebugNode, lockRunMode} from '@angular/core'; import {BROWSER_APP_PROVIDERS, By} from '@angular/platform-browser'; import {serverPlatform} from '@angular/platform-server'; diff --git a/modules/@angular/compiler-cli/src/codegen.ts b/modules/@angular/compiler-cli/src/codegen.ts index a0bcde9f46..40f7afa614 100644 --- a/modules/@angular/compiler-cli/src/codegen.ts +++ b/modules/@angular/compiler-cli/src/codegen.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Transform template html and css into executable code. * Intended to be used in a build step. diff --git a/modules/@angular/compiler-cli/src/compiler_private.ts b/modules/@angular/compiler-cli/src/compiler_private.ts index 83e5492377..16e745d1b9 100644 --- a/modules/@angular/compiler-cli/src/compiler_private.ts +++ b/modules/@angular/compiler-cli/src/compiler_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__compiler_private__ as _c} from '@angular/compiler'; export type AssetUrl = _c.AssetUrl; diff --git a/modules/@angular/compiler-cli/src/core_private.ts b/modules/@angular/compiler-cli/src/core_private.ts index 9f0e9f69ff..a71797d00c 100644 --- a/modules/@angular/compiler-cli/src/core_private.ts +++ b/modules/@angular/compiler-cli/src/core_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; export type ReflectorReader = t.ReflectorReader; diff --git a/modules/@angular/compiler-cli/src/extract_i18n.ts b/modules/@angular/compiler-cli/src/extract_i18n.ts index 2e22cf79d1..996e150a92 100644 --- a/modules/@angular/compiler-cli/src/extract_i18n.ts +++ b/modules/@angular/compiler-cli/src/extract_i18n.ts @@ -1,4 +1,12 @@ #!/usr/bin/env node +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Extract i18n messages from source code diff --git a/modules/@angular/compiler-cli/src/main.ts b/modules/@angular/compiler-cli/src/main.ts index e9a9723d14..79d69b74eb 100644 --- a/modules/@angular/compiler-cli/src/main.ts +++ b/modules/@angular/compiler-cli/src/main.ts @@ -1,4 +1,12 @@ #!/usr/bin/env node +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Must be imported first, because angular2 decorators throws on load. import 'reflect-metadata'; diff --git a/modules/@angular/compiler-cli/src/reflector_host.ts b/modules/@angular/compiler-cli/src/reflector_host.ts index c112be8523..44318e7835 100644 --- a/modules/@angular/compiler-cli/src/reflector_host.ts +++ b/modules/@angular/compiler-cli/src/reflector_host.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AngularCompilerOptions, MetadataCollector, ModuleMetadata} from '@angular/tsc-wrapped'; import * as fs from 'fs'; import * as path from 'path'; diff --git a/modules/@angular/compiler-cli/src/static_reflection_capabilities.ts b/modules/@angular/compiler-cli/src/static_reflection_capabilities.ts index db48920ff3..0b31a70b26 100644 --- a/modules/@angular/compiler-cli/src/static_reflection_capabilities.ts +++ b/modules/@angular/compiler-cli/src/static_reflection_capabilities.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ReflectionCapabilities, reflector} from './core_private'; import {StaticReflector} from './static_reflector'; diff --git a/modules/@angular/compiler-cli/src/static_reflector.ts b/modules/@angular/compiler-cli/src/static_reflector.ts index 9e762e978e..171f7538b6 100644 --- a/modules/@angular/compiler-cli/src/static_reflector.ts +++ b/modules/@angular/compiler-cli/src/static_reflector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AttributeMetadata, ComponentMetadata, ContentChildMetadata, ContentChildrenMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, HostMetadata, InjectMetadata, InjectableMetadata, InputMetadata, OptionalMetadata, OutputMetadata, PipeMetadata, Provider, QueryMetadata, SelfMetadata, SkipSelfMetadata, ViewChildMetadata, ViewChildrenMetadata, ViewQueryMetadata, animate, group, keyframes, sequence, state, style, transition, trigger} from '@angular/core'; import {ReflectorReader} from './core_private'; diff --git a/modules/@angular/compiler-cli/test/mocks.ts b/modules/@angular/compiler-cli/test/mocks.ts index 31349fa0d9..1233a95161 100644 --- a/modules/@angular/compiler-cli/test/mocks.ts +++ b/modules/@angular/compiler-cli/test/mocks.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as ts from 'typescript'; import {ReflectorHost, ReflectorHostContext} from '../src/reflector_host'; diff --git a/modules/@angular/compiler-cli/test/reflector_host_spec.ts b/modules/@angular/compiler-cli/test/reflector_host_spec.ts index 2a667b9f70..4805fe10ba 100644 --- a/modules/@angular/compiler-cli/test/reflector_host_spec.ts +++ b/modules/@angular/compiler-cli/test/reflector_host_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing/testing_internal'; import * as ts from 'typescript'; diff --git a/modules/@angular/compiler-cli/test/static_reflector_spec.ts b/modules/@angular/compiler-cli/test/static_reflector_spec.ts index 8e3ab7a316..7b40419175 100644 --- a/modules/@angular/compiler-cli/test/static_reflector_spec.ts +++ b/modules/@angular/compiler-cli/test/static_reflector_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StaticReflector, StaticReflectorHost, StaticSymbol} from '@angular/compiler-cli/src/static_reflector'; import {animate, group, keyframes, sequence, state, style, transition, trigger} from '@angular/core'; import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/compiler.ts b/modules/@angular/compiler/compiler.ts index e4735ff234..2d20021a92 100644 --- a/modules/@angular/compiler/compiler.ts +++ b/modules/@angular/compiler/compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/compiler/core_private.ts b/modules/@angular/compiler/core_private.ts index c5255b4128..afad93146f 100644 --- a/modules/@angular/compiler/core_private.ts +++ b/modules/@angular/compiler/core_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; export var isDefaultChangeDetectionStrategy: typeof t.isDefaultChangeDetectionStrategy = diff --git a/modules/@angular/compiler/index.ts b/modules/@angular/compiler/index.ts index b2a57755ae..bd601ebe89 100644 --- a/modules/@angular/compiler/index.ts +++ b/modules/@angular/compiler/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './compiler'; diff --git a/modules/@angular/compiler/private_export.ts b/modules/@angular/compiler/private_export.ts index a4941f7989..a53a2fe72d 100644 --- a/modules/@angular/compiler/private_export.ts +++ b/modules/@angular/compiler/private_export.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as directive_normalizer from './src/directive_normalizer'; import * as lexer from './src/expression_parser/lexer'; import * as parser from './src/expression_parser/parser'; diff --git a/modules/@angular/compiler/src/animation/animation_ast.ts b/modules/@angular/compiler/src/animation/animation_ast.ts index ff76361b26..4b4a323372 100644 --- a/modules/@angular/compiler/src/animation/animation_ast.ts +++ b/modules/@angular/compiler/src/animation/animation_ast.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export abstract class AnimationAst { public startTime: number = 0; public playTime: number = 0; diff --git a/modules/@angular/compiler/src/animation/animation_compiler.ts b/modules/@angular/compiler/src/animation/animation_compiler.ts index 7c367342eb..d2b7d6e78f 100644 --- a/modules/@angular/compiler/src/animation/animation_compiler.ts +++ b/modules/@angular/compiler/src/animation/animation_compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AUTO_STYLE} from '@angular/core'; import {ANY_STATE, DEFAULT_STATE, EMPTY_STATE} from '../../core_private'; diff --git a/modules/@angular/compiler/src/animation/animation_parser.ts b/modules/@angular/compiler/src/animation/animation_parser.ts index ca7738c2bd..85ff0225a2 100644 --- a/modules/@angular/compiler/src/animation/animation_parser.ts +++ b/modules/@angular/compiler/src/animation/animation_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ANY_STATE, FILL_STYLE_FLAG} from '../../core_private'; import {CompileAnimationAnimateMetadata, CompileAnimationEntryMetadata, CompileAnimationGroupMetadata, CompileAnimationKeyframesSequenceMetadata, CompileAnimationMetadata, CompileAnimationSequenceMetadata, CompileAnimationStateDeclarationMetadata, CompileAnimationStateTransitionMetadata, CompileAnimationStyleMetadata, CompileAnimationWithStepsMetadata} from '../compile_metadata'; import {ListWrapper, StringMapWrapper} from '../facade/collection'; diff --git a/modules/@angular/compiler/src/animation/styles_collection.ts b/modules/@angular/compiler/src/animation/styles_collection.ts index ee6b35242c..2cb9caef53 100644 --- a/modules/@angular/compiler/src/animation/styles_collection.ts +++ b/modules/@angular/compiler/src/animation/styles_collection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../facade/collection'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/assertions.ts b/modules/@angular/compiler/src/assertions.ts index 1345013931..da6476f0d0 100644 --- a/modules/@angular/compiler/src/assertions.ts +++ b/modules/@angular/compiler/src/assertions.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isDevMode} from '@angular/core'; import {BaseException} from '../src/facade/exceptions'; diff --git a/modules/@angular/compiler/src/chars.ts b/modules/@angular/compiler/src/chars.ts index af7bc9d3a1..4e510a2d58 100644 --- a/modules/@angular/compiler/src/chars.ts +++ b/modules/@angular/compiler/src/chars.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export const $EOF = 0; export const $TAB = 9; export const $LF = 10; diff --git a/modules/@angular/compiler/src/compile_metadata.ts b/modules/@angular/compiler/src/compile_metadata.ts index e8e0627de0..5391de2c1d 100644 --- a/modules/@angular/compiler/src/compile_metadata.ts +++ b/modules/@angular/compiler/src/compile_metadata.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; import {CHANGE_DETECTION_STRATEGY_VALUES, LIFECYCLE_HOOKS_VALUES, LifecycleHooks, VIEW_ENCAPSULATION_VALUES, reflector} from '../core_private'; diff --git a/modules/@angular/compiler/src/compiler.ts b/modules/@angular/compiler/src/compiler.ts index 8504e01196..29372ced4c 100644 --- a/modules/@angular/compiler/src/compiler.ts +++ b/modules/@angular/compiler/src/compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentResolver, Type} from '@angular/core'; export * from './template_ast'; diff --git a/modules/@angular/compiler/src/config.ts b/modules/@angular/compiler/src/config.ts index c40422d845..7ab325fcb3 100644 --- a/modules/@angular/compiler/src/config.ts +++ b/modules/@angular/compiler/src/config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ViewEncapsulation, isDevMode} from '@angular/core'; import {unimplemented} from '../src/facade/exceptions'; diff --git a/modules/@angular/compiler/src/css_lexer.ts b/modules/@angular/compiler/src/css_lexer.ts index 2452932d7a..09971f1b09 100644 --- a/modules/@angular/compiler/src/css_lexer.ts +++ b/modules/@angular/compiler/src/css_lexer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as chars from './chars'; import {BaseException} from './facade/exceptions'; import {StringWrapper, isPresent, resolveEnumToken} from './facade/lang'; diff --git a/modules/@angular/compiler/src/css_parser.ts b/modules/@angular/compiler/src/css_parser.ts index fd629504e8..0eb1ab5122 100644 --- a/modules/@angular/compiler/src/css_parser.ts +++ b/modules/@angular/compiler/src/css_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as chars from './chars'; import {CssLexerMode, CssScanner, CssToken, CssTokenType, generateErrorMessage, isNewline} from './css_lexer'; import {isPresent} from './facade/lang'; diff --git a/modules/@angular/compiler/src/directive_lifecycle_reflector.ts b/modules/@angular/compiler/src/directive_lifecycle_reflector.ts index f3e6bc10df..da198b5b71 100644 --- a/modules/@angular/compiler/src/directive_lifecycle_reflector.ts +++ b/modules/@angular/compiler/src/directive_lifecycle_reflector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OnInit, OnDestroy, DoCheck, OnChanges, AfterContentInit, AfterContentChecked, AfterViewInit, AfterViewChecked,} from '@angular/core'; import {reflector, LifecycleHooks} from '../core_private'; diff --git a/modules/@angular/compiler/src/directive_normalizer.ts b/modules/@angular/compiler/src/directive_normalizer.ts index 2df0a9a6d2..2dea7b91d6 100644 --- a/modules/@angular/compiler/src/directive_normalizer.ts +++ b/modules/@angular/compiler/src/directive_normalizer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, ViewEncapsulation} from '@angular/core'; import {PromiseWrapper} from '../src/facade/async'; diff --git a/modules/@angular/compiler/src/directive_resolver.ts b/modules/@angular/compiler/src/directive_resolver.ts index 5d2957f372..6c60903193 100644 --- a/modules/@angular/compiler/src/directive_resolver.ts +++ b/modules/@angular/compiler/src/directive_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, Injectable, InputMetadata, OutputMetadata, QueryMetadata, resolveForwardRef} from '@angular/core'; import {ReflectorReader, reflector} from '../core_private'; diff --git a/modules/@angular/compiler/src/expression_parser/ast.ts b/modules/@angular/compiler/src/expression_parser/ast.ts index 236cf9a2fd..660d0e151c 100644 --- a/modules/@angular/compiler/src/expression_parser/ast.ts +++ b/modules/@angular/compiler/src/expression_parser/ast.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../facade/collection'; export class AST { diff --git a/modules/@angular/compiler/src/expression_parser/lexer.ts b/modules/@angular/compiler/src/expression_parser/lexer.ts index 93f13698a1..7deabc79bc 100644 --- a/modules/@angular/compiler/src/expression_parser/lexer.ts +++ b/modules/@angular/compiler/src/expression_parser/lexer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import * as chars from '../chars'; import {SetWrapper} from '../facade/collection'; diff --git a/modules/@angular/compiler/src/expression_parser/parser.ts b/modules/@angular/compiler/src/expression_parser/parser.ts index eff52a71e7..920c09bed1 100644 --- a/modules/@angular/compiler/src/expression_parser/parser.ts +++ b/modules/@angular/compiler/src/expression_parser/parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import * as chars from '../chars'; diff --git a/modules/@angular/compiler/src/html_ast.ts b/modules/@angular/compiler/src/html_ast.ts index e9bc8f2c95..98e1705e14 100644 --- a/modules/@angular/compiler/src/html_ast.ts +++ b/modules/@angular/compiler/src/html_ast.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent} from '../src/facade/lang'; import {ParseSourceSpan} from './parse_util'; diff --git a/modules/@angular/compiler/src/html_lexer.ts b/modules/@angular/compiler/src/html_lexer.ts index 0e40752317..edcbc5ad6e 100644 --- a/modules/@angular/compiler/src/html_lexer.ts +++ b/modules/@angular/compiler/src/html_lexer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as chars from './chars'; import {NumberWrapper, StringWrapper, isBlank, isPresent} from './facade/lang'; import {HtmlTagContentType, NAMED_ENTITIES, getHtmlTagDefinition} from './html_tags'; diff --git a/modules/@angular/compiler/src/html_parser.ts b/modules/@angular/compiler/src/html_parser.ts index ea7b6a64c5..3a4eff1085 100644 --- a/modules/@angular/compiler/src/html_parser.ts +++ b/modules/@angular/compiler/src/html_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {isPresent, isBlank,} from '../src/facade/lang'; import {ListWrapper} from '../src/facade/collection'; diff --git a/modules/@angular/compiler/src/html_tags.ts b/modules/@angular/compiler/src/html_tags.ts index 8f21eb05fb..0cfc16c3e0 100644 --- a/modules/@angular/compiler/src/html_tags.ts +++ b/modules/@angular/compiler/src/html_tags.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent, isBlank, normalizeBool, RegExpWrapper,} from '../src/facade/lang'; // see http://www.w3.org/TR/html51/syntax.html#named-character-references diff --git a/modules/@angular/compiler/src/i18n/expander.ts b/modules/@angular/compiler/src/i18n/expander.ts index 86ec0bb5ca..2ff4ebdcff 100644 --- a/modules/@angular/compiler/src/i18n/expander.ts +++ b/modules/@angular/compiler/src/i18n/expander.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {HtmlAst, HtmlAstVisitor, HtmlAttrAst, HtmlCommentAst, HtmlElementAst, HtmlExpansionAst, HtmlExpansionCaseAst, HtmlTextAst, htmlVisitAll} from '../html_ast'; import {ParseError} from '../parse_util'; diff --git a/modules/@angular/compiler/src/i18n/i18n_html_parser.ts b/modules/@angular/compiler/src/i18n/i18n_html_parser.ts index bb10cf3676..3b54c53d82 100644 --- a/modules/@angular/compiler/src/i18n/i18n_html_parser.ts +++ b/modules/@angular/compiler/src/i18n/i18n_html_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Parser} from '../expression_parser/parser'; import {ListWrapper, StringMapWrapper} from '../facade/collection'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/compiler/src/i18n/message.ts b/modules/@angular/compiler/src/i18n/message.ts index ed4c0fae83..61c8619b80 100644 --- a/modules/@angular/compiler/src/i18n/message.ts +++ b/modules/@angular/compiler/src/i18n/message.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {escape, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/i18n/message_extractor.ts b/modules/@angular/compiler/src/i18n/message_extractor.ts index e1486795f8..03fbdbde58 100644 --- a/modules/@angular/compiler/src/i18n/message_extractor.ts +++ b/modules/@angular/compiler/src/i18n/message_extractor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Parser} from '../expression_parser/parser'; import {StringMapWrapper} from '../facade/collection'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/i18n/shared.ts b/modules/@angular/compiler/src/i18n/shared.ts index 72dd20e7d1..cfbe9152bf 100644 --- a/modules/@angular/compiler/src/i18n/shared.ts +++ b/modules/@angular/compiler/src/i18n/shared.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Parser} from '../expression_parser/parser'; import {StringWrapper, isBlank, isPresent} from '../facade/lang'; import {HtmlAst, HtmlAstVisitor, HtmlAttrAst, HtmlCommentAst, HtmlElementAst, HtmlExpansionAst, HtmlExpansionCaseAst, HtmlTextAst, htmlVisitAll} from '../html_ast'; diff --git a/modules/@angular/compiler/src/i18n/xmb_serializer.ts b/modules/@angular/compiler/src/i18n/xmb_serializer.ts index 7fec593689..a78c9894f6 100644 --- a/modules/@angular/compiler/src/i18n/xmb_serializer.ts +++ b/modules/@angular/compiler/src/i18n/xmb_serializer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {RegExpWrapper, isBlank, isPresent} from '../facade/lang'; import {HtmlAst, HtmlElementAst} from '../html_ast'; import {HtmlParser} from '../html_parser'; diff --git a/modules/@angular/compiler/src/identifiers.ts b/modules/@angular/compiler/src/identifiers.ts index c000fcfd54..50d25a7eb7 100644 --- a/modules/@angular/compiler/src/identifiers.ts +++ b/modules/@angular/compiler/src/identifiers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Injector, QueryList, RenderComponentType, Renderer, SimpleChange, TemplateRef, ViewContainerRef, ViewEncapsulation} from '@angular/core'; import {AnimationGroupPlayer as AnimationGroupPlayer_, AnimationKeyframe as AnimationKeyframe_, AnimationSequencePlayer as AnimationSequencePlayer_, AnimationStyles as AnimationStyles_, AppElement, AppView, ChangeDetectorState, DebugAppView, DebugContext, EMPTY_ARRAY, EMPTY_MAP, NoOpAnimationPlayer as NoOpAnimationPlayer_, SecurityContext, StaticNodeDebugInfo, TemplateRef_, ValueUnwrapper, ViewType, ViewUtils, balanceAnimationKeyframes as impBalanceAnimationKeyframes, castByValue, checkBinding, clearStyles as impClearStyles, collectAndResolveStyles as impCollectAndResolveStyles, devModeEqual, flattenNestedViewRenderNodes, interpolate, prepareFinalAnimationStyles as impBalanceAnimationStyles, pureProxy1, pureProxy10, pureProxy2, pureProxy3, pureProxy4, pureProxy5, pureProxy6, pureProxy7, pureProxy8, pureProxy9, renderStyles as impRenderStyles, uninitialized} from '../core_private'; diff --git a/modules/@angular/compiler/src/interpolation_config.ts b/modules/@angular/compiler/src/interpolation_config.ts index 8d4d536062..47581bf1df 100644 --- a/modules/@angular/compiler/src/interpolation_config.ts +++ b/modules/@angular/compiler/src/interpolation_config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export interface InterpolationConfig { start: string; end: string; diff --git a/modules/@angular/compiler/src/metadata_resolver.ts b/modules/@angular/compiler/src/metadata_resolver.ts index 1d0e06ff5f..f13417bdb6 100644 --- a/modules/@angular/compiler/src/metadata_resolver.ts +++ b/modules/@angular/compiler/src/metadata_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationAnimateMetadata, AnimationEntryMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationStateDeclarationMetadata, AnimationStateMetadata, AnimationStateTransitionMetadata, AnimationStyleMetadata, AnimationWithStepsMetadata, AttributeMetadata, ComponentMetadata, HostMetadata, Inject, InjectMetadata, Injectable, Optional, OptionalMetadata, Provider, QueryMetadata, SelfMetadata, SkipSelfMetadata, ViewMetadata, ViewQueryMetadata, resolveForwardRef} from '@angular/core'; import {LIFECYCLE_HOOKS_VALUES, ReflectorReader, createProvider, isProviderLiteral, reflector} from '../core_private'; diff --git a/modules/@angular/compiler/src/offline_compiler.ts b/modules/@angular/compiler/src/offline_compiler.ts index 7babcff5b7..53dc9aaf6e 100644 --- a/modules/@angular/compiler/src/offline_compiler.ts +++ b/modules/@angular/compiler/src/offline_compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentFactory} from '@angular/core'; import {CompileDirectiveMetadata, CompileIdentifierMetadata, CompilePipeMetadata, createHostComponentMeta} from './compile_metadata'; diff --git a/modules/@angular/compiler/src/output/abstract_emitter.ts b/modules/@angular/compiler/src/output/abstract_emitter.ts index 27f88cee2c..a00f31e9ee 100644 --- a/modules/@angular/compiler/src/output/abstract_emitter.ts +++ b/modules/@angular/compiler/src/output/abstract_emitter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {StringWrapper, isBlank, isPresent, isString} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/output/abstract_js_emitter.ts b/modules/@angular/compiler/src/output/abstract_js_emitter.ts index ec739a159d..1ac626b916 100644 --- a/modules/@angular/compiler/src/output/abstract_js_emitter.ts +++ b/modules/@angular/compiler/src/output/abstract_js_emitter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/output/dart_emitter.ts b/modules/@angular/compiler/src/output/dart_emitter.ts index 541cc21a91..43af3e0e9e 100644 --- a/modules/@angular/compiler/src/output/dart_emitter.ts +++ b/modules/@angular/compiler/src/output/dart_emitter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileIdentifierMetadata} from '../compile_metadata'; import {BaseException} from '../facade/exceptions'; import {isArray, isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/output/dart_imports.ts b/modules/@angular/compiler/src/output/dart_imports.ts index 115884d79d..81deba4e39 100644 --- a/modules/@angular/compiler/src/output/dart_imports.ts +++ b/modules/@angular/compiler/src/output/dart_imports.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/compiler/src/output/interpretive_view.ts b/modules/@angular/compiler/src/output/interpretive_view.ts index 11fae8e745..6f1aebbc96 100644 --- a/modules/@angular/compiler/src/output/interpretive_view.ts +++ b/modules/@angular/compiler/src/output/interpretive_view.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AppElement, AppView, DebugAppView} from '../../core_private'; import {BaseException} from '../facade/exceptions'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/output/js_emitter.ts b/modules/@angular/compiler/src/output/js_emitter.ts index 4dcfdda9a3..b08d6835bb 100644 --- a/modules/@angular/compiler/src/output/js_emitter.ts +++ b/modules/@angular/compiler/src/output/js_emitter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '@angular/core'; import {RegExpWrapper, StringWrapper, evalExpression, isBlank, isPresent, isString} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/output/output_ast.ts b/modules/@angular/compiler/src/output/output_ast.ts index e022a5491c..207fed6af9 100644 --- a/modules/@angular/compiler/src/output/output_ast.ts +++ b/modules/@angular/compiler/src/output/output_ast.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileIdentifierMetadata} from '../compile_metadata'; import {isBlank, isPresent, isString} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/output/output_interpreter.ts b/modules/@angular/compiler/src/output/output_interpreter.ts index e929e8aaa4..b503f71f4f 100644 --- a/modules/@angular/compiler/src/output/output_interpreter.ts +++ b/modules/@angular/compiler/src/output/output_interpreter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {reflector} from '../../core_private'; import {ObservableWrapper} from '../facade/async'; import {ListWrapper} from '../facade/collection'; diff --git a/modules/@angular/compiler/src/output/output_jit.ts b/modules/@angular/compiler/src/output/output_jit.ts index ac5b692fe1..55073aa034 100644 --- a/modules/@angular/compiler/src/output/output_jit.ts +++ b/modules/@angular/compiler/src/output/output_jit.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent, evalExpression,} from '../facade/lang'; import * as o from './output_ast'; import {EmitterVisitorContext} from './abstract_emitter'; diff --git a/modules/@angular/compiler/src/output/path_util.ts b/modules/@angular/compiler/src/output/path_util.ts index 6f9f1a0b93..f0142ba5f7 100644 --- a/modules/@angular/compiler/src/output/path_util.ts +++ b/modules/@angular/compiler/src/output/path_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/compiler/src/output/ts_emitter.ts b/modules/@angular/compiler/src/output/ts_emitter.ts index c37d207dfa..5604796603 100644 --- a/modules/@angular/compiler/src/output/ts_emitter.ts +++ b/modules/@angular/compiler/src/output/ts_emitter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileIdentifierMetadata} from '../compile_metadata'; import {BaseException} from '../facade/exceptions'; import {isArray, isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/parse_util.ts b/modules/@angular/compiler/src/parse_util.ts index e330b0358c..8bfaeb378a 100644 --- a/modules/@angular/compiler/src/parse_util.ts +++ b/modules/@angular/compiler/src/parse_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export class ParseLocation { constructor( public file: ParseSourceFile, public offset: number, public line: number, diff --git a/modules/@angular/compiler/src/pipe_resolver.ts b/modules/@angular/compiler/src/pipe_resolver.ts index ccb23e346c..bc85132677 100644 --- a/modules/@angular/compiler/src/pipe_resolver.ts +++ b/modules/@angular/compiler/src/pipe_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, PipeMetadata, resolveForwardRef} from '@angular/core'; import {ReflectorReader, reflector} from '../core_private'; diff --git a/modules/@angular/compiler/src/provider_parser.ts b/modules/@angular/compiler/src/provider_parser.ts index eb17483005..1ac718f80a 100644 --- a/modules/@angular/compiler/src/provider_parser.ts +++ b/modules/@angular/compiler/src/provider_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../src/facade/collection'; import {isArray, isBlank, isPresent, normalizeBlank} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/src/runtime_compiler.ts b/modules/@angular/compiler/src/runtime_compiler.ts index 8275c27cfa..8126753452 100644 --- a/modules/@angular/compiler/src/runtime_compiler.ts +++ b/modules/@angular/compiler/src/runtime_compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentFactory, ComponentResolver, Injectable} from '@angular/core'; import {BaseException} from '../src/facade/exceptions'; diff --git a/modules/@angular/compiler/src/schema/dom_element_schema_registry.ts b/modules/@angular/compiler/src/schema/dom_element_schema_registry.ts index c9e2b650cc..9f9e6b0348 100644 --- a/modules/@angular/compiler/src/schema/dom_element_schema_registry.ts +++ b/modules/@angular/compiler/src/schema/dom_element_schema_registry.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {SecurityContext} from '../../core_private'; diff --git a/modules/@angular/compiler/src/schema/dom_security_schema.ts b/modules/@angular/compiler/src/schema/dom_security_schema.ts index fe96b7d7c0..6fc40d1bcc 100644 --- a/modules/@angular/compiler/src/schema/dom_security_schema.ts +++ b/modules/@angular/compiler/src/schema/dom_security_schema.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {SecurityContext} from '../../core_private'; // ================================================================================================= diff --git a/modules/@angular/compiler/src/schema/element_schema_registry.ts b/modules/@angular/compiler/src/schema/element_schema_registry.ts index 8b3e0c70b1..d9503616bc 100644 --- a/modules/@angular/compiler/src/schema/element_schema_registry.ts +++ b/modules/@angular/compiler/src/schema/element_schema_registry.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export abstract class ElementSchemaRegistry { abstract hasProperty(tagName: string, propName: string): boolean; abstract securityContext(tagName: string, propName: string): any; diff --git a/modules/@angular/compiler/src/selector.ts b/modules/@angular/compiler/src/selector.ts index 2f6a41a43e..347f6d02b3 100644 --- a/modules/@angular/compiler/src/selector.ts +++ b/modules/@angular/compiler/src/selector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper, Map} from '../src/facade/collection'; import {BaseException} from '../src/facade/exceptions'; import {RegExpMatcherWrapper, RegExpWrapper, StringWrapper, isBlank, isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/src/shadow_css.ts b/modules/@angular/compiler/src/shadow_css.ts index cb795ce3b9..e3f5c8f263 100644 --- a/modules/@angular/compiler/src/shadow_css.ts +++ b/modules/@angular/compiler/src/shadow_css.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../src/facade/collection'; import {RegExp, RegExpMatcherWrapper, RegExpWrapper, StringWrapper, isBlank, isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/src/style_compiler.ts b/modules/@angular/compiler/src/style_compiler.ts index c4e8a0f938..b1b7e2e9cc 100644 --- a/modules/@angular/compiler/src/style_compiler.ts +++ b/modules/@angular/compiler/src/style_compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, ViewEncapsulation} from '@angular/core'; import {isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/src/style_url_resolver.ts b/modules/@angular/compiler/src/style_url_resolver.ts index b385655622..cbc5634563 100644 --- a/modules/@angular/compiler/src/style_url_resolver.ts +++ b/modules/@angular/compiler/src/style_url_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Some of the code comes from WebComponents.JS // https://github.com/webcomponents/webcomponentsjs/blob/master/src/HTMLImports/path.js diff --git a/modules/@angular/compiler/src/template_ast.ts b/modules/@angular/compiler/src/template_ast.ts index 8db08c600a..ce78210609 100644 --- a/modules/@angular/compiler/src/template_ast.ts +++ b/modules/@angular/compiler/src/template_ast.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent} from '../src/facade/lang'; import {AST} from './expression_parser/ast'; diff --git a/modules/@angular/compiler/src/template_parser.ts b/modules/@angular/compiler/src/template_parser.ts index 1c383a71ae..40361534b1 100644 --- a/modules/@angular/compiler/src/template_parser.ts +++ b/modules/@angular/compiler/src/template_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, OpaqueToken, Optional} from '@angular/core'; import {Console, MAX_INTERPOLATION_VALUES, SecurityContext} from '../core_private'; diff --git a/modules/@angular/compiler/src/template_preparser.ts b/modules/@angular/compiler/src/template_preparser.ts index 7baa21cede..4528a80ca1 100644 --- a/modules/@angular/compiler/src/template_preparser.ts +++ b/modules/@angular/compiler/src/template_preparser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isBlank} from '../src/facade/lang'; import {HtmlElementAst} from './html_ast'; diff --git a/modules/@angular/compiler/src/url_resolver.ts b/modules/@angular/compiler/src/url_resolver.ts index 39397d5200..c4e2694018 100644 --- a/modules/@angular/compiler/src/url_resolver.ts +++ b/modules/@angular/compiler/src/url_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, PACKAGE_ROOT_URL} from '@angular/core'; import {StringWrapper, isPresent, isBlank, RegExpWrapper,} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/src/util.ts b/modules/@angular/compiler/src/util.ts index 2efbef948d..ba3f671850 100644 --- a/modules/@angular/compiler/src/util.ts +++ b/modules/@angular/compiler/src/util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringMapWrapper} from './facade/collection'; import {IS_DART, StringWrapper, isArray, isBlank, isPrimitive, isStrictStringMap} from './facade/lang'; diff --git a/modules/@angular/compiler/src/view_compiler/compile_binding.ts b/modules/@angular/compiler/src/view_compiler/compile_binding.ts index b4da07a07a..de5b7b615d 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_binding.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_binding.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {TemplateAst} from '../template_ast'; import {CompileNode} from './compile_element'; diff --git a/modules/@angular/compiler/src/view_compiler/compile_element.ts b/modules/@angular/compiler/src/view_compiler/compile_element.ts index 461dc6c031..c7318806df 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_element.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_element.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '@angular/core'; import {ListWrapper, StringMapWrapper} from '../facade/collection'; diff --git a/modules/@angular/compiler/src/view_compiler/compile_method.ts b/modules/@angular/compiler/src/view_compiler/compile_method.ts index 53dcc07b9a..4f70095333 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_method.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_method.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../facade/collection'; import {isPresent} from '../facade/lang'; import * as o from '../output/output_ast'; diff --git a/modules/@angular/compiler/src/view_compiler/compile_pipe.ts b/modules/@angular/compiler/src/view_compiler/compile_pipe.ts index a55aef9f74..175bfc83c6 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_pipe.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_pipe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompilePipeMetadata} from '../compile_metadata'; import {BaseException} from '../facade/exceptions'; import {isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/view_compiler/compile_query.ts b/modules/@angular/compiler/src/view_compiler/compile_query.ts index 54a3420be0..8b6ae7b5c5 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_query.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_query.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileQueryMetadata, CompileTokenMap} from '../compile_metadata'; import {ListWrapper} from '../facade/collection'; import {isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/view_compiler/compile_view.ts b/modules/@angular/compiler/src/view_compiler/compile_view.ts index c749aea3a2..1b06ee2759 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_view.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_view.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ViewType} from '../../core_private'; import {CompiledAnimation} from '../animation/animation_compiler'; import {CompileDirectiveMetadata, CompileIdentifierMetadata, CompilePipeMetadata, CompileTokenMap} from '../compile_metadata'; diff --git a/modules/@angular/compiler/src/view_compiler/constants.ts b/modules/@angular/compiler/src/view_compiler/constants.ts index ace3574a19..9014d5d02b 100644 --- a/modules/@angular/compiler/src/view_compiler/constants.ts +++ b/modules/@angular/compiler/src/view_compiler/constants.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; import {ChangeDetectorState, ViewType} from '../../core_private'; diff --git a/modules/@angular/compiler/src/view_compiler/event_binder.ts b/modules/@angular/compiler/src/view_compiler/event_binder.ts index 77794e1d98..f3d8c0af9e 100644 --- a/modules/@angular/compiler/src/view_compiler/event_binder.ts +++ b/modules/@angular/compiler/src/view_compiler/event_binder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileDirectiveMetadata} from '../compile_metadata'; import {ListWrapper, StringMapWrapper} from '../facade/collection'; import {StringWrapper, isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/view_compiler/expression_converter.ts b/modules/@angular/compiler/src/view_compiler/expression_converter.ts index c4a564a0d9..e7045b4daa 100644 --- a/modules/@angular/compiler/src/view_compiler/expression_converter.ts +++ b/modules/@angular/compiler/src/view_compiler/expression_converter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as cdAst from '../expression_parser/ast'; import {BaseException} from '../facade/exceptions'; import {isArray, isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/view_compiler/lifecycle_binder.ts b/modules/@angular/compiler/src/view_compiler/lifecycle_binder.ts index 9ba992b903..54a4863349 100644 --- a/modules/@angular/compiler/src/view_compiler/lifecycle_binder.ts +++ b/modules/@angular/compiler/src/view_compiler/lifecycle_binder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {LifecycleHooks} from '../../core_private'; import {CompileDirectiveMetadata, CompilePipeMetadata} from '../compile_metadata'; import * as o from '../output/output_ast'; diff --git a/modules/@angular/compiler/src/view_compiler/property_binder.ts b/modules/@angular/compiler/src/view_compiler/property_binder.ts index 7ff089d17c..62ea63fae2 100644 --- a/modules/@angular/compiler/src/view_compiler/property_binder.ts +++ b/modules/@angular/compiler/src/view_compiler/property_binder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EMPTY_STATE as EMPTY_ANIMATION_STATE, LifecycleHooks, SecurityContext, isDefaultChangeDetectionStrategy} from '../../core_private'; import * as cdAst from '../expression_parser/ast'; import {isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/compiler/src/view_compiler/util.ts b/modules/@angular/compiler/src/view_compiler/util.ts index 99e3f2beec..f89a8a51d2 100644 --- a/modules/@angular/compiler/src/view_compiler/util.ts +++ b/modules/@angular/compiler/src/view_compiler/util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {isBlank, isPresent} from '../facade/lang'; import * as o from '../output/output_ast'; diff --git a/modules/@angular/compiler/src/view_compiler/view_binder.ts b/modules/@angular/compiler/src/view_compiler/view_binder.ts index 5d06c44d2d..5a6acc8325 100644 --- a/modules/@angular/compiler/src/view_compiler/view_binder.ts +++ b/modules/@angular/compiler/src/view_compiler/view_binder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper,} from '../facade/collection'; import {TemplateAst, TemplateAstVisitor, NgContentAst, EmbeddedTemplateAst, ElementAst, ReferenceAst, VariableAst, BoundEventAst, BoundElementPropertyAst, AttrAst, BoundTextAst, TextAst, DirectiveAst, BoundDirectivePropertyAst, templateVisitAll,} from '../template_ast'; import {bindRenderText, bindRenderInputs, bindDirectiveInputs, bindDirectiveHostProps} from './property_binder'; diff --git a/modules/@angular/compiler/src/view_compiler/view_builder.ts b/modules/@angular/compiler/src/view_compiler/view_builder.ts index 1548edac19..4224487a39 100644 --- a/modules/@angular/compiler/src/view_compiler/view_builder.ts +++ b/modules/@angular/compiler/src/view_compiler/view_builder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; import {ViewType, isDefaultChangeDetectionStrategy} from '../../core_private'; diff --git a/modules/@angular/compiler/src/view_compiler/view_compiler.ts b/modules/@angular/compiler/src/view_compiler/view_compiler.ts index 94ec785cc0..6edf63a2ff 100644 --- a/modules/@angular/compiler/src/view_compiler/view_compiler.ts +++ b/modules/@angular/compiler/src/view_compiler/view_compiler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {AnimationCompiler} from '../animation/animation_compiler'; diff --git a/modules/@angular/compiler/src/view_resolver.ts b/modules/@angular/compiler/src/view_resolver.ts index 96990a13e0..bb3c9bd4d4 100644 --- a/modules/@angular/compiler/src/view_resolver.ts +++ b/modules/@angular/compiler/src/view_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, ViewMetadata, ComponentMetadata,} from '@angular/core'; import {ReflectorReader, reflector} from '../core_private'; diff --git a/modules/@angular/compiler/src/xhr.ts b/modules/@angular/compiler/src/xhr.ts index f9b9e20e94..c3847a3257 100644 --- a/modules/@angular/compiler/src/xhr.ts +++ b/modules/@angular/compiler/src/xhr.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // TODO: vsavkin rename it into TemplateLoader /** * An interface for retrieving documents by URL that the compiler uses diff --git a/modules/@angular/compiler/test/animation/animation_compiler_spec.ts b/modules/@angular/compiler/test/animation/animation_compiler_spec.ts index 8801a9699c..42448c7749 100644 --- a/modules/@angular/compiler/test/animation/animation_compiler_spec.ts +++ b/modules/@angular/compiler/test/animation/animation_compiler_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationMetadata, animate, group, sequence, style, transition, trigger} from '@angular/core'; import {AsyncTestCompleter, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/animation/animation_parser_spec.ts b/modules/@angular/compiler/test/animation/animation_parser_spec.ts index 679a6022ab..705ff17a4d 100644 --- a/modules/@angular/compiler/test/animation/animation_parser_spec.ts +++ b/modules/@angular/compiler/test/animation/animation_parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationAnimateMetadata, AnimationGroupMetadata, AnimationMetadata, AnimationSequenceMetadata, AnimationStyleMetadata, AnimationWithStepsMetadata, animate, group, keyframes, sequence, state, style, transition, trigger} from '@angular/core'; import {AsyncTestCompleter, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/compile_metadata_spec.ts b/modules/@angular/compiler/test/compile_metadata_spec.ts index d239c96257..14b87cefa7 100644 --- a/modules/@angular/compiler/test/compile_metadata_spec.ts +++ b/modules/@angular/compiler/test/compile_metadata_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {CompileDirectiveMetadata, CompileTypeMetadata, CompileTemplateMetadata, CompileProviderMetadata, CompileDiDependencyMetadata, CompileQueryMetadata, CompileIdentifierMetadata, CompileFactoryMetadata, CompileTokenMetadata, CompileAnimationEntryMetadata, CompileAnimationStyleMetadata, CompileAnimationAnimateMetadata, CompileAnimationSequenceMetadata, CompileAnimationStateTransitionMetadata, CompileAnimationKeyframesSequenceMetadata, CompileAnimationGroupMetadata} from '@angular/compiler/src/compile_metadata'; diff --git a/modules/@angular/compiler/test/css_lexer_spec.ts b/modules/@angular/compiler/test/css_lexer_spec.ts index 3ededee952..3d302f4b37 100644 --- a/modules/@angular/compiler/test/css_lexer_spec.ts +++ b/modules/@angular/compiler/test/css_lexer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../core/testing/testing_internal'; import {CssLexer, CssLexerMode, CssScannerError, CssToken, CssTokenType} from '../src/css_lexer'; import {isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/test/css_parser_spec.ts b/modules/@angular/compiler/test/css_parser_spec.ts index 1f80b8d867..4dacf6ddcc 100644 --- a/modules/@angular/compiler/test/css_parser_spec.ts +++ b/modules/@angular/compiler/test/css_parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../core/testing/testing_internal'; import {CssLexer} from '../src/css_lexer'; import {BlockType, CssBlockAst, CssBlockDefinitionRuleAst, CssBlockRuleAst, CssDefinitionAst, CssInlineRuleAst, CssKeyframeDefinitionAst, CssKeyframeRuleAst, CssMediaQueryRuleAst, CssParseError, CssParser, CssRuleAst, CssSelectorAst, CssSelectorRuleAst, CssStyleSheetAst, CssStyleValueAst, ParsedCssResult} from '../src/css_parser'; diff --git a/modules/@angular/compiler/test/css_visitor_spec.ts b/modules/@angular/compiler/test/css_visitor_spec.ts index 4dbe6c554e..8ee43bc29a 100644 --- a/modules/@angular/compiler/test/css_visitor_spec.ts +++ b/modules/@angular/compiler/test/css_visitor_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '../../core/testing/testing_internal'; import {CssLexer} from '../src/css_lexer'; import {BlockType, CssAst, CssAstVisitor, CssAtRulePredicateAst, CssBlockAst, CssBlockDefinitionRuleAst, CssBlockRuleAst, CssDefinitionAst, CssInlineRuleAst, CssKeyframeDefinitionAst, CssKeyframeRuleAst, CssMediaQueryRuleAst, CssParseError, CssParser, CssPseudoSelectorAst, CssRuleAst, CssSelectorAst, CssSelectorRuleAst, CssSimpleSelectorAst, CssStyleSheetAst, CssStyleValueAst, CssStylesBlockAst, CssToken, CssUnknownRuleAst, CssUnknownTokenListAst} from '../src/css_parser'; diff --git a/modules/@angular/compiler/test/directive_lifecycle_spec.ts b/modules/@angular/compiler/test/directive_lifecycle_spec.ts index 2f0d60351c..aec62af0d7 100644 --- a/modules/@angular/compiler/test/directive_lifecycle_spec.ts +++ b/modules/@angular/compiler/test/directive_lifecycle_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, xdescribe, ddescribe, describe, expect, iit, inject, it,} from '@angular/core/testing/testing_internal'; import {hasLifecycleHook} from '@angular/compiler/src/directive_lifecycle_reflector'; diff --git a/modules/@angular/compiler/test/directive_normalizer_spec.ts b/modules/@angular/compiler/test/directive_normalizer_spec.ts index 8a601f979c..7f50b7326a 100644 --- a/modules/@angular/compiler/test/directive_normalizer_spec.ts +++ b/modules/@angular/compiler/test/directive_normalizer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileTemplateMetadata, CompileTypeMetadata} from '@angular/compiler/src/compile_metadata'; import {CompilerConfig} from '@angular/compiler/src/config'; import {DirectiveNormalizer} from '@angular/compiler/src/directive_normalizer'; diff --git a/modules/@angular/compiler/test/directive_resolver_spec.ts b/modules/@angular/compiler/test/directive_resolver_spec.ts index 7d261791a1..d2d0621d08 100644 --- a/modules/@angular/compiler/test/directive_resolver_spec.ts +++ b/modules/@angular/compiler/test/directive_resolver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DirectiveResolver} from '@angular/compiler/src/directive_resolver'; import {ContentChild, ContentChildMetadata, ContentChildren, ContentChildrenMetadata, Directive, DirectiveMetadata, HostBinding, HostListener, Input, Output, ViewChild, ViewChildMetadata, ViewChildren, ViewChildrenMetadata} from '@angular/core/src/metadata'; import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing'; diff --git a/modules/@angular/compiler/test/expression_parser/lexer_spec.ts b/modules/@angular/compiler/test/expression_parser/lexer_spec.ts index c21ffe2258..e8577a9e65 100644 --- a/modules/@angular/compiler/test/expression_parser/lexer_spec.ts +++ b/modules/@angular/compiler/test/expression_parser/lexer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Lexer, Token} from '@angular/compiler/src/expression_parser/lexer'; import {ddescribe, describe, expect, it} from '@angular/core/testing'; diff --git a/modules/@angular/compiler/test/expression_parser/parser_spec.ts b/modules/@angular/compiler/test/expression_parser/parser_spec.ts index 0e9f879aaf..43a43983ed 100644 --- a/modules/@angular/compiler/test/expression_parser/parser_spec.ts +++ b/modules/@angular/compiler/test/expression_parser/parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AST, BindingPipe} from '@angular/compiler/src/expression_parser/ast'; import {Lexer} from '@angular/compiler/src/expression_parser/lexer'; import {Parser} from '@angular/compiler/src/expression_parser/parser'; diff --git a/modules/@angular/compiler/test/expression_parser/unparser.ts b/modules/@angular/compiler/test/expression_parser/unparser.ts index 96f972317a..c69dfca53d 100644 --- a/modules/@angular/compiler/test/expression_parser/unparser.ts +++ b/modules/@angular/compiler/test/expression_parser/unparser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AST, AstVisitor, Binary, BindingPipe, Chain, Conditional, EmptyExpr, FunctionCall, ImplicitReceiver, Interpolation, KeyedRead, KeyedWrite, LiteralArray, LiteralMap, LiteralPrimitive, MethodCall, PrefixNot, PropertyRead, PropertyWrite, Quote, SafeMethodCall, SafePropertyRead} from '../../src/expression_parser/ast'; import {StringWrapper, isPresent, isString} from '../../src/facade/lang'; import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig} from '../../src/interpolation_config'; diff --git a/modules/@angular/compiler/test/html_ast_spec_utils.ts b/modules/@angular/compiler/test/html_ast_spec_utils.ts index 72744527ba..1df5042691 100644 --- a/modules/@angular/compiler/test/html_ast_spec_utils.ts +++ b/modules/@angular/compiler/test/html_ast_spec_utils.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlAst, HtmlAstVisitor, HtmlAttrAst, HtmlCommentAst, HtmlElementAst, HtmlExpansionAst, HtmlExpansionCaseAst, HtmlTextAst, htmlVisitAll} from '@angular/compiler/src/html_ast'; import {HtmlParseTreeResult} from '@angular/compiler/src/html_parser'; import {ParseLocation} from '@angular/compiler/src/parse_util'; diff --git a/modules/@angular/compiler/test/html_lexer_spec.ts b/modules/@angular/compiler/test/html_lexer_spec.ts index e23d85a638..f6076196e6 100644 --- a/modules/@angular/compiler/test/html_lexer_spec.ts +++ b/modules/@angular/compiler/test/html_lexer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlToken, HtmlTokenError, HtmlTokenType, tokenizeHtml} from '@angular/compiler/src/html_lexer'; import {InterpolationConfig} from '@angular/compiler/src/interpolation_config'; import {ParseLocation, ParseSourceFile, ParseSourceSpan} from '@angular/compiler/src/parse_util'; diff --git a/modules/@angular/compiler/test/html_parser_spec.ts b/modules/@angular/compiler/test/html_parser_spec.ts index 3e4dc1ceb8..133f61eda3 100644 --- a/modules/@angular/compiler/test/html_parser_spec.ts +++ b/modules/@angular/compiler/test/html_parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlAttrAst, HtmlCommentAst, HtmlElementAst, HtmlExpansionAst, HtmlExpansionCaseAst, HtmlTextAst} from '@angular/compiler/src/html_ast'; import {HtmlTokenType} from '@angular/compiler/src/html_lexer'; import {HtmlParseTreeResult, HtmlParser, HtmlTreeError} from '@angular/compiler/src/html_parser'; diff --git a/modules/@angular/compiler/test/i18n/expander_spec.ts b/modules/@angular/compiler/test/i18n/expander_spec.ts index 1e8793b799..a5a3e9c6a8 100644 --- a/modules/@angular/compiler/test/i18n/expander_spec.ts +++ b/modules/@angular/compiler/test/i18n/expander_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlAttrAst, HtmlElementAst, HtmlTextAst} from '@angular/compiler/src/html_ast'; import {HtmlParser} from '@angular/compiler/src/html_parser'; import {ExpansionResult, expandNodes} from '@angular/compiler/src/i18n/expander'; diff --git a/modules/@angular/compiler/test/i18n/i18n_html_parser_spec.ts b/modules/@angular/compiler/test/i18n/i18n_html_parser_spec.ts index 92e278dbdb..6c1d5f5fa6 100644 --- a/modules/@angular/compiler/test/i18n/i18n_html_parser_spec.ts +++ b/modules/@angular/compiler/test/i18n/i18n_html_parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Lexer} from '@angular/compiler/src/expression_parser/lexer'; import {Parser} from '@angular/compiler/src/expression_parser/parser'; import {HtmlAttrAst, HtmlElementAst, HtmlTextAst} from '@angular/compiler/src/html_ast'; diff --git a/modules/@angular/compiler/test/i18n/message_extractor_spec.ts b/modules/@angular/compiler/test/i18n/message_extractor_spec.ts index c26dd723b6..05d335ccd9 100644 --- a/modules/@angular/compiler/test/i18n/message_extractor_spec.ts +++ b/modules/@angular/compiler/test/i18n/message_extractor_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Lexer} from '@angular/compiler/src/expression_parser/lexer'; import {Parser} from '@angular/compiler/src/expression_parser/parser'; import {HtmlParser} from '@angular/compiler/src/html_parser'; diff --git a/modules/@angular/compiler/test/i18n/message_spec.ts b/modules/@angular/compiler/test/i18n/message_spec.ts index 2f7a6c1da3..3633325f1e 100644 --- a/modules/@angular/compiler/test/i18n/message_spec.ts +++ b/modules/@angular/compiler/test/i18n/message_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Message, id} from '@angular/compiler/src/i18n/message'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/i18n/xmb_serializer_spec.ts b/modules/@angular/compiler/test/i18n/xmb_serializer_spec.ts index 936505b875..1aad51e2eb 100644 --- a/modules/@angular/compiler/test/i18n/xmb_serializer_spec.ts +++ b/modules/@angular/compiler/test/i18n/xmb_serializer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlAst} from '@angular/compiler/src/html_ast'; import {Message, id} from '@angular/compiler/src/i18n/message'; import {deserializeXmb, serializeXmb} from '@angular/compiler/src/i18n/xmb_serializer'; diff --git a/modules/@angular/compiler/test/metadata_resolver_fixture.ts b/modules/@angular/compiler/test/metadata_resolver_fixture.ts index e6668a3273..cc8f2a7bd0 100644 --- a/modules/@angular/compiler/test/metadata_resolver_fixture.ts +++ b/modules/@angular/compiler/test/metadata_resolver_fixture.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({styles: ('foo'), template: ''}) diff --git a/modules/@angular/compiler/test/metadata_resolver_spec.ts b/modules/@angular/compiler/test/metadata_resolver_spec.ts index 32f4a97fe7..10677b117a 100644 --- a/modules/@angular/compiler/test/metadata_resolver_spec.ts +++ b/modules/@angular/compiler/test/metadata_resolver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompilerConfig} from '@angular/compiler/src/config'; import {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, ChangeDetectionStrategy, Component, Directive, DoCheck, Injectable, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewEncapsulation} from '@angular/core'; import {LIFECYCLE_HOOKS_VALUES} from '@angular/core/src/metadata/lifecycle_hooks'; diff --git a/modules/@angular/compiler/test/offline_compiler_codegen_typed.ts b/modules/@angular/compiler/test/offline_compiler_codegen_typed.ts index f881c1e69c..d9041f8403 100644 --- a/modules/@angular/compiler/test/offline_compiler_codegen_typed.ts +++ b/modules/@angular/compiler/test/offline_compiler_codegen_typed.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // ATTENTION: This file will be overwritten with generated code by main() import {DartEmitter} from '@angular/compiler/src/output/dart_emitter'; import {DartImportGenerator} from '@angular/compiler/src/output/dart_imports'; diff --git a/modules/@angular/compiler/test/offline_compiler_codegen_untyped.ts b/modules/@angular/compiler/test/offline_compiler_codegen_untyped.ts index d825058d3c..40aed4c8b7 100644 --- a/modules/@angular/compiler/test/offline_compiler_codegen_untyped.ts +++ b/modules/@angular/compiler/test/offline_compiler_codegen_untyped.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // ATTENTION: This file will be overwritten with generated code by main() import {JavaScriptEmitter} from '@angular/compiler/src/output/js_emitter'; import {ComponentFactory} from '@angular/core/src/linker/component_factory'; diff --git a/modules/@angular/compiler/test/offline_compiler_compa.css.shim.ts b/modules/@angular/compiler/test/offline_compiler_compa.css.shim.ts index 2bf530a6ab..ab2f0fae33 100644 --- a/modules/@angular/compiler/test/offline_compiler_compa.css.shim.ts +++ b/modules/@angular/compiler/test/offline_compiler_compa.css.shim.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export const styles = /*@ts2dart_const*/[`.greenStyle[_ngcontent-a-1] { color: green; }`]; diff --git a/modules/@angular/compiler/test/offline_compiler_spec.ts b/modules/@angular/compiler/test/offline_compiler_spec.ts index 7842a105c9..2d95f8fbaf 100644 --- a/modules/@angular/compiler/test/offline_compiler_spec.ts +++ b/modules/@angular/compiler/test/offline_compiler_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, xdescribe, it, iit, xit, expect, beforeEach, afterEach, inject, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {IS_DART} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/test/offline_compiler_util.ts b/modules/@angular/compiler/test/offline_compiler_util.ts index f7aec83358..6bab5adb75 100644 --- a/modules/@angular/compiler/test/offline_compiler_util.ts +++ b/modules/@angular/compiler/test/offline_compiler_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileDirectiveMetadata, CompileTemplateMetadata, CompileTypeMetadata} from '@angular/compiler/src/compile_metadata'; import {CompilerConfig} from '@angular/compiler/src/config'; import {DirectiveNormalizer} from '@angular/compiler/src/directive_normalizer'; diff --git a/modules/@angular/compiler/test/output/abstract_emitter_spec.ts b/modules/@angular/compiler/test/output/abstract_emitter_spec.ts index b8ebb9d4f9..16e688d466 100644 --- a/modules/@angular/compiler/test/output/abstract_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/abstract_emitter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {escapeSingleQuoteString} from '@angular/compiler/src/output/abstract_emitter'; diff --git a/modules/@angular/compiler/test/output/dart_emitter_spec.ts b/modules/@angular/compiler/test/output/dart_emitter_spec.ts index 7ac3548548..eedafad9de 100644 --- a/modules/@angular/compiler/test/output/dart_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/dart_emitter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {isBlank} from '../../src/facade/lang'; diff --git a/modules/@angular/compiler/test/output/dart_imports_spec.ts b/modules/@angular/compiler/test/output/dart_imports_spec.ts index b58aead58b..9198278387 100644 --- a/modules/@angular/compiler/test/output/dart_imports_spec.ts +++ b/modules/@angular/compiler/test/output/dart_imports_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {DartImportGenerator} from '@angular/compiler/src/output/dart_imports'; diff --git a/modules/@angular/compiler/test/output/js_emitter_spec.ts b/modules/@angular/compiler/test/output/js_emitter_spec.ts index 04318dcfc5..957165cba0 100644 --- a/modules/@angular/compiler/test/output/js_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/js_emitter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {isBlank} from '../../src/facade/lang'; diff --git a/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts b/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts index dfd44401e2..e334de455d 100644 --- a/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts +++ b/modules/@angular/compiler/test/output/output_emitter_codegen_typed.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // ATTENTION: This file will be overwritten with generated code by main() import {DartEmitter} from '@angular/compiler/src/output/dart_emitter'; import {DartImportGenerator} from '@angular/compiler/src/output/dart_imports'; diff --git a/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts b/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts index 0431b05022..b26e751c87 100644 --- a/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts +++ b/modules/@angular/compiler/test/output/output_emitter_codegen_untyped.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // ATTENTION: This file will be overwritten with generated code by main() import {JavaScriptEmitter} from '@angular/compiler/src/output/js_emitter'; diff --git a/modules/@angular/compiler/test/output/output_emitter_spec.ts b/modules/@angular/compiler/test/output/output_emitter_spec.ts index c0a372f574..01c0f88fa2 100644 --- a/modules/@angular/compiler/test/output/output_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/output_emitter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {IS_DART} from '../../src/facade/lang'; diff --git a/modules/@angular/compiler/test/output/output_emitter_util.ts b/modules/@angular/compiler/test/output/output_emitter_util.ts index 490c60d59c..0e70f1061a 100644 --- a/modules/@angular/compiler/test/output/output_emitter_util.ts +++ b/modules/@angular/compiler/test/output/output_emitter_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileIdentifierMetadata} from '@angular/compiler/src/compile_metadata'; import * as o from '@angular/compiler/src/output/output_ast'; import {DynamicInstance, InstanceFactory} from '@angular/compiler/src/output/output_interpreter'; diff --git a/modules/@angular/compiler/test/output/ts_emitter_spec.ts b/modules/@angular/compiler/test/output/ts_emitter_spec.ts index 0fdb393fd6..3589dfb87c 100644 --- a/modules/@angular/compiler/test/output/ts_emitter_spec.ts +++ b/modules/@angular/compiler/test/output/ts_emitter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {isBlank} from '../../src/facade/lang'; diff --git a/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts b/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts index 80692a80c9..d25e0e35f2 100644 --- a/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts +++ b/modules/@angular/compiler/test/schema/dom_element_schema_registry_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlElementAst} from '@angular/compiler/src/html_ast'; import {HtmlParser} from '@angular/compiler/src/html_parser'; import {DomElementSchemaRegistry} from '@angular/compiler/src/schema/dom_element_schema_registry'; diff --git a/modules/@angular/compiler/test/schema/schema_extractor.ts b/modules/@angular/compiler/test/schema/schema_extractor.ts index 2f791c4c1f..bd62e9a985 100644 --- a/modules/@angular/compiler/test/schema/schema_extractor.ts +++ b/modules/@angular/compiler/test/schema/schema_extractor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent, isString} from '../../src/facade/lang'; const SVG_PREFIX = ':svg:'; diff --git a/modules/@angular/compiler/test/selector_spec.ts b/modules/@angular/compiler/test/selector_spec.ts index 6ecba851e9..1b1d3803e5 100644 --- a/modules/@angular/compiler/test/selector_spec.ts +++ b/modules/@angular/compiler/test/selector_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {SelectorMatcher} from '@angular/compiler/src/selector'; import {CssSelector} from '@angular/compiler/src/selector'; import {beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing'; diff --git a/modules/@angular/compiler/test/shadow_css_spec.ts b/modules/@angular/compiler/test/shadow_css_spec.ts index a347a470e3..7b4e5569e0 100644 --- a/modules/@angular/compiler/test/shadow_css_spec.ts +++ b/modules/@angular/compiler/test/shadow_css_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, beforeEach, it, expect, ddescribe, iit,} from '@angular/core/testing/testing_internal'; import {ShadowCss, processRules, CssRule} from '@angular/compiler/src/shadow_css'; diff --git a/modules/@angular/compiler/test/spies.ts b/modules/@angular/compiler/test/spies.ts index a43ff38d18..dcf54225fc 100644 --- a/modules/@angular/compiler/test/spies.ts +++ b/modules/@angular/compiler/test/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {XHR} from '@angular/compiler/src/xhr'; import {SpyObject, proxy} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/style_url_resolver_spec.ts b/modules/@angular/compiler/test/style_url_resolver_spec.ts index 754cb75786..868ed15c42 100644 --- a/modules/@angular/compiler/test/style_url_resolver_spec.ts +++ b/modules/@angular/compiler/test/style_url_resolver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {extractStyleUrls, isStyleUrlResolvable} from '@angular/compiler/src/style_url_resolver'; import {UrlResolver} from '@angular/compiler/src/url_resolver'; import {beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing'; diff --git a/modules/@angular/compiler/test/template_parser_spec.ts b/modules/@angular/compiler/test/template_parser_spec.ts index 9d845fbe36..e5c62ca1cc 100644 --- a/modules/@angular/compiler/test/template_parser_spec.ts +++ b/modules/@angular/compiler/test/template_parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {CompileDiDependencyMetadata, CompileDirectiveMetadata, CompilePipeMetadata, CompileProviderMetadata, CompileQueryMetadata, CompileTemplateMetadata, CompileTokenMetadata, CompileTypeMetadata} from '@angular/compiler/src/compile_metadata'; import {DomElementSchemaRegistry} from '@angular/compiler/src/schema/dom_element_schema_registry'; import {ElementSchemaRegistry} from '@angular/compiler/src/schema/element_schema_registry'; diff --git a/modules/@angular/compiler/test/template_preparser_spec.ts b/modules/@angular/compiler/test/template_preparser_spec.ts index 5d867fd1b7..a64ad1ae73 100644 --- a/modules/@angular/compiler/test/template_preparser_spec.ts +++ b/modules/@angular/compiler/test/template_preparser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HtmlParser} from '@angular/compiler/src/html_parser'; import {PreparsedElement, PreparsedElementType, preparseElement} from '@angular/compiler/src/template_preparser'; import {afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/test_bindings.ts b/modules/@angular/compiler/test/test_bindings.ts index 2ee6254913..f7c44762a9 100644 --- a/modules/@angular/compiler/test/test_bindings.ts +++ b/modules/@angular/compiler/test/test_bindings.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ElementSchemaRegistry, UrlResolver, XHR} from '@angular/compiler'; import {createUrlResolverWithoutPackagePrefix} from '@angular/compiler/src/url_resolver'; import {MockSchemaRegistry, MockXHR} from '@angular/compiler/testing'; diff --git a/modules/@angular/compiler/test/test_component_builder_spec.ts b/modules/@angular/compiler/test/test_component_builder_spec.ts index 29edcb8de6..ed9aaf2a0e 100644 --- a/modules/@angular/compiler/test/test_component_builder_spec.ts +++ b/modules/@angular/compiler/test/test_component_builder_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/url_resolver_spec.ts b/modules/@angular/compiler/test/url_resolver_spec.ts index 9c73236f69..66c64d87b2 100644 --- a/modules/@angular/compiler/test/url_resolver_spec.ts +++ b/modules/@angular/compiler/test/url_resolver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {UrlResolver, createOfflineCompileUrlResolver} from '@angular/compiler/src/url_resolver'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/compiler/test/view_resolver_mock_spec.ts b/modules/@angular/compiler/test/view_resolver_mock_spec.ts index af8106ea1c..9a266687b2 100644 --- a/modules/@angular/compiler/test/view_resolver_mock_spec.ts +++ b/modules/@angular/compiler/test/view_resolver_mock_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, it,} from '@angular/core/testing/testing_internal'; import {stringify} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/test/view_resolver_spec.ts b/modules/@angular/compiler/test/view_resolver_spec.ts index 345a7f5d83..64791ba4e5 100644 --- a/modules/@angular/compiler/test/view_resolver_spec.ts +++ b/modules/@angular/compiler/test/view_resolver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ViewResolver} from '@angular/compiler/src/view_resolver'; import {Component, ViewMetadata} from '@angular/core/src/metadata'; import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing'; diff --git a/modules/@angular/compiler/test/xhr_mock_spec.ts b/modules/@angular/compiler/test/xhr_mock_spec.ts index f827fea0b7..2e8a0ae48c 100644 --- a/modules/@angular/compiler/test/xhr_mock_spec.ts +++ b/modules/@angular/compiler/test/xhr_mock_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {MockXHR} from '@angular/compiler/testing'; diff --git a/modules/@angular/compiler/testing.ts b/modules/@angular/compiler/testing.ts index a003099ab7..cf83c05b84 100644 --- a/modules/@angular/compiler/testing.ts +++ b/modules/@angular/compiler/testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './testing/schema_registry_mock'; export * from './testing/view_resolver_mock'; export * from './testing/xhr_mock'; diff --git a/modules/@angular/compiler/testing/directive_resolver_mock.ts b/modules/@angular/compiler/testing/directive_resolver_mock.ts index 1fb517c43d..735919ad51 100644 --- a/modules/@angular/compiler/testing/directive_resolver_mock.ts +++ b/modules/@angular/compiler/testing/directive_resolver_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentMetadata, DirectiveMetadata, Injectable} from '@angular/core'; import {DirectiveResolver} from '../src/directive_resolver'; diff --git a/modules/@angular/compiler/testing/schema_registry_mock.ts b/modules/@angular/compiler/testing/schema_registry_mock.ts index 891c25b5c2..4445c48290 100644 --- a/modules/@angular/compiler/testing/schema_registry_mock.ts +++ b/modules/@angular/compiler/testing/schema_registry_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {SecurityContext} from '../core_private'; import {ElementSchemaRegistry} from '../index'; import {isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/compiler/testing/test_component_builder.ts b/modules/@angular/compiler/testing/test_component_builder.ts index 72e35845a0..403e4d60d8 100644 --- a/modules/@angular/compiler/testing/test_component_builder.ts +++ b/modules/@angular/compiler/testing/test_component_builder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationEntryMetadata, ChangeDetectorRef, ComponentFactory, ComponentRef, ComponentResolver, DebugElement, ElementRef, Injectable, Injector, NgZone, NgZoneError, OpaqueToken, ViewMetadata, getDebugNode} from '@angular/core'; import {tick} from '@angular/core/testing'; diff --git a/modules/@angular/compiler/testing/view_resolver_mock.ts b/modules/@angular/compiler/testing/view_resolver_mock.ts index bcea5651f1..376b378b6d 100644 --- a/modules/@angular/compiler/testing/view_resolver_mock.ts +++ b/modules/@angular/compiler/testing/view_resolver_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationEntryMetadata, BaseException, Injectable, Type, ViewMetadata, resolveForwardRef} from '@angular/core'; import {ViewResolver} from '../index'; diff --git a/modules/@angular/compiler/testing/xhr_mock.ts b/modules/@angular/compiler/testing/xhr_mock.ts index ca98e34441..ceac5a9b03 100644 --- a/modules/@angular/compiler/testing/xhr_mock.ts +++ b/modules/@angular/compiler/testing/xhr_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '@angular/core'; import {XHR} from '../index'; diff --git a/modules/@angular/core/index.ts b/modules/@angular/core/index.ts index 0a0d1ca3b9..fbb2461d19 100644 --- a/modules/@angular/core/index.ts +++ b/modules/@angular/core/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/core/private_export.ts b/modules/@angular/core/private_export.ts index c61a90961b..bdd2f2772a 100644 --- a/modules/@angular/core/private_export.ts +++ b/modules/@angular/core/private_export.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Provider} from './index'; import {ANY_STATE as ANY_STATE_, DEFAULT_STATE as DEFAULT_STATE_, EMPTY_STATE as EMPTY_STATE_, FILL_STYLE_FLAG as FILL_STYLE_FLAG_} from './src/animation/animation_constants'; import {AnimationDriver as AnimationDriver_, NoOpAnimationDriver as NoOpAnimationDriver_} from './src/animation/animation_driver'; diff --git a/modules/@angular/core/src/animation/active_animation_players_map.ts b/modules/@angular/core/src/animation/active_animation_players_map.ts index af65bf56f5..d8c25c5ae4 100644 --- a/modules/@angular/core/src/animation/active_animation_players_map.ts +++ b/modules/@angular/core/src/animation/active_animation_players_map.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper, Map, StringMapWrapper} from '../facade/collection'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/core/src/animation/animation_constants.ts b/modules/@angular/core/src/animation/animation_constants.ts index 748a54bb1c..f269580559 100644 --- a/modules/@angular/core/src/animation/animation_constants.ts +++ b/modules/@angular/core/src/animation/animation_constants.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export const FILL_STYLE_FLAG = 'true'; // TODO (matsko): change to boolean export const ANY_STATE = '*'; export const DEFAULT_STATE = '*'; diff --git a/modules/@angular/core/src/animation/animation_driver.ts b/modules/@angular/core/src/animation/animation_driver.ts index 75223ae300..fcea0ff345 100644 --- a/modules/@angular/core/src/animation/animation_driver.ts +++ b/modules/@angular/core/src/animation/animation_driver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationKeyframe} from './animation_keyframe'; import {AnimationPlayer, NoOpAnimationPlayer} from './animation_player'; import {AnimationStyles} from './animation_styles'; diff --git a/modules/@angular/core/src/animation/animation_group_player.ts b/modules/@angular/core/src/animation/animation_group_player.ts index 6ed9ce8b66..7ff5ece83a 100644 --- a/modules/@angular/core/src/animation/animation_group_player.ts +++ b/modules/@angular/core/src/animation/animation_group_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent, scheduleMicroTask} from '../facade/lang'; import {Math} from '../facade/math'; diff --git a/modules/@angular/core/src/animation/animation_keyframe.ts b/modules/@angular/core/src/animation/animation_keyframe.ts index 64f62c14e9..f33aeeaff4 100644 --- a/modules/@angular/core/src/animation/animation_keyframe.ts +++ b/modules/@angular/core/src/animation/animation_keyframe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationStyles} from './animation_styles'; export class AnimationKeyframe { diff --git a/modules/@angular/core/src/animation/animation_player.ts b/modules/@angular/core/src/animation/animation_player.ts index 8c530637a4..a8e07841c9 100644 --- a/modules/@angular/core/src/animation/animation_player.ts +++ b/modules/@angular/core/src/animation/animation_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {scheduleMicroTask} from '../facade/lang'; diff --git a/modules/@angular/core/src/animation/animation_sequence_player.ts b/modules/@angular/core/src/animation/animation_sequence_player.ts index 801f1d5386..4738441f72 100644 --- a/modules/@angular/core/src/animation/animation_sequence_player.ts +++ b/modules/@angular/core/src/animation/animation_sequence_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isPresent, scheduleMicroTask} from '../facade/lang'; import {AnimationPlayer, NoOpAnimationPlayer} from './animation_player'; diff --git a/modules/@angular/core/src/animation/animation_style_util.ts b/modules/@angular/core/src/animation/animation_style_util.ts index d9ba2e461a..94f9d15bef 100644 --- a/modules/@angular/core/src/animation/animation_style_util.ts +++ b/modules/@angular/core/src/animation/animation_style_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper, StringMapWrapper} from '../facade/collection'; import {isArray, isPresent} from '../facade/lang'; diff --git a/modules/@angular/core/src/animation/animation_styles.ts b/modules/@angular/core/src/animation/animation_styles.ts index a0ca3bd66d..78f249969d 100644 --- a/modules/@angular/core/src/animation/animation_styles.ts +++ b/modules/@angular/core/src/animation/animation_styles.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export class AnimationStyles { constructor(public styles: {[key: string]: string | number}[]) {} } diff --git a/modules/@angular/core/src/animation/metadata.ts b/modules/@angular/core/src/animation/metadata.ts index 80a9ea19e9..4c269c14cc 100644 --- a/modules/@angular/core/src/animation/metadata.ts +++ b/modules/@angular/core/src/animation/metadata.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {NumberWrapper, isArray, isPresent, isString, isStringMap} from '../facade/lang'; diff --git a/modules/@angular/core/src/application_common_providers.ts b/modules/@angular/core/src/application_common_providers.ts index 9ec91c807d..d868b43297 100644 --- a/modules/@angular/core/src/application_common_providers.ts +++ b/modules/@angular/core/src/application_common_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../src/facade/lang'; import {APPLICATION_CORE_PROVIDERS} from './application_ref'; diff --git a/modules/@angular/core/src/application_ref.ts b/modules/@angular/core/src/application_ref.ts index e3fc2fda40..7fbebcfb78 100644 --- a/modules/@angular/core/src/application_ref.ts +++ b/modules/@angular/core/src/application_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ObservableWrapper, PromiseWrapper} from '../src/facade/async'; import {ListWrapper} from '../src/facade/collection'; import {BaseException, ExceptionHandler, unimplemented} from '../src/facade/exceptions'; diff --git a/modules/@angular/core/src/application_tokens.ts b/modules/@angular/core/src/application_tokens.ts index 67f047c23e..b45327ab87 100644 --- a/modules/@angular/core/src/application_tokens.ts +++ b/modules/@angular/core/src/application_tokens.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Math, StringWrapper} from '../src/facade/lang'; import {OpaqueToken} from './di'; diff --git a/modules/@angular/core/src/change_detection.ts b/modules/@angular/core/src/change_detection.ts index 91a228737a..eb69cbe908 100644 --- a/modules/@angular/core/src/change_detection.ts +++ b/modules/@angular/core/src/change_detection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/core/src/change_detection/change_detection.ts b/modules/@angular/core/src/change_detection/change_detection.ts index deb5c017ed..cc84f2a9bb 100644 --- a/modules/@angular/core/src/change_detection/change_detection.ts +++ b/modules/@angular/core/src/change_detection/change_detection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DefaultIterableDifferFactory} from './differs/default_iterable_differ'; import {DefaultKeyValueDifferFactory, KeyValueChangeRecord} from './differs/default_keyvalue_differ'; import {IterableDifferFactory, IterableDiffers} from './differs/iterable_differs'; diff --git a/modules/@angular/core/src/change_detection/change_detection_util.ts b/modules/@angular/core/src/change_detection/change_detection_util.ts index e5bfb96ff1..80b22a480e 100644 --- a/modules/@angular/core/src/change_detection/change_detection_util.ts +++ b/modules/@angular/core/src/change_detection/change_detection_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {areIterablesEqual, isListLikeIterable} from '../facade/collection'; import {isPrimitive, looseIdentical} from '../facade/lang'; diff --git a/modules/@angular/core/src/change_detection/change_detector_ref.ts b/modules/@angular/core/src/change_detection/change_detector_ref.ts index 8ae682db84..a004984909 100644 --- a/modules/@angular/core/src/change_detection/change_detector_ref.ts +++ b/modules/@angular/core/src/change_detection/change_detector_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @stable */ diff --git a/modules/@angular/core/src/change_detection/constants.ts b/modules/@angular/core/src/change_detection/constants.ts index 28b9e8b5ed..a81c1d91c3 100644 --- a/modules/@angular/core/src/change_detection/constants.ts +++ b/modules/@angular/core/src/change_detection/constants.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isBlank} from '../facade/lang'; /** diff --git a/modules/@angular/core/src/change_detection/differs/default_iterable_differ.ts b/modules/@angular/core/src/change_detection/differs/default_iterable_differ.ts index 1d43de6cc8..46c737f396 100644 --- a/modules/@angular/core/src/change_detection/differs/default_iterable_differ.ts +++ b/modules/@angular/core/src/change_detection/differs/default_iterable_differ.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isListLikeIterable, iterateListLike} from '../../facade/collection'; import {BaseException} from '../../facade/exceptions'; import {getMapKey, isArray, isBlank, isPresent, looseIdentical, stringify} from '../../facade/lang'; diff --git a/modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.ts b/modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.ts index 7645ac9bc3..765deddac6 100644 --- a/modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.ts +++ b/modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {MapWrapper, StringMapWrapper} from '../../facade/collection'; import {BaseException} from '../../facade/exceptions'; import {isBlank, isJsObject, looseIdentical, stringify} from '../../facade/lang'; diff --git a/modules/@angular/core/src/change_detection/differs/iterable_differs.ts b/modules/@angular/core/src/change_detection/differs/iterable_differs.ts index 2fbb170022..c4104bc710 100644 --- a/modules/@angular/core/src/change_detection/differs/iterable_differs.ts +++ b/modules/@angular/core/src/change_detection/differs/iterable_differs.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OptionalMetadata, Provider, SkipSelfMetadata} from '../../di'; import {ListWrapper} from '../../facade/collection'; import {BaseException} from '../../facade/exceptions'; diff --git a/modules/@angular/core/src/change_detection/differs/keyvalue_differs.ts b/modules/@angular/core/src/change_detection/differs/keyvalue_differs.ts index cadf892e76..ddd4253239 100644 --- a/modules/@angular/core/src/change_detection/differs/keyvalue_differs.ts +++ b/modules/@angular/core/src/change_detection/differs/keyvalue_differs.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OptionalMetadata, Provider, SkipSelfMetadata} from '../../di'; import {ListWrapper} from '../../facade/collection'; import {BaseException} from '../../facade/exceptions'; diff --git a/modules/@angular/core/src/change_detection/pipe_transform.ts b/modules/@angular/core/src/change_detection/pipe_transform.ts index a3178e3bca..7556ed1f72 100644 --- a/modules/@angular/core/src/change_detection/pipe_transform.ts +++ b/modules/@angular/core/src/change_detection/pipe_transform.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * To create a Pipe, you must implement this interface. * diff --git a/modules/@angular/core/src/console.ts b/modules/@angular/core/src/console.ts index 14e4b8bb5a..8efa7b1ba3 100644 --- a/modules/@angular/core/src/console.ts +++ b/modules/@angular/core/src/console.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from './di/decorators'; import {print, warn} from './facade/lang'; diff --git a/modules/@angular/core/src/debug/debug_node.ts b/modules/@angular/core/src/debug/debug_node.ts index 3635b9307a..3a9ad35905 100644 --- a/modules/@angular/core/src/debug/debug_node.ts +++ b/modules/@angular/core/src/debug/debug_node.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector} from '../di'; import {ListWrapper, MapWrapper, Predicate} from '../facade/collection'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/core/src/debug/debug_renderer.ts b/modules/@angular/core/src/debug/debug_renderer.ts index 3a6c4ff54d..a38397007f 100644 --- a/modules/@angular/core/src/debug/debug_renderer.ts +++ b/modules/@angular/core/src/debug/debug_renderer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringMapWrapper} from '../../src/facade/collection'; import {AnimationKeyframe} from '../animation/animation_keyframe'; import {AnimationPlayer} from '../animation/animation_player'; diff --git a/modules/@angular/core/src/di.ts b/modules/@angular/core/src/di.ts index d428be6870..87d2ad9ed9 100644 --- a/modules/@angular/core/src/di.ts +++ b/modules/@angular/core/src/di.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/core/src/di/decorators.ts b/modules/@angular/core/src/di/decorators.ts index ec7cb70b1f..b756194549 100644 --- a/modules/@angular/core/src/di/decorators.ts +++ b/modules/@angular/core/src/di/decorators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {makeDecorator, makeParamDecorator} from '../util/decorators'; import {HostMetadata, InjectMetadata, InjectableMetadata, OptionalMetadata, SelfMetadata, SkipSelfMetadata} from './metadata'; diff --git a/modules/@angular/core/src/di/forward_ref.ts b/modules/@angular/core/src/di/forward_ref.ts index 64da015a54..e3a75b5f91 100644 --- a/modules/@angular/core/src/di/forward_ref.ts +++ b/modules/@angular/core/src/di/forward_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type, isFunction, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/di/injector.ts b/modules/@angular/core/src/di/injector.ts index 92749dba13..0e2fd84242 100644 --- a/modules/@angular/core/src/di/injector.ts +++ b/modules/@angular/core/src/di/injector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {unimplemented} from '../facade/exceptions'; const _THROW_IF_NOT_FOUND = /*@ts2dart_const*/ new Object(); diff --git a/modules/@angular/core/src/di/metadata.ts b/modules/@angular/core/src/di/metadata.ts index 5dad0d20a4..9f40bbd45c 100644 --- a/modules/@angular/core/src/di/metadata.ts +++ b/modules/@angular/core/src/di/metadata.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {stringify} from '../facade/lang'; /** diff --git a/modules/@angular/core/src/di/opaque_token.ts b/modules/@angular/core/src/di/opaque_token.ts index 0bcfdb7ff5..b049b58834 100644 --- a/modules/@angular/core/src/di/opaque_token.ts +++ b/modules/@angular/core/src/di/opaque_token.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Creates a token that can be used in a DI Provider. * diff --git a/modules/@angular/core/src/di/provider.ts b/modules/@angular/core/src/di/provider.ts index aee1d38741..00ea48144a 100644 --- a/modules/@angular/core/src/di/provider.ts +++ b/modules/@angular/core/src/di/provider.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {Type, isBlank, isFunction, isType, normalizeBool, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/di/provider_util.ts b/modules/@angular/core/src/di/provider_util.ts index 0b22cdb6fb..25e9ec653a 100644 --- a/modules/@angular/core/src/di/provider_util.ts +++ b/modules/@angular/core/src/di/provider_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Provider} from './provider'; export function isProviderLiteral(obj: any): boolean { diff --git a/modules/@angular/core/src/di/reflective_exceptions.ts b/modules/@angular/core/src/di/reflective_exceptions.ts index 6e2717ac3d..93a660d8ff 100644 --- a/modules/@angular/core/src/di/reflective_exceptions.ts +++ b/modules/@angular/core/src/di/reflective_exceptions.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../facade/collection'; import {BaseException, WrappedException} from '../facade/exceptions'; import {isBlank, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/di/reflective_injector.ts b/modules/@angular/core/src/di/reflective_injector.ts index d17c5fd4ed..36f504cbc5 100644 --- a/modules/@angular/core/src/di/reflective_injector.ts +++ b/modules/@angular/core/src/di/reflective_injector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper} from '../facade/collection'; import {BaseException, unimplemented} from '../facade/exceptions'; import {Type} from '../facade/lang'; diff --git a/modules/@angular/core/src/di/reflective_key.ts b/modules/@angular/core/src/di/reflective_key.ts index 99ba76e37e..4ad74b51f4 100644 --- a/modules/@angular/core/src/di/reflective_key.ts +++ b/modules/@angular/core/src/di/reflective_key.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {isBlank, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/di/reflective_provider.ts b/modules/@angular/core/src/di/reflective_provider.ts index 8688410eeb..80feaeb6e5 100644 --- a/modules/@angular/core/src/di/reflective_provider.ts +++ b/modules/@angular/core/src/di/reflective_provider.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type, isBlank, isPresent, isArray,} from '../facade/lang'; import {MapWrapper, ListWrapper} from '../facade/collection'; import {reflector} from '../reflection/reflection'; diff --git a/modules/@angular/core/src/linker.ts b/modules/@angular/core/src/linker.ts index 9e0cc7c39e..d0fb1c68d6 100644 --- a/modules/@angular/core/src/linker.ts +++ b/modules/@angular/core/src/linker.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Public API for compiler export {ComponentFactory, ComponentRef} from './linker/component_factory'; export {ComponentResolver} from './linker/component_resolver'; diff --git a/modules/@angular/core/src/linker/component_factory.ts b/modules/@angular/core/src/linker/component_factory.ts index 0f16c005c3..40806fc150 100644 --- a/modules/@angular/core/src/linker/component_factory.ts +++ b/modules/@angular/core/src/linker/component_factory.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef} from '../change_detection/change_detection'; import {Injector} from '../di/injector'; import {unimplemented} from '../facade/exceptions'; diff --git a/modules/@angular/core/src/linker/component_resolver.ts b/modules/@angular/core/src/linker/component_resolver.ts index 8e4dfa8e4a..996656fcd1 100644 --- a/modules/@angular/core/src/linker/component_resolver.ts +++ b/modules/@angular/core/src/linker/component_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '../di/decorators'; import {PromiseWrapper} from '../facade/async'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/core/src/linker/debug_context.ts b/modules/@angular/core/src/linker/debug_context.ts index 80a789138e..ce2eec9c98 100644 --- a/modules/@angular/core/src/linker/debug_context.ts +++ b/modules/@angular/core/src/linker/debug_context.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector} from '../di'; import {ListWrapper, StringMapWrapper} from '../facade/collection'; import {isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/core/src/linker/dynamic_component_loader.ts b/modules/@angular/core/src/linker/dynamic_component_loader.ts index c9e1eafd2d..2ef6030ed8 100644 --- a/modules/@angular/core/src/linker/dynamic_component_loader.ts +++ b/modules/@angular/core/src/linker/dynamic_component_loader.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '../di/decorators'; import {Injector} from '../di/injector'; import {ReflectiveInjector} from '../di/reflective_injector'; diff --git a/modules/@angular/core/src/linker/element.ts b/modules/@angular/core/src/linker/element.ts index 8b76dec059..937b714341 100644 --- a/modules/@angular/core/src/linker/element.ts +++ b/modules/@angular/core/src/linker/element.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector} from '../di/injector'; import {ListWrapper} from '../facade/collection'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/core/src/linker/element_injector.ts b/modules/@angular/core/src/linker/element_injector.ts index 32f87c6589..7741a3c456 100644 --- a/modules/@angular/core/src/linker/element_injector.ts +++ b/modules/@angular/core/src/linker/element_injector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector, THROW_IF_NOT_FOUND} from '../di/injector'; import {AppView} from './view'; diff --git a/modules/@angular/core/src/linker/element_ref.ts b/modules/@angular/core/src/linker/element_ref.ts index 16468ba3f9..3f2e6f1b13 100644 --- a/modules/@angular/core/src/linker/element_ref.ts +++ b/modules/@angular/core/src/linker/element_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * A wrapper around a native element inside of a View. * diff --git a/modules/@angular/core/src/linker/exceptions.ts b/modules/@angular/core/src/linker/exceptions.ts index efec44e805..36d84b2688 100644 --- a/modules/@angular/core/src/linker/exceptions.ts +++ b/modules/@angular/core/src/linker/exceptions.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException, WrappedException} from '../facade/exceptions'; /** diff --git a/modules/@angular/core/src/linker/query_list.ts b/modules/@angular/core/src/linker/query_list.ts index 362cdca91e..867614beb6 100644 --- a/modules/@angular/core/src/linker/query_list.ts +++ b/modules/@angular/core/src/linker/query_list.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter, Observable} from '../facade/async'; import {ListWrapper} from '../facade/collection'; import {getSymbolIterator} from '../facade/lang'; diff --git a/modules/@angular/core/src/linker/systemjs_component_resolver.ts b/modules/@angular/core/src/linker/systemjs_component_resolver.ts index 1f128e21a5..7a47a9c1f6 100644 --- a/modules/@angular/core/src/linker/systemjs_component_resolver.ts +++ b/modules/@angular/core/src/linker/systemjs_component_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type, global, isString} from '../facade/lang'; import {ComponentFactory} from './component_factory'; diff --git a/modules/@angular/core/src/linker/template_ref.ts b/modules/@angular/core/src/linker/template_ref.ts index a210ffed47..7c461c6702 100644 --- a/modules/@angular/core/src/linker/template_ref.ts +++ b/modules/@angular/core/src/linker/template_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isBlank} from '../facade/lang'; import {AppElement} from './element'; diff --git a/modules/@angular/core/src/linker/view.ts b/modules/@angular/core/src/linker/view.ts index f0817871d1..c3b5613d07 100644 --- a/modules/@angular/core/src/linker/view.ts +++ b/modules/@angular/core/src/linker/view.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ObservableWrapper} from '../facade/async'; import {ListWrapper, Map, MapWrapper, StringMapWrapper} from '../facade/collection'; import {Type, isArray, isBlank, isNumber, isPresent, isPrimitive, isString, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/linker/view_container_ref.ts b/modules/@angular/core/src/linker/view_container_ref.ts index 00304befb9..828432fddf 100644 --- a/modules/@angular/core/src/linker/view_container_ref.ts +++ b/modules/@angular/core/src/linker/view_container_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector} from '../di/injector'; import {ListWrapper} from '../facade/collection'; import {unimplemented} from '../facade/exceptions'; diff --git a/modules/@angular/core/src/linker/view_ref.ts b/modules/@angular/core/src/linker/view_ref.ts index 1f24f4b170..974cec6d5e 100644 --- a/modules/@angular/core/src/linker/view_ref.ts +++ b/modules/@angular/core/src/linker/view_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef} from '../change_detection/change_detector_ref'; import {ChangeDetectionStrategy} from '../change_detection/constants'; import {unimplemented} from '../facade/exceptions'; diff --git a/modules/@angular/core/src/linker/view_type.ts b/modules/@angular/core/src/linker/view_type.ts index ef4ceefc6c..bce9a9ac59 100644 --- a/modules/@angular/core/src/linker/view_type.ts +++ b/modules/@angular/core/src/linker/view_type.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export enum ViewType { // A view that contains the host element with bound component directive. // Contains a COMPONENT view diff --git a/modules/@angular/core/src/linker/view_utils.ts b/modules/@angular/core/src/linker/view_utils.ts index d87bad3227..b47a7fd107 100644 --- a/modules/@angular/core/src/linker/view_utils.ts +++ b/modules/@angular/core/src/linker/view_utils.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_ID} from '../application_tokens'; import {devModeEqual} from '../change_detection/change_detection'; import {uninitialized} from '../change_detection/change_detection_util'; diff --git a/modules/@angular/core/src/metadata.ts b/modules/@angular/core/src/metadata.ts index 66af2feade..b2b34cd50f 100644 --- a/modules/@angular/core/src/metadata.ts +++ b/modules/@angular/core/src/metadata.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * This indirection is needed to free up Component, etc symbols in the public API * to be used by the decorator versions of these annotations. diff --git a/modules/@angular/core/src/metadata/di.ts b/modules/@angular/core/src/metadata/di.ts index 57cd0bdf05..7eb2ac002d 100644 --- a/modules/@angular/core/src/metadata/di.ts +++ b/modules/@angular/core/src/metadata/di.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {resolveForwardRef} from '../di/forward_ref'; import {DependencyMetadata} from '../di/metadata'; import {StringWrapper, Type, isString, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/metadata/directives.ts b/modules/@angular/core/src/metadata/directives.ts index e283af7bc3..9d206b09c8 100644 --- a/modules/@angular/core/src/metadata/directives.ts +++ b/modules/@angular/core/src/metadata/directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationEntryMetadata} from '../animation/metadata'; import {ChangeDetectionStrategy} from '../change_detection/constants'; import {InjectableMetadata} from '../di/metadata'; diff --git a/modules/@angular/core/src/metadata/lifecycle_hooks.ts b/modules/@angular/core/src/metadata/lifecycle_hooks.ts index 44568584a3..81597293df 100644 --- a/modules/@angular/core/src/metadata/lifecycle_hooks.ts +++ b/modules/@angular/core/src/metadata/lifecycle_hooks.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {SimpleChange} from '../change_detection/change_detection_util'; /** diff --git a/modules/@angular/core/src/metadata/view.ts b/modules/@angular/core/src/metadata/view.ts index 0b9189085a..2ece32977a 100644 --- a/modules/@angular/core/src/metadata/view.ts +++ b/modules/@angular/core/src/metadata/view.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationEntryMetadata} from '../animation/metadata'; import {Type} from '../facade/lang'; diff --git a/modules/@angular/core/src/platform_common_providers.ts b/modules/@angular/core/src/platform_common_providers.ts index 445ab1553e..1915b0e027 100644 --- a/modules/@angular/core/src/platform_common_providers.ts +++ b/modules/@angular/core/src/platform_common_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../src/facade/lang'; import {PLATFORM_CORE_PROVIDERS} from './application_ref'; diff --git a/modules/@angular/core/src/platform_directives_and_pipes.ts b/modules/@angular/core/src/platform_directives_and_pipes.ts index 03974185ec..c754764b4c 100644 --- a/modules/@angular/core/src/platform_directives_and_pipes.ts +++ b/modules/@angular/core/src/platform_directives_and_pipes.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from './di'; /** diff --git a/modules/@angular/core/src/profile/profile.ts b/modules/@angular/core/src/profile/profile.ts index 491fa72483..ce4f80d878 100644 --- a/modules/@angular/core/src/profile/profile.ts +++ b/modules/@angular/core/src/profile/profile.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as impl from './wtf_impl'; export {WtfScopeFn} from './wtf_impl'; diff --git a/modules/@angular/core/src/profile/wtf_impl.ts b/modules/@angular/core/src/profile/wtf_impl.ts index 1c6d90f63a..4544e19ca2 100644 --- a/modules/@angular/core/src/profile/wtf_impl.ts +++ b/modules/@angular/core/src/profile/wtf_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {global} from '../facade/lang'; /** diff --git a/modules/@angular/core/src/profile/wtf_init.ts b/modules/@angular/core/src/profile/wtf_init.ts index 7601efe72a..05c10c73bf 100644 --- a/modules/@angular/core/src/profile/wtf_init.ts +++ b/modules/@angular/core/src/profile/wtf_init.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * This is here because DART requires it. It is noop in JS. */ diff --git a/modules/@angular/core/src/reflection/platform_reflection_capabilities.ts b/modules/@angular/core/src/reflection/platform_reflection_capabilities.ts index 79d3360a68..786655e101 100644 --- a/modules/@angular/core/src/reflection/platform_reflection_capabilities.ts +++ b/modules/@angular/core/src/reflection/platform_reflection_capabilities.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../facade/lang'; import {GetterFn, MethodFn, SetterFn} from './types'; diff --git a/modules/@angular/core/src/reflection/reflection.ts b/modules/@angular/core/src/reflection/reflection.ts index 9f1daec546..504dd060c4 100644 --- a/modules/@angular/core/src/reflection/reflection.ts +++ b/modules/@angular/core/src/reflection/reflection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ReflectionCapabilities} from './reflection_capabilities'; import {Reflector} from './reflector'; diff --git a/modules/@angular/core/src/reflection/reflection_capabilities.ts b/modules/@angular/core/src/reflection/reflection_capabilities.ts index 38287d58a7..387f116931 100644 --- a/modules/@angular/core/src/reflection/reflection_capabilities.ts +++ b/modules/@angular/core/src/reflection/reflection_capabilities.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {ConcreteType, Type, global, isFunction, isPresent, stringify} from '../facade/lang'; diff --git a/modules/@angular/core/src/reflection/reflector.ts b/modules/@angular/core/src/reflection/reflector.ts index 15e0d02d46..4ac97f769e 100644 --- a/modules/@angular/core/src/reflection/reflector.ts +++ b/modules/@angular/core/src/reflection/reflector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Map, MapWrapper, Set, SetWrapper, StringMapWrapper} from '../facade/collection'; import {BaseException} from '../facade/exceptions'; import {Type, isPresent} from '../facade/lang'; diff --git a/modules/@angular/core/src/reflection/reflector_reader.ts b/modules/@angular/core/src/reflection/reflector_reader.ts index 47db280405..6737f84b29 100644 --- a/modules/@angular/core/src/reflection/reflector_reader.ts +++ b/modules/@angular/core/src/reflection/reflector_reader.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Provides read-only access to reflection data about symbols. Used internally by Angular * to power dependency injection and compilation. diff --git a/modules/@angular/core/src/reflection/types.ts b/modules/@angular/core/src/reflection/types.ts index f53fd0eff8..73297f9164 100644 --- a/modules/@angular/core/src/reflection/types.ts +++ b/modules/@angular/core/src/reflection/types.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export type SetterFn = (obj: any, value: any) => void; export type GetterFn = (obj: any) => any; export type MethodFn = (obj: any, args: any[]) => any; diff --git a/modules/@angular/core/src/render.ts b/modules/@angular/core/src/render.ts index e429eb1241..fef0896f50 100644 --- a/modules/@angular/core/src/render.ts +++ b/modules/@angular/core/src/render.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Public API for render export {RenderComponentType, Renderer, RootRenderer} from './render/api'; diff --git a/modules/@angular/core/src/render/api.ts b/modules/@angular/core/src/render/api.ts index c952dc1c7e..b26cd8e010 100644 --- a/modules/@angular/core/src/render/api.ts +++ b/modules/@angular/core/src/render/api.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationKeyframe} from '../../src/animation/animation_keyframe'; import {AnimationPlayer} from '../../src/animation/animation_player'; import {AnimationStyles} from '../../src/animation/animation_styles'; diff --git a/modules/@angular/core/src/security.ts b/modules/@angular/core/src/security.ts index 72d2b67ef6..f075f15f84 100644 --- a/modules/@angular/core/src/security.ts +++ b/modules/@angular/core/src/security.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly diff --git a/modules/@angular/core/src/testability/testability.ts b/modules/@angular/core/src/testability/testability.ts index 94b84b6031..ed85eaa9d2 100644 --- a/modules/@angular/core/src/testability/testability.ts +++ b/modules/@angular/core/src/testability/testability.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '../di/decorators'; import {ObservableWrapper} from '../facade/async'; import {Map, MapWrapper} from '../facade/collection'; diff --git a/modules/@angular/core/src/util.ts b/modules/@angular/core/src/util.ts index b28f30bfd7..2213e43a7d 100644 --- a/modules/@angular/core/src/util.ts +++ b/modules/@angular/core/src/util.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Public API for util export {Class, ClassDefinition, TypeDecorator} from './util/decorators'; diff --git a/modules/@angular/core/src/util/decorators.ts b/modules/@angular/core/src/util/decorators.ts index 781d6f36c1..3fc1b16227 100644 --- a/modules/@angular/core/src/util/decorators.ts +++ b/modules/@angular/core/src/util/decorators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ConcreteType, Type, global, isFunction, stringify} from '../facade/lang'; var _nextClassId = 0; diff --git a/modules/@angular/core/src/zone.ts b/modules/@angular/core/src/zone.ts index 176d2a8f6b..f4ff185c1a 100644 --- a/modules/@angular/core/src/zone.ts +++ b/modules/@angular/core/src/zone.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Public API for Zone export {NgZone, NgZoneError} from './zone/ng_zone'; diff --git a/modules/@angular/core/src/zone/ng_zone.ts b/modules/@angular/core/src/zone/ng_zone.ts index f7e10de986..c62060e0f6 100644 --- a/modules/@angular/core/src/zone/ng_zone.ts +++ b/modules/@angular/core/src/zone/ng_zone.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter} from '../facade/async'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/core/src/zone/ng_zone_impl.ts b/modules/@angular/core/src/zone/ng_zone_impl.ts index 6e909e8eb2..e104d09edd 100644 --- a/modules/@angular/core/src/zone/ng_zone_impl.ts +++ b/modules/@angular/core/src/zone/ng_zone_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Stores error information; delivered via [NgZone.onError] stream. * @deprecated diff --git a/modules/@angular/core/test/animation/active_animations_players_map_spec.ts b/modules/@angular/core/test/animation/active_animations_players_map_spec.ts index abb06779a3..f9dd0430eb 100644 --- a/modules/@angular/core/test/animation/active_animations_players_map_spec.ts +++ b/modules/@angular/core/test/animation/active_animations_players_map_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {el} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/core/test/animation/animation_group_player_spec.ts b/modules/@angular/core/test/animation/animation_group_player_spec.ts index e501966f83..b1d9f60983 100644 --- a/modules/@angular/core/test/animation/animation_group_player_spec.ts +++ b/modules/@angular/core/test/animation/animation_group_player_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationGroupPlayer} from '../../src/animation/animation_group_player'; import {isPresent} from '../../src/facade/lang'; import {fakeAsync, flushMicrotasks} from '../../testing'; diff --git a/modules/@angular/core/test/animation/animation_integration_spec.ts b/modules/@angular/core/test/animation/animation_integration_spec.ts index 892edc5edd..5456dd71a1 100644 --- a/modules/@angular/core/test/animation/animation_integration_spec.ts +++ b/modules/@angular/core/test/animation/animation_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgIf} from '@angular/common'; import {CompilerConfig} from '@angular/compiler'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/animation/animation_player_spec.ts b/modules/@angular/core/test/animation/animation_player_spec.ts index e9fda6d263..a1d4c46687 100644 --- a/modules/@angular/core/test/animation/animation_player_spec.ts +++ b/modules/@angular/core/test/animation/animation_player_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationPlayer, NoOpAnimationPlayer} from '../../src/animation/animation_player'; import {fakeAsync, flushMicrotasks} from '../../testing'; import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../../testing/testing_internal'; diff --git a/modules/@angular/core/test/animation/animation_sequence_player_spec.ts b/modules/@angular/core/test/animation/animation_sequence_player_spec.ts index a0f1271a63..53ebce8be5 100644 --- a/modules/@angular/core/test/animation/animation_sequence_player_spec.ts +++ b/modules/@angular/core/test/animation/animation_sequence_player_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationSequencePlayer} from '../../src/animation/animation_sequence_player'; import {isPresent} from '../../src/facade/lang'; import {fakeAsync, flushMicrotasks} from '../../testing'; diff --git a/modules/@angular/core/test/animation/animation_style_util_spec.ts b/modules/@angular/core/test/animation/animation_style_util_spec.ts index e78a556d5e..38cdb3148a 100644 --- a/modules/@angular/core/test/animation/animation_style_util_spec.ts +++ b/modules/@angular/core/test/animation/animation_style_util_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {el} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/core/test/application_ref_spec.ts b/modules/@angular/core/test/application_ref_spec.ts index e9f19adb48..dd479e286c 100644 --- a/modules/@angular/core/test/application_ref_spec.ts +++ b/modules/@angular/core/test/application_ref_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {Type} from '@angular/core'; diff --git a/modules/@angular/core/test/change_detection/change_detector_util_spec.ts b/modules/@angular/core/test/change_detection/change_detector_util_spec.ts index dd8032cfcc..7d2f8f83ba 100644 --- a/modules/@angular/core/test/change_detection/change_detector_util_spec.ts +++ b/modules/@angular/core/test/change_detection/change_detector_util_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {devModeEqual} from '@angular/core/src/change_detection/change_detection_util'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts b/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts index 173d002251..f7724ab6bd 100644 --- a/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts +++ b/modules/@angular/core/test/change_detection/differs/default_iterable_differ_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DefaultIterableDiffer, DefaultIterableDifferFactory} from '@angular/core/src/change_detection/differs/default_iterable_differ'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts b/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts index 37bcca9e78..a74d7f72ef 100644 --- a/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts +++ b/modules/@angular/core/test/change_detection/differs/default_keyvalue_differ_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DefaultKeyValueDiffer, DefaultKeyValueDifferFactory} from '@angular/core/src/change_detection/differs/default_keyvalue_differ'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts b/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts index b7bca48765..4b4d328ff4 100644 --- a/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts +++ b/modules/@angular/core/test/change_detection/differs/iterable_differs_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector, ReflectiveInjector, provide} from '@angular/core'; import {IterableDiffers} from '@angular/core/src/change_detection/differs/iterable_differs'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/change_detection/iterable.ts b/modules/@angular/core/test/change_detection/iterable.ts index 7807fc3421..33385ba3e3 100644 --- a/modules/@angular/core/test/change_detection/iterable.ts +++ b/modules/@angular/core/test/change_detection/iterable.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getSymbolIterator} from '../../src/facade/lang'; export class TestIterable { diff --git a/modules/@angular/core/test/change_detection/util.ts b/modules/@angular/core/test/change_detection/util.ts index 869dc1e609..68dbc56177 100644 --- a/modules/@angular/core/test/change_detection/util.ts +++ b/modules/@angular/core/test/change_detection/util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isBlank} from '../../src/facade/lang'; export function iterableChangesAsString( diff --git a/modules/@angular/core/test/debug/debug_node_spec.ts b/modules/@angular/core/test/debug/debug_node_spec.ts index 18128c70bb..69af88808e 100644 --- a/modules/@angular/core/test/debug/debug_node_spec.ts +++ b/modules/@angular/core/test/debug/debug_node_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/dev_mode_spec.ts b/modules/@angular/core/test/dev_mode_spec.ts index d7765815b6..217a1bddd9 100644 --- a/modules/@angular/core/test/dev_mode_spec.ts +++ b/modules/@angular/core/test/dev_mode_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isDevMode} from '@angular/core'; import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '../testing'; diff --git a/modules/@angular/core/test/di/binding_spec.ts b/modules/@angular/core/test/di/binding_spec.ts index 3e65db5465..a4fac918a0 100644 --- a/modules/@angular/core/test/di/binding_spec.ts +++ b/modules/@angular/core/test/di/binding_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {bind, provide} from '@angular/core'; diff --git a/modules/@angular/core/test/di/forward_ref_spec.ts b/modules/@angular/core/test/di/forward_ref_spec.ts index b5b7047396..2e1b42641f 100644 --- a/modules/@angular/core/test/di/forward_ref_spec.ts +++ b/modules/@angular/core/test/di/forward_ref_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {forwardRef, resolveForwardRef} from '@angular/core/src/di'; import {Type} from '../../src/facade/lang'; diff --git a/modules/@angular/core/test/di/reflective_injector_spec.ts b/modules/@angular/core/test/di/reflective_injector_spec.ts index 80184e325d..70e417e510 100644 --- a/modules/@angular/core/test/di/reflective_injector_spec.ts +++ b/modules/@angular/core/test/di/reflective_injector_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, it} from '@angular/core/testing'; import {BaseException} from '../../src/facade/exceptions'; diff --git a/modules/@angular/core/test/di/reflective_key_spec.ts b/modules/@angular/core/test/di/reflective_key_spec.ts index 48c3f59d65..dffe826338 100644 --- a/modules/@angular/core/test/di/reflective_key_spec.ts +++ b/modules/@angular/core/test/di/reflective_key_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {KeyRegistry, ReflectiveKey} from '@angular/core/src/di/reflective_key'; import {beforeEach, describe, expect, iit, it} from '@angular/core/testing'; diff --git a/modules/@angular/core/test/directive_lifecycle_integration_spec.ts b/modules/@angular/core/test/directive_lifecycle_integration_spec.ts index 450d5c2c0c..243040b210 100644 --- a/modules/@angular/core/test/directive_lifecycle_integration_spec.ts +++ b/modules/@angular/core/test/directive_lifecycle_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit,} from '@angular/core/testing/testing_internal'; import {Log} from '@angular/core/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/dom/dom_adapter_spec.ts b/modules/@angular/core/test/dom/dom_adapter_spec.ts index be7a6da0d6..8bfe70f767 100644 --- a/modules/@angular/core/test/dom/dom_adapter_spec.ts +++ b/modules/@angular/core/test/dom/dom_adapter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; diff --git a/modules/@angular/core/test/dom/shim_spec.ts b/modules/@angular/core/test/dom/shim_spec.ts index 4aa1968966..552e4d12a3 100644 --- a/modules/@angular/core/test/dom/shim_spec.ts +++ b/modules/@angular/core/test/dom/shim_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; export function main() { diff --git a/modules/@angular/core/test/facade/observable_spec.ts b/modules/@angular/core/test/facade/observable_spec.ts index ceb5c317db..42d257948b 100644 --- a/modules/@angular/core/test/facade/observable_spec.ts +++ b/modules/@angular/core/test/facade/observable_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/fake_async_spec.ts b/modules/@angular/core/test/fake_async_spec.ts index cca3b7247a..d8abff2727 100644 --- a/modules/@angular/core/test/fake_async_spec.ts +++ b/modules/@angular/core/test/fake_async_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick, discardPeriodicTasks,} from '@angular/core/testing'; import {TimerWrapper, PromiseWrapper} from '../../router-deprecated/src/facade/async'; diff --git a/modules/@angular/core/test/forward_ref_integration_spec.ts b/modules/@angular/core/test/forward_ref_integration_spec.ts index 19e93b9813..3e469f7fb6 100644 --- a/modules/@angular/core/test/forward_ref_integration_spec.ts +++ b/modules/@angular/core/test/forward_ref_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgFor} from '@angular/common'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {Component, Directive, Inject, Query, QueryList, bind, forwardRef, provide, resolveForwardRef} from '@angular/core'; diff --git a/modules/@angular/core/test/linker/change_detection_integration_spec.ts b/modules/@angular/core/test/linker/change_detection_integration_spec.ts index a54fe5d102..f460ebd719 100644 --- a/modules/@angular/core/test/linker/change_detection_integration_spec.ts +++ b/modules/@angular/core/test/linker/change_detection_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick,} from '@angular/core/testing'; diff --git a/modules/@angular/core/test/linker/dynamic_component_loader_spec.ts b/modules/@angular/core/test/linker/dynamic_component_loader_spec.ts index 6ddc21d8c2..6dbffff403 100644 --- a/modules/@angular/core/test/linker/dynamic_component_loader_spec.ts +++ b/modules/@angular/core/test/linker/dynamic_component_loader_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/linker/integration_spec.ts b/modules/@angular/core/test/linker/integration_spec.ts index c2d5bbc352..59fa54caf1 100644 --- a/modules/@angular/core/test/linker/integration_spec.ts +++ b/modules/@angular/core/test/linker/integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {fakeAsync, tick, clearPendingTimers} from '@angular/core/testing'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/linker/ng_container_integration_spec.ts b/modules/@angular/core/test/linker/ng_container_integration_spec.ts index 2b221d402d..dc09395e8d 100644 --- a/modules/@angular/core/test/linker/ng_container_integration_spec.ts +++ b/modules/@angular/core/test/linker/ng_container_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/linker/projection_integration_spec.ts b/modules/@angular/core/test/linker/projection_integration_spec.ts index 3956ed87c4..864d9e998c 100644 --- a/modules/@angular/core/test/linker/projection_integration_spec.ts +++ b/modules/@angular/core/test/linker/projection_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/linker/query_integration_spec.ts b/modules/@angular/core/test/linker/query_integration_spec.ts index 68fea01c4f..83da730ca8 100644 --- a/modules/@angular/core/test/linker/query_integration_spec.ts +++ b/modules/@angular/core/test/linker/query_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/linker/query_list_spec.ts b/modules/@angular/core/test/linker/query_list_spec.ts index 70ba732b7c..2a4689801f 100644 --- a/modules/@angular/core/test/linker/query_list_spec.ts +++ b/modules/@angular/core/test/linker/query_list_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, expect, beforeEach, ddescribe, iit, xit,} from '@angular/core/testing/testing_internal'; import {fakeAsync, tick,} from '@angular/core/testing'; import {iterateListLike} from '../../src/facade/collection'; diff --git a/modules/@angular/core/test/linker/reflector_component_resolver_spec.ts b/modules/@angular/core/test/linker/reflector_component_resolver_spec.ts index 667dbad1c9..457a9277e7 100644 --- a/modules/@angular/core/test/linker/reflector_component_resolver_spec.ts +++ b/modules/@angular/core/test/linker/reflector_component_resolver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {provide} from '@angular/core'; import {ComponentFactory} from '@angular/core/src/linker/component_factory'; import {ComponentResolver, ReflectorComponentResolver} from '@angular/core/src/linker/component_resolver'; diff --git a/modules/@angular/core/test/linker/regression_integration_spec.ts b/modules/@angular/core/test/linker/regression_integration_spec.ts index 5de0418b86..5799aa5269 100644 --- a/modules/@angular/core/test/linker/regression_integration_spec.ts +++ b/modules/@angular/core/test/linker/regression_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/linker/security_integration_spec.ts b/modules/@angular/core/test/linker/security_integration_spec.ts index 203d1778ec..1b7ab43223 100644 --- a/modules/@angular/core/test/linker/security_integration_spec.ts +++ b/modules/@angular/core/test/linker/security_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, expect, inject, beforeEachProviders, beforeEach, afterEach, it,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/linker/view_injector_integration_spec.ts b/modules/@angular/core/test/linker/view_injector_integration_spec.ts index e90415f1a3..9236c39fee 100644 --- a/modules/@angular/core/test/linker/view_injector_integration_spec.ts +++ b/modules/@angular/core/test/linker/view_injector_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach, beforeEachProviders, inject,} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick} from '@angular/core/testing'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/matchers_spec.ts b/modules/@angular/core/test/matchers_spec.ts index 81760c22ca..43589e0b12 100644 --- a/modules/@angular/core/test/matchers_spec.ts +++ b/modules/@angular/core/test/matchers_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, tick, beforeEach,} from '../testing'; import {getDOM} from '../../platform-browser/src/dom/dom_adapter'; diff --git a/modules/@angular/core/test/metadata/decorators_spec.ts b/modules/@angular/core/test/metadata/decorators_spec.ts index 1f51c0d12f..9f801a3ec9 100644 --- a/modules/@angular/core/test/metadata/decorators_spec.ts +++ b/modules/@angular/core/test/metadata/decorators_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {Component, Directive} from '@angular/core'; diff --git a/modules/@angular/core/test/metadata/di_spec.ts b/modules/@angular/core/test/metadata/di_spec.ts index baf8875f63..bdf5170bcf 100644 --- a/modules/@angular/core/test/metadata/di_spec.ts +++ b/modules/@angular/core/test/metadata/di_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/core/test/reflection/reflector_common.ts b/modules/@angular/core/test/reflection/reflector_common.ts index 52bfa74fda..be1a4e037e 100644 --- a/modules/@angular/core/test/reflection/reflector_common.ts +++ b/modules/@angular/core/test/reflection/reflector_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {makeDecorator, makeParamDecorator, makePropDecorator} from '@angular/core/src/util/decorators'; export class ClassDecoratorMeta { diff --git a/modules/@angular/core/test/reflection/reflector_spec.ts b/modules/@angular/core/test/reflection/reflector_spec.ts index a99f7e8877..00071f4801 100644 --- a/modules/@angular/core/test/reflection/reflector_spec.ts +++ b/modules/@angular/core/test/reflection/reflector_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, beforeEach,} from '@angular/core/testing/testing_internal'; import {OnInit} from '@angular/core'; import {Reflector, ReflectionInfo} from '@angular/core/src/reflection/reflection'; diff --git a/modules/@angular/core/test/spies.ts b/modules/@angular/core/test/spies.ts index 3d2540bc1d..f7da75bec8 100644 --- a/modules/@angular/core/test/spies.ts +++ b/modules/@angular/core/test/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ElementRef} from '@angular/core'; import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detection'; import {SpyObject} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/testability/testability_spec.ts b/modules/@angular/core/test/testability/testability_spec.ts index 782a40e43a..ac1fc09794 100644 --- a/modules/@angular/core/test/testability/testability_spec.ts +++ b/modules/@angular/core/test/testability/testability_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core/src/di'; import {inject, describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter, SpyObject} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/core/test/testing_internal_spec.ts b/modules/@angular/core/test/testing_internal_spec.ts index ef713ff84b..d41045d467 100644 --- a/modules/@angular/core/test/testing_internal_spec.ts +++ b/modules/@angular/core/test/testing_internal_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {SpyObject} from '@angular/core/testing/testing_internal'; import {MapWrapper} from '../../platform-browser/src/facade/collection'; diff --git a/modules/@angular/core/test/util/decorators_spec.ts b/modules/@angular/core/test/util/decorators_spec.ts index 3581c513c4..8a2db7b2cb 100644 --- a/modules/@angular/core/test/util/decorators_spec.ts +++ b/modules/@angular/core/test/util/decorators_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {makeDecorator, makeParamDecorator, Class} from '@angular/core/src/util/decorators'; diff --git a/modules/@angular/core/test/zone/ng_zone_spec.ts b/modules/@angular/core/test/zone/ng_zone_spec.ts index 2287f52da6..26c5d1377a 100644 --- a/modules/@angular/core/test/zone/ng_zone_spec.ts +++ b/modules/@angular/core/test/zone/ng_zone_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit,} from '@angular/core/testing/testing_internal'; import {Log} from '@angular/core/testing'; diff --git a/modules/@angular/core/testing.ts b/modules/@angular/core/testing.ts index 8d11987557..2bd9f362ff 100644 --- a/modules/@angular/core/testing.ts +++ b/modules/@angular/core/testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './testing/fake_async'; export * from './testing/lang_utils'; export * from './testing/logger'; diff --git a/modules/@angular/core/testing/animation/mock_animation_driver.ts b/modules/@angular/core/testing/animation/mock_animation_driver.ts index 6f542561bc..6519ff0939 100644 --- a/modules/@angular/core/testing/animation/mock_animation_driver.ts +++ b/modules/@angular/core/testing/animation/mock_animation_driver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationDriver} from '../../src/animation/animation_driver'; import {AnimationKeyframe} from '../../src/animation/animation_keyframe'; import {AnimationPlayer} from '../../src/animation/animation_player'; diff --git a/modules/@angular/core/testing/animation/mock_animation_player.ts b/modules/@angular/core/testing/animation/mock_animation_player.ts index 2f78c26eb1..674d0b986c 100644 --- a/modules/@angular/core/testing/animation/mock_animation_player.ts +++ b/modules/@angular/core/testing/animation/mock_animation_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationPlayer} from '../../src/animation/animation_player'; import {isPresent} from '../../src/facade/lang'; diff --git a/modules/@angular/core/testing/async.ts b/modules/@angular/core/testing/async.ts index eb2a1686b9..d7dfbde38a 100644 --- a/modules/@angular/core/testing/async.ts +++ b/modules/@angular/core/testing/async.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Wraps a test function in an asynchronous test zone. The test will automatically * complete when all asynchronous calls within this zone are done. Can be used diff --git a/modules/@angular/core/testing/async_test_completer.ts b/modules/@angular/core/testing/async_test_completer.ts index 88dd8856ec..88dc953f09 100644 --- a/modules/@angular/core/testing/async_test_completer.ts +++ b/modules/@angular/core/testing/async_test_completer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PromiseCompleter} from '../src/facade/promise'; /** diff --git a/modules/@angular/core/testing/fake_async.ts b/modules/@angular/core/testing/fake_async.ts index 935fb01652..92fe9a4fd9 100644 --- a/modules/@angular/core/testing/fake_async.ts +++ b/modules/@angular/core/testing/fake_async.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../index'; import {getTestInjector} from './test_injector'; diff --git a/modules/@angular/core/testing/lang_utils.ts b/modules/@angular/core/testing/lang_utils.ts index 8561a87556..4ab7b72935 100644 --- a/modules/@angular/core/testing/lang_utils.ts +++ b/modules/@angular/core/testing/lang_utils.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function getTypeOf(instance: any /** TODO #9100 */) { return instance.constructor; } diff --git a/modules/@angular/core/testing/logger.ts b/modules/@angular/core/testing/logger.ts index 368374d21c..2674a4c866 100644 --- a/modules/@angular/core/testing/logger.ts +++ b/modules/@angular/core/testing/logger.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '../index'; @Injectable() diff --git a/modules/@angular/core/testing/mock_application_ref.ts b/modules/@angular/core/testing/mock_application_ref.ts index 1e2de3ecd3..f6b7485ba5 100644 --- a/modules/@angular/core/testing/mock_application_ref.ts +++ b/modules/@angular/core/testing/mock_application_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ApplicationRef, ComponentFactory, ComponentRef, Injectable, Injector, NgZone, Type} from '../index'; diff --git a/modules/@angular/core/testing/ng_zone_mock.ts b/modules/@angular/core/testing/ng_zone_mock.ts index e92a6e9644..02315d2ba3 100644 --- a/modules/@angular/core/testing/ng_zone_mock.ts +++ b/modules/@angular/core/testing/ng_zone_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, NgZone} from '../index'; import {EventEmitter, ObservableWrapper} from '../src/facade/async'; diff --git a/modules/@angular/core/testing/test_injector.ts b/modules/@angular/core/testing/test_injector.ts index 15841ea8dc..47a0ef3253 100644 --- a/modules/@angular/core/testing/test_injector.ts +++ b/modules/@angular/core/testing/test_injector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PLATFORM_INITIALIZER, Provider, ReflectiveInjector, Type} from '../index'; import {lockRunMode} from '../src/application_ref'; import {ListWrapper} from '../src/facade/collection'; diff --git a/modules/@angular/core/testing/testing.ts b/modules/@angular/core/testing/testing.ts index b5a297d243..3159083f95 100644 --- a/modules/@angular/core/testing/testing.ts +++ b/modules/@angular/core/testing/testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Public Test Library for unit testing Angular2 Applications. Uses the * Jasmine framework. diff --git a/modules/@angular/core/testing/testing_internal.ts b/modules/@angular/core/testing/testing_internal.ts index d583b6aa24..49948ba863 100644 --- a/modules/@angular/core/testing/testing_internal.ts +++ b/modules/@angular/core/testing/testing_internal.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {provide} from '../index'; import {StringMapWrapper} from '../src/facade/collection'; import {Math, global, isFunction, isPromise} from '../src/facade/lang'; diff --git a/modules/@angular/examples/common/forms/ts/validators/validators.ts b/modules/@angular/examples/common/forms/ts/validators/validators.ts index 8816f1603a..11cd069a63 100644 --- a/modules/@angular/examples/common/forms/ts/validators/validators.ts +++ b/modules/@angular/examples/common/forms/ts/validators/validators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {MaxLengthValidator, MinLengthValidator} from '@angular/common'; import {Component} from '@angular/core'; diff --git a/modules/@angular/examples/compiler/ts/url_resolver/url_resolver.ts b/modules/@angular/examples/compiler/ts/url_resolver/url_resolver.ts index ab06b6a1da..04cc6eeb9d 100644 --- a/modules/@angular/examples/compiler/ts/url_resolver/url_resolver.ts +++ b/modules/@angular/examples/compiler/ts/url_resolver/url_resolver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {UrlResolver} from '@angular/compiler'; import {provide} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/animation/ts/dsl/animation_example.ts b/modules/@angular/examples/core/animation/ts/dsl/animation_example.ts index b787db2cc1..1d5bf934d0 100644 --- a/modules/@angular/examples/core/animation/ts/dsl/animation_example.ts +++ b/modules/@angular/examples/core/animation/ts/dsl/animation_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // #docregion Component import {Component, animate, state, style, transition, trigger} from '@angular/core'; diff --git a/modules/@angular/examples/core/debug/ts/debug_element/debug_element.ts b/modules/@angular/examples/core/debug/ts/debug_element/debug_element.ts index 2a36a83023..494dbba4dd 100644 --- a/modules/@angular/examples/core/debug/ts/debug_element/debug_element.ts +++ b/modules/@angular/examples/core/debug/ts/debug_element/debug_element.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DebugElement} from '@angular/core'; var debugElement: DebugElement; diff --git a/modules/@angular/examples/core/di/ts/forward_ref/forward_ref.ts b/modules/@angular/examples/core/di/ts/forward_ref/forward_ref.ts index 8149658812..0e09464633 100644 --- a/modules/@angular/examples/core/di/ts/forward_ref/forward_ref.ts +++ b/modules/@angular/examples/core/di/ts/forward_ref/forward_ref.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ForwardRefFn, Inject, ReflectiveInjector, forwardRef, resolveForwardRef} from '@angular/core'; diff --git a/modules/@angular/examples/core/forms/ts/ng_validators/ng_validators.ts b/modules/@angular/examples/core/forms/ts/ng_validators/ng_validators.ts index bc4b7bbefb..df046c9218 100644 --- a/modules/@angular/examples/core/forms/ts/ng_validators/ng_validators.ts +++ b/modules/@angular/examples/core/forms/ts/ng_validators/ng_validators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NG_VALIDATORS} from '@angular/common'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/pipes/ts/async_pipe/async_pipe_example.ts b/modules/@angular/examples/core/pipes/ts/async_pipe/async_pipe_example.ts index 1968f5fd94..1d4d572608 100644 --- a/modules/@angular/examples/core/pipes/ts/async_pipe/async_pipe_example.ts +++ b/modules/@angular/examples/core/pipes/ts/async_pipe/async_pipe_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {Observable, Subscriber} from 'rxjs/Rx'; diff --git a/modules/@angular/examples/core/pipes/ts/date_pipe/date_pipe_example.ts b/modules/@angular/examples/core/pipes/ts/date_pipe/date_pipe_example.ts index 33631072ce..3b6a1aab7e 100644 --- a/modules/@angular/examples/core/pipes/ts/date_pipe/date_pipe_example.ts +++ b/modules/@angular/examples/core/pipes/ts/date_pipe/date_pipe_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/pipes/ts/json_pipe/json_pipe_example.ts b/modules/@angular/examples/core/pipes/ts/json_pipe/json_pipe_example.ts index 1638ff227e..e6b97dce96 100644 --- a/modules/@angular/examples/core/pipes/ts/json_pipe/json_pipe_example.ts +++ b/modules/@angular/examples/core/pipes/ts/json_pipe/json_pipe_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts b/modules/@angular/examples/core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts index f6aa6dd6f7..dc842a2c95 100644 --- a/modules/@angular/examples/core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts +++ b/modules/@angular/examples/core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/pipes/ts/number_pipe/number_pipe_example.ts b/modules/@angular/examples/core/pipes/ts/number_pipe/number_pipe_example.ts index b9c2a87be3..f369586e27 100644 --- a/modules/@angular/examples/core/pipes/ts/number_pipe/number_pipe_example.ts +++ b/modules/@angular/examples/core/pipes/ts/number_pipe/number_pipe_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/pipes/ts/slice_pipe/slice_pipe_example.ts b/modules/@angular/examples/core/pipes/ts/slice_pipe/slice_pipe_example.ts index acb783279b..70d0413809 100644 --- a/modules/@angular/examples/core/pipes/ts/slice_pipe/slice_pipe_example.ts +++ b/modules/@angular/examples/core/pipes/ts/slice_pipe/slice_pipe_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/ts/bootstrap/bootstrap.ts b/modules/@angular/examples/core/ts/bootstrap/bootstrap.ts index 77340272a3..f737a8e92c 100644 --- a/modules/@angular/examples/core/ts/bootstrap/bootstrap.ts +++ b/modules/@angular/examples/core/ts/bootstrap/bootstrap.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/core/ts/metadata/metadata.ts b/modules/@angular/examples/core/ts/metadata/metadata.ts index 837b19ca21..fb35ce498b 100644 --- a/modules/@angular/examples/core/ts/metadata/metadata.ts +++ b/modules/@angular/examples/core/ts/metadata/metadata.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Attribute, Component, Directive, Pipe} from '@angular/core'; var CustomDirective: Function; diff --git a/modules/@angular/examples/core/ts/platform/platform.ts b/modules/@angular/examples/core/ts/platform/platform.ts index b109f0867e..1b64debbd5 100644 --- a/modules/@angular/examples/core/ts/platform/platform.ts +++ b/modules/@angular/examples/core/ts/platform/platform.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, ReflectiveInjector, coreLoadAndBootstrap, createPlatform} from '@angular/core'; import {BROWSER_APP_PROVIDERS, BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser'; diff --git a/modules/@angular/examples/core/ts/prod_mode/my_component.ts b/modules/@angular/examples/core/ts/prod_mode/my_component.ts index a0a19f288f..392d1d45f5 100644 --- a/modules/@angular/examples/core/ts/prod_mode/my_component.ts +++ b/modules/@angular/examples/core/ts/prod_mode/my_component.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({selector: 'my-component', template: '

My Component

'}) diff --git a/modules/@angular/examples/core/ts/prod_mode/prod_mode_example.ts b/modules/@angular/examples/core/ts/prod_mode/prod_mode_example.ts index 072b22a197..077105720d 100644 --- a/modules/@angular/examples/core/ts/prod_mode/prod_mode_example.ts +++ b/modules/@angular/examples/core/ts/prod_mode/prod_mode_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // #docregion enableProdMode import {enableProdMode} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/facade/ts/async/observable.ts b/modules/@angular/examples/facade/ts/async/observable.ts index 6203a396f1..188a8faa7e 100644 --- a/modules/@angular/examples/facade/ts/async/observable.ts +++ b/modules/@angular/examples/facade/ts/async/observable.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // #docregion Observable import {Observable, Subscriber} from 'rxjs/Rx'; var obs = new Observable((obs: Subscriber) => { diff --git a/modules/@angular/examples/facade/ts/async/observable_all.ts b/modules/@angular/examples/facade/ts/async/observable_all.ts index 6c1b2ae1c0..b7df477675 100644 --- a/modules/@angular/examples/facade/ts/async/observable_all.ts +++ b/modules/@angular/examples/facade/ts/async/observable_all.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // #docregion Observable import 'rxjs'; // #enddocregion diff --git a/modules/@angular/examples/facade/ts/async/observable_patched.ts b/modules/@angular/examples/facade/ts/async/observable_patched.ts index 4958dd77ff..4072af91ae 100644 --- a/modules/@angular/examples/facade/ts/async/observable_patched.ts +++ b/modules/@angular/examples/facade/ts/async/observable_patched.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // #docregion Observable import 'rxjs/add/operator/map'; diff --git a/modules/@angular/examples/facade/ts/async/observable_pure.ts b/modules/@angular/examples/facade/ts/async/observable_pure.ts index e6e5de895f..dd975f497c 100644 --- a/modules/@angular/examples/facade/ts/async/observable_pure.ts +++ b/modules/@angular/examples/facade/ts/async/observable_pure.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // #docregion Observable import {Observable, Subscriber} from 'rxjs/Rx'; import {map} from 'rxjs/operator/map'; diff --git a/modules/@angular/examples/platform-browser/dom/debug/ts/by/by.ts b/modules/@angular/examples/platform-browser/dom/debug/ts/by/by.ts index 3df3a1b034..98dccaaeb6 100644 --- a/modules/@angular/examples/platform-browser/dom/debug/ts/by/by.ts +++ b/modules/@angular/examples/platform-browser/dom/debug/ts/by/by.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DebugElement} from '@angular/core'; import {By} from '@angular/platform-browser'; diff --git a/modules/@angular/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts b/modules/@angular/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts index ee5781be72..9ec4a25ca6 100644 --- a/modules/@angular/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts +++ b/modules/@angular/examples/platform-browser/dom/debug/ts/debug_element_view_listener/providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {ELEMENT_PROBE_PROVIDERS} from '@angular/platform-browser'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_example.ts b/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_example.ts index 919912a761..33bcd4739b 100644 --- a/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_example.ts +++ b/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_BASE_HREF} from '@angular/common'; import {Component, ComponentRef} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_spec.ts b/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_spec.ts index 564d6edb55..db4bccbd94 100644 --- a/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_spec.ts +++ b/modules/@angular/examples/router_deprecated/ts/can_activate/can_activate_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {expect} from '@angular/core/testing'; import {browser, verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; diff --git a/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_example.ts b/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_example.ts index 7efd26e152..b53c2c200c 100644 --- a/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_example.ts +++ b/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_BASE_HREF} from '@angular/common'; import {Component, ComponentRef, provide} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_spec.ts b/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_spec.ts index 684d41522f..a7eb265ad7 100644 --- a/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_spec.ts +++ b/modules/@angular/examples/router_deprecated/ts/can_deactivate/can_deactivate_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {expect} from '@angular/core/testing'; import {browser, verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; diff --git a/modules/@angular/examples/router_deprecated/ts/on_activate/on_activate_example.ts b/modules/@angular/examples/router_deprecated/ts/on_activate/on_activate_example.ts index 6f5110f024..f14c3e7c4a 100644 --- a/modules/@angular/examples/router_deprecated/ts/on_activate/on_activate_example.ts +++ b/modules/@angular/examples/router_deprecated/ts/on_activate/on_activate_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_BASE_HREF} from '@angular/common'; import {Component, ComponentRef, provide} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_example.ts b/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_example.ts index 3b2c7eb8b6..7b36f17df0 100644 --- a/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_example.ts +++ b/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_BASE_HREF} from '@angular/common'; import {Component, ComponentRef, Injectable} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_spec.ts b/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_spec.ts index 9cd7463ce9..1c3ee32df6 100644 --- a/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_spec.ts +++ b/modules/@angular/examples/router_deprecated/ts/on_deactivate/on_deactivate_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {expect} from '@angular/core/testing'; import {browser, verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; diff --git a/modules/@angular/examples/router_deprecated/ts/reuse/reuse_example.ts b/modules/@angular/examples/router_deprecated/ts/reuse/reuse_example.ts index 33d5f2e69b..d5ad3162d6 100644 --- a/modules/@angular/examples/router_deprecated/ts/reuse/reuse_example.ts +++ b/modules/@angular/examples/router_deprecated/ts/reuse/reuse_example.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_BASE_HREF} from '@angular/common'; import {Component, ComponentRef} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/examples/router_deprecated/ts/reuse/reuse_spec.ts b/modules/@angular/examples/router_deprecated/ts/reuse/reuse_spec.ts index c3988e8559..6a4800bd4a 100644 --- a/modules/@angular/examples/router_deprecated/ts/reuse/reuse_spec.ts +++ b/modules/@angular/examples/router_deprecated/ts/reuse/reuse_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {expect} from '@angular/core/testing'; import {browser, verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; diff --git a/modules/@angular/examples/testing/ts/fake_async.ts b/modules/@angular/examples/testing/ts/fake_async.ts index 610cce27d2..fe856d8aae 100644 --- a/modules/@angular/examples/testing/ts/fake_async.ts +++ b/modules/@angular/examples/testing/ts/fake_async.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {clearPendingTimers, describe, expect, fakeAsync, it, tick} from '@angular/core/testing'; diff --git a/modules/@angular/examples/testing/ts/matchers.ts b/modules/@angular/examples/testing/ts/matchers.ts index 9b05fb40d3..cc46468b8b 100644 --- a/modules/@angular/examples/testing/ts/matchers.ts +++ b/modules/@angular/examples/testing/ts/matchers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {expect} from '@angular/core/testing'; var value: any; diff --git a/modules/@angular/examples/testing/ts/testing.ts b/modules/@angular/examples/testing/ts/testing.ts index 70f6f5d6db..b5fdeb72a2 100644 --- a/modules/@angular/examples/testing/ts/testing.ts +++ b/modules/@angular/examples/testing/ts/testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, beforeEachProviders, describe, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; var db: any; diff --git a/modules/@angular/facade/src/async.ts b/modules/@angular/facade/src/async.ts index 455430e49f..1d502b4de4 100644 --- a/modules/@angular/facade/src/async.ts +++ b/modules/@angular/facade/src/async.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Observable} from 'rxjs/Observable'; import {Subject} from 'rxjs/Subject'; import {PromiseObservable} from 'rxjs/observable/PromiseObservable'; diff --git a/modules/@angular/facade/src/base_wrapped_exception.ts b/modules/@angular/facade/src/base_wrapped_exception.ts index 22b486778e..ab9fd1c498 100644 --- a/modules/@angular/facade/src/base_wrapped_exception.ts +++ b/modules/@angular/facade/src/base_wrapped_exception.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * A base class for the WrappedException that can be used to identify * a WrappedException from ExceptionHandler without adding circular diff --git a/modules/@angular/facade/src/browser.ts b/modules/@angular/facade/src/browser.ts index 1222bfd094..8305b9ae44 100644 --- a/modules/@angular/facade/src/browser.ts +++ b/modules/@angular/facade/src/browser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * JS version of browser APIs. This library can only run in the browser. */ diff --git a/modules/@angular/facade/src/collection.ts b/modules/@angular/facade/src/collection.ts index 0b9180a381..58a6d05cf1 100644 --- a/modules/@angular/facade/src/collection.ts +++ b/modules/@angular/facade/src/collection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getSymbolIterator, global, isArray, isBlank, isJsObject, isPresent} from './lang'; export var Map = global.Map; diff --git a/modules/@angular/facade/src/exception_handler.ts b/modules/@angular/facade/src/exception_handler.ts index 86d2bf4e53..dacd210ff6 100644 --- a/modules/@angular/facade/src/exception_handler.ts +++ b/modules/@angular/facade/src/exception_handler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseWrappedException} from './base_wrapped_exception'; import {isListLikeIterable} from './collection'; import {isBlank, isPresent} from './lang'; diff --git a/modules/@angular/facade/src/exceptions.ts b/modules/@angular/facade/src/exceptions.ts index abd6c9c537..8a82d9fcf3 100644 --- a/modules/@angular/facade/src/exceptions.ts +++ b/modules/@angular/facade/src/exceptions.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseWrappedException} from './base_wrapped_exception'; import {ExceptionHandler} from './exception_handler'; diff --git a/modules/@angular/facade/src/intl.ts b/modules/@angular/facade/src/intl.ts index 8563b2945e..77efc23ecf 100644 --- a/modules/@angular/facade/src/intl.ts +++ b/modules/@angular/facade/src/intl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export enum NumberFormatStyle { Decimal, Percent, diff --git a/modules/@angular/facade/src/lang.ts b/modules/@angular/facade/src/lang.ts index 67e5c1a03f..e5a1fcd9b0 100644 --- a/modules/@angular/facade/src/lang.ts +++ b/modules/@angular/facade/src/lang.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export interface BrowserNodeGlobal { Object: typeof Object; Array: typeof Array; diff --git a/modules/@angular/facade/src/math.ts b/modules/@angular/facade/src/math.ts index 7b191cf5c4..fa8f717194 100644 --- a/modules/@angular/facade/src/math.ts +++ b/modules/@angular/facade/src/math.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {global} from './lang'; export var Math = global.Math; diff --git a/modules/@angular/facade/src/promise.ts b/modules/@angular/facade/src/promise.ts index 53de28a21f..04300155fc 100644 --- a/modules/@angular/facade/src/promise.ts +++ b/modules/@angular/facade/src/promise.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export class PromiseCompleter { promise: Promise; diff --git a/modules/@angular/facade/test/async_spec.ts b/modules/@angular/facade/test/async_spec.ts index 0e84231ce3..c62997ba12 100644 --- a/modules/@angular/facade/test/async_spec.ts +++ b/modules/@angular/facade/test/async_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, expect, beforeEach, ddescribe, iit, xit, inject,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/facade/test/collection_spec.ts b/modules/@angular/facade/test/collection_spec.ts index 1a79a4d0ae..ecd596297a 100644 --- a/modules/@angular/facade/test/collection_spec.ts +++ b/modules/@angular/facade/test/collection_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing'; import {ListWrapper, MapWrapper, StringMapWrapper} from '../src/collection'; diff --git a/modules/@angular/facade/test/exception_handler_spec.ts b/modules/@angular/facade/test/exception_handler_spec.ts index f0046525f7..704c6192b2 100644 --- a/modules/@angular/facade/test/exception_handler_spec.ts +++ b/modules/@angular/facade/test/exception_handler_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit,} from '@angular/core/testing/testing_internal'; import {BaseException, WrappedException, ExceptionHandler} from '../src/exceptions'; diff --git a/modules/@angular/facade/test/lang_spec.ts b/modules/@angular/facade/test/lang_spec.ts index ae85520e1f..798622873f 100644 --- a/modules/@angular/facade/test/lang_spec.ts +++ b/modules/@angular/facade/test/lang_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing'; import {NumberWrapper, RegExpMatcherWrapper, RegExpWrapper, StringWrapper, escapeRegExp, hasConstructor, isPresent, resolveEnumToken} from '../src/lang'; diff --git a/modules/@angular/forms/index.ts b/modules/@angular/forms/index.ts index 17858b1182..b64d7b5c78 100644 --- a/modules/@angular/forms/index.ts +++ b/modules/@angular/forms/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './src/forms'; diff --git a/modules/@angular/forms/src/directives.ts b/modules/@angular/forms/src/directives.ts index 3e5907d4e9..cda095a753 100644 --- a/modules/@angular/forms/src/directives.ts +++ b/modules/@angular/forms/src/directives.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '@angular/core'; import {CheckboxControlValueAccessor} from './directives/checkbox_value_accessor'; diff --git a/modules/@angular/forms/src/directives/abstract_control_directive.ts b/modules/@angular/forms/src/directives/abstract_control_directive.ts index abd0444e1a..1f484f1d66 100644 --- a/modules/@angular/forms/src/directives/abstract_control_directive.ts +++ b/modules/@angular/forms/src/directives/abstract_control_directive.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {unimplemented} from '../facade/exceptions'; import {isPresent} from '../facade/lang'; import {AbstractControl} from '../model'; diff --git a/modules/@angular/forms/src/directives/abstract_form_group_directive.ts b/modules/@angular/forms/src/directives/abstract_form_group_directive.ts index 03009be8f4..ff1734729b 100644 --- a/modules/@angular/forms/src/directives/abstract_form_group_directive.ts +++ b/modules/@angular/forms/src/directives/abstract_form_group_directive.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OnDestroy, OnInit} from '@angular/core'; import {FormGroup} from '../model'; diff --git a/modules/@angular/forms/src/directives/checkbox_value_accessor.ts b/modules/@angular/forms/src/directives/checkbox_value_accessor.ts index 6552b3ad3c..ec8fcd6d16 100644 --- a/modules/@angular/forms/src/directives/checkbox_value_accessor.ts +++ b/modules/@angular/forms/src/directives/checkbox_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core'; import {ControlValueAccessor, NG_VALUE_ACCESSOR} from './control_value_accessor'; diff --git a/modules/@angular/forms/src/directives/control_container.ts b/modules/@angular/forms/src/directives/control_container.ts index 23ce459784..f41ff60fe5 100644 --- a/modules/@angular/forms/src/directives/control_container.ts +++ b/modules/@angular/forms/src/directives/control_container.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AbstractControlDirective} from './abstract_control_directive'; import {Form} from './form_interface'; diff --git a/modules/@angular/forms/src/directives/control_value_accessor.ts b/modules/@angular/forms/src/directives/control_value_accessor.ts index 2ea1adfdc9..e5b9491a06 100644 --- a/modules/@angular/forms/src/directives/control_value_accessor.ts +++ b/modules/@angular/forms/src/directives/control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; /** diff --git a/modules/@angular/forms/src/directives/default_value_accessor.ts b/modules/@angular/forms/src/directives/default_value_accessor.ts index fe7fbeb1ca..2f394409f0 100644 --- a/modules/@angular/forms/src/directives/default_value_accessor.ts +++ b/modules/@angular/forms/src/directives/default_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core'; import {isBlank} from '../facade/lang'; diff --git a/modules/@angular/forms/src/directives/form_interface.ts b/modules/@angular/forms/src/directives/form_interface.ts index 13fdf68e4d..f59972e501 100644 --- a/modules/@angular/forms/src/directives/form_interface.ts +++ b/modules/@angular/forms/src/directives/form_interface.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {FormControl, FormGroup} from '../model'; import {AbstractFormGroupDirective} from './abstract_form_group_directive'; diff --git a/modules/@angular/forms/src/directives/ng_control.ts b/modules/@angular/forms/src/directives/ng_control.ts index b9a8522773..fadfd3a254 100644 --- a/modules/@angular/forms/src/directives/ng_control.ts +++ b/modules/@angular/forms/src/directives/ng_control.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {unimplemented} from '../facade/exceptions'; import {AbstractControlDirective} from './abstract_control_directive'; diff --git a/modules/@angular/forms/src/directives/ng_control_status.ts b/modules/@angular/forms/src/directives/ng_control_status.ts index f5ba580bc0..bd41d87d58 100644 --- a/modules/@angular/forms/src/directives/ng_control_status.ts +++ b/modules/@angular/forms/src/directives/ng_control_status.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Self} from '@angular/core'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/forms/src/directives/ng_form.ts b/modules/@angular/forms/src/directives/ng_form.ts index 84bd2f664d..7e864bf010 100644 --- a/modules/@angular/forms/src/directives/ng_form.ts +++ b/modules/@angular/forms/src/directives/ng_form.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, Optional, Self, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper, PromiseWrapper} from '../facade/async'; diff --git a/modules/@angular/forms/src/directives/ng_model.ts b/modules/@angular/forms/src/directives/ng_model.ts index 70ad98466c..6cfdc2bb9d 100644 --- a/modules/@angular/forms/src/directives/ng_model.ts +++ b/modules/@angular/forms/src/directives/ng_model.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, Inject, Input, OnChanges, OnDestroy, Optional, Output, Self, SimpleChanges, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../facade/async'; diff --git a/modules/@angular/forms/src/directives/ng_model_group.ts b/modules/@angular/forms/src/directives/ng_model_group.ts index 2184bc92b7..b2e3484d53 100644 --- a/modules/@angular/forms/src/directives/ng_model_group.ts +++ b/modules/@angular/forms/src/directives/ng_model_group.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, Inject, Input, OnDestroy, OnInit, Optional, Self, SkipSelf, forwardRef} from '@angular/core'; import {NG_ASYNC_VALIDATORS, NG_VALIDATORS} from '../validators'; diff --git a/modules/@angular/forms/src/directives/normalize_validator.ts b/modules/@angular/forms/src/directives/normalize_validator.ts index d669b78961..0aad19ef38 100644 --- a/modules/@angular/forms/src/directives/normalize_validator.ts +++ b/modules/@angular/forms/src/directives/normalize_validator.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AbstractControl} from '../model'; import {AsyncValidatorFn, Validator, ValidatorFn} from './validators'; diff --git a/modules/@angular/forms/src/directives/number_value_accessor.ts b/modules/@angular/forms/src/directives/number_value_accessor.ts index f0910df337..3583019086 100644 --- a/modules/@angular/forms/src/directives/number_value_accessor.ts +++ b/modules/@angular/forms/src/directives/number_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Renderer, forwardRef} from '@angular/core'; import {NumberWrapper} from '../facade/lang'; diff --git a/modules/@angular/forms/src/directives/radio_control_value_accessor.ts b/modules/@angular/forms/src/directives/radio_control_value_accessor.ts index 571068bfbd..5c73f26df3 100644 --- a/modules/@angular/forms/src/directives/radio_control_value_accessor.ts +++ b/modules/@angular/forms/src/directives/radio_control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Injectable, Injector, Input, OnDestroy, OnInit, Renderer, forwardRef} from '@angular/core'; import {ListWrapper} from '../facade/collection'; diff --git a/modules/@angular/forms/src/directives/reactive_directives/form_control_directive.ts b/modules/@angular/forms/src/directives/reactive_directives/form_control_directive.ts index c69fcd09e4..60e70636f5 100644 --- a/modules/@angular/forms/src/directives/reactive_directives/form_control_directive.ts +++ b/modules/@angular/forms/src/directives/reactive_directives/form_control_directive.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, Input, OnChanges, Optional, Output, Self, SimpleChanges, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/forms/src/directives/reactive_directives/form_control_name.ts b/modules/@angular/forms/src/directives/reactive_directives/form_control_name.ts index 45c8e89b20..5579c575cf 100644 --- a/modules/@angular/forms/src/directives/reactive_directives/form_control_name.ts +++ b/modules/@angular/forms/src/directives/reactive_directives/form_control_name.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, Inject, Input, OnChanges, OnDestroy, Optional, Output, Self, SimpleChanges, SkipSelf, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/forms/src/directives/reactive_directives/form_group_directive.ts b/modules/@angular/forms/src/directives/reactive_directives/form_group_directive.ts index f22e129e75..95f359e23b 100644 --- a/modules/@angular/forms/src/directives/reactive_directives/form_group_directive.ts +++ b/modules/@angular/forms/src/directives/reactive_directives/form_group_directive.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Inject, Input, OnChanges, Optional, Output, Self, SimpleChanges, forwardRef} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/forms/src/directives/reactive_directives/form_group_name.ts b/modules/@angular/forms/src/directives/reactive_directives/form_group_name.ts index b67ac8c78f..779bc873d2 100644 --- a/modules/@angular/forms/src/directives/reactive_directives/form_group_name.ts +++ b/modules/@angular/forms/src/directives/reactive_directives/form_group_name.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, Host, Inject, Input, OnDestroy, OnInit, Optional, Self, SkipSelf, forwardRef} from '@angular/core'; import {NG_ASYNC_VALIDATORS, NG_VALIDATORS} from '../../validators'; import {AbstractFormGroupDirective} from '../abstract_form_group_directive'; diff --git a/modules/@angular/forms/src/directives/select_control_value_accessor.ts b/modules/@angular/forms/src/directives/select_control_value_accessor.ts index ff03603979..43725968bb 100644 --- a/modules/@angular/forms/src/directives/select_control_value_accessor.ts +++ b/modules/@angular/forms/src/directives/select_control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Host, Input, OnDestroy, Optional, Renderer, forwardRef} from '@angular/core'; import {MapWrapper} from '../facade/collection'; diff --git a/modules/@angular/forms/src/directives/select_multiple_control_value_accessor.ts b/modules/@angular/forms/src/directives/select_multiple_control_value_accessor.ts index 886f73e445..c2fcb03aac 100644 --- a/modules/@angular/forms/src/directives/select_multiple_control_value_accessor.ts +++ b/modules/@angular/forms/src/directives/select_multiple_control_value_accessor.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, ElementRef, Host, Input, OnDestroy, Optional, Renderer, forwardRef} from '@angular/core'; import {MapWrapper} from '../facade/collection'; diff --git a/modules/@angular/forms/src/directives/shared.ts b/modules/@angular/forms/src/directives/shared.ts index 55dd9c54f0..417dfe7a32 100644 --- a/modules/@angular/forms/src/directives/shared.ts +++ b/modules/@angular/forms/src/directives/shared.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper, StringMapWrapper} from '../facade/collection'; import {BaseException} from '../facade/exceptions'; import {hasConstructor, isBlank, isPresent, looseIdentical} from '../facade/lang'; diff --git a/modules/@angular/forms/src/directives/validators.ts b/modules/@angular/forms/src/directives/validators.ts index 3c45ece10c..f079faf703 100644 --- a/modules/@angular/forms/src/directives/validators.ts +++ b/modules/@angular/forms/src/directives/validators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Attribute, Directive, forwardRef} from '@angular/core'; import {NumberWrapper} from '../facade/lang'; diff --git a/modules/@angular/forms/src/form_builder.ts b/modules/@angular/forms/src/form_builder.ts index 56be457a7e..c396d0bb63 100644 --- a/modules/@angular/forms/src/form_builder.ts +++ b/modules/@angular/forms/src/form_builder.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {AsyncValidatorFn, ValidatorFn} from './directives/validators'; diff --git a/modules/@angular/forms/src/form_providers.ts b/modules/@angular/forms/src/form_providers.ts index 733465e39d..01b7ecee2c 100644 --- a/modules/@angular/forms/src/form_providers.ts +++ b/modules/@angular/forms/src/form_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {COMMON_DIRECTIVES, FORM_DIRECTIVES as OLD_FORM_DIRECTIVES, FORM_PROVIDERS as OLD_FORM_PROVIDERS} from '@angular/common'; import {CompilerConfig} from '@angular/compiler'; diff --git a/modules/@angular/forms/src/forms.ts b/modules/@angular/forms/src/forms.ts index 5d22405871..8390002d71 100644 --- a/modules/@angular/forms/src/forms.ts +++ b/modules/@angular/forms/src/forms.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/forms/src/model.ts b/modules/@angular/forms/src/model.ts index de08629bd2..4a93d3daa1 100644 --- a/modules/@angular/forms/src/model.ts +++ b/modules/@angular/forms/src/model.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {composeAsyncValidators, composeValidators} from './directives/shared'; import {AsyncValidatorFn, ValidatorFn} from './directives/validators'; import {EventEmitter, Observable, ObservableWrapper} from './facade/async'; diff --git a/modules/@angular/forms/src/validators.ts b/modules/@angular/forms/src/validators.ts index f49c691f96..4515efda40 100644 --- a/modules/@angular/forms/src/validators.ts +++ b/modules/@angular/forms/src/validators.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; import {AsyncValidatorFn, ValidatorFn} from './directives/validators'; import {ObservableWrapper} from './facade/async'; diff --git a/modules/@angular/forms/test/directives_spec.ts b/modules/@angular/forms/test/directives_spec.ts index eb4b26b603..2454c1cb47 100644 --- a/modules/@angular/forms/test/directives_spec.ts +++ b/modules/@angular/forms/test/directives_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick,} from '@angular/core/testing'; diff --git a/modules/@angular/forms/test/form_builder_spec.ts b/modules/@angular/forms/test/form_builder_spec.ts index d31557df91..bbc3e37d00 100644 --- a/modules/@angular/forms/test/form_builder_spec.ts +++ b/modules/@angular/forms/test/form_builder_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; import {FormBuilder, FormControl} from '@angular/forms'; diff --git a/modules/@angular/forms/test/integration_spec.ts b/modules/@angular/forms/test/integration_spec.ts index 2c0a233097..2cf928dffb 100644 --- a/modules/@angular/forms/test/integration_spec.ts +++ b/modules/@angular/forms/test/integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgFor, NgIf} from '@angular/common'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/forms/test/model_spec.ts b/modules/@angular/forms/test/model_spec.ts index 9c54ae462c..d5af3d67a8 100644 --- a/modules/@angular/forms/test/model_spec.ts +++ b/modules/@angular/forms/test/model_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, inject,} from '@angular/core/testing/testing_internal'; import {fakeAsync, flushMicrotasks, Log, tick} from '@angular/core/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/forms/test/spies.ts b/modules/@angular/forms/test/spies.ts index bfd86a6610..6c4d6bb722 100644 --- a/modules/@angular/forms/test/spies.ts +++ b/modules/@angular/forms/test/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detector_ref'; import {SpyObject, proxy} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/forms/test/validators_spec.ts b/modules/@angular/forms/test/validators_spec.ts index 17002dc4d0..e3c8e5d9b1 100644 --- a/modules/@angular/forms/test/validators_spec.ts +++ b/modules/@angular/forms/test/validators_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Log, fakeAsync, flushMicrotasks, tick} from '@angular/core/testing'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing/testing_internal'; import {AbstractControl, FormControl, Validators} from '@angular/forms'; diff --git a/modules/@angular/http/http.ts b/modules/@angular/http/http.ts index 66cc989bb2..cf6f6a85e2 100644 --- a/modules/@angular/http/http.ts +++ b/modules/@angular/http/http.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/http/index.ts b/modules/@angular/http/index.ts index c202386ae7..4ffa4bc5a1 100644 --- a/modules/@angular/http/index.ts +++ b/modules/@angular/http/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './http'; diff --git a/modules/@angular/http/src/backends/browser_jsonp.ts b/modules/@angular/http/src/backends/browser_jsonp.ts index 96135a92cf..248a808811 100644 --- a/modules/@angular/http/src/backends/browser_jsonp.ts +++ b/modules/@angular/http/src/backends/browser_jsonp.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {global} from '../facade/lang'; diff --git a/modules/@angular/http/src/backends/browser_xhr.ts b/modules/@angular/http/src/backends/browser_xhr.ts index 21e299227e..fcfa7290d9 100644 --- a/modules/@angular/http/src/backends/browser_xhr.ts +++ b/modules/@angular/http/src/backends/browser_xhr.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; /** diff --git a/modules/@angular/http/src/backends/jsonp_backend.ts b/modules/@angular/http/src/backends/jsonp_backend.ts index 632c80bc58..f209cb9de7 100644 --- a/modules/@angular/http/src/backends/jsonp_backend.ts +++ b/modules/@angular/http/src/backends/jsonp_backend.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {Observable} from 'rxjs/Observable'; import {Observer} from 'rxjs/Observer'; diff --git a/modules/@angular/http/src/backends/xhr_backend.ts b/modules/@angular/http/src/backends/xhr_backend.ts index 93530ed717..876d25a5c9 100644 --- a/modules/@angular/http/src/backends/xhr_backend.ts +++ b/modules/@angular/http/src/backends/xhr_backend.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {__platform_browser_private__} from '@angular/platform-browser'; import {Observable} from 'rxjs/Observable'; diff --git a/modules/@angular/http/src/base_request_options.ts b/modules/@angular/http/src/base_request_options.ts index 144e349418..ef1c0c0457 100644 --- a/modules/@angular/http/src/base_request_options.ts +++ b/modules/@angular/http/src/base_request_options.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {isPresent, isString} from '../src/facade/lang'; diff --git a/modules/@angular/http/src/base_response_options.ts b/modules/@angular/http/src/base_response_options.ts index 90a174f9a5..e7dee0b70f 100644 --- a/modules/@angular/http/src/base_response_options.ts +++ b/modules/@angular/http/src/base_response_options.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {isJsObject, isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/http/src/enums.ts b/modules/@angular/http/src/enums.ts index 3be58fb595..c3c20f914b 100644 --- a/modules/@angular/http/src/enums.ts +++ b/modules/@angular/http/src/enums.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Supported http methods. */ diff --git a/modules/@angular/http/src/headers.ts b/modules/@angular/http/src/headers.ts index f4d4373e4e..5327878d82 100644 --- a/modules/@angular/http/src/headers.ts +++ b/modules/@angular/http/src/headers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../src/facade/exceptions'; import {isBlank} from '../src/facade/lang'; diff --git a/modules/@angular/http/src/http.ts b/modules/@angular/http/src/http.ts index c35cf806fe..6182efde28 100644 --- a/modules/@angular/http/src/http.ts +++ b/modules/@angular/http/src/http.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {Observable} from 'rxjs/Observable'; diff --git a/modules/@angular/http/src/http_utils.ts b/modules/@angular/http/src/http_utils.ts index 7b42f405aa..b0e1605731 100644 --- a/modules/@angular/http/src/http_utils.ts +++ b/modules/@angular/http/src/http_utils.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {makeTypeError} from '../src/facade/exceptions'; import {isString} from '../src/facade/lang'; diff --git a/modules/@angular/http/src/index.ts b/modules/@angular/http/src/index.ts index 55af204810..d96615d346 100644 --- a/modules/@angular/http/src/index.ts +++ b/modules/@angular/http/src/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // Index to be used if Http is ever configured as a standalone npm package. // require('reflect-metadata'); // require('es6-shim'); diff --git a/modules/@angular/http/src/interfaces.ts b/modules/@angular/http/src/interfaces.ts index 99b6e16267..fcf714e467 100644 --- a/modules/@angular/http/src/interfaces.ts +++ b/modules/@angular/http/src/interfaces.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ReadyState, RequestMethod, ResponseType} from './enums'; import {Headers} from './headers'; import {Request} from './static_request'; diff --git a/modules/@angular/http/src/static_request.ts b/modules/@angular/http/src/static_request.ts index 9b55d1f138..265ebc9c2d 100644 --- a/modules/@angular/http/src/static_request.ts +++ b/modules/@angular/http/src/static_request.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringWrapper, isPresent} from '../src/facade/lang'; import {ContentType, RequestMethod} from './enums'; diff --git a/modules/@angular/http/src/static_response.ts b/modules/@angular/http/src/static_response.ts index 65b28baf6d..02f790cbb4 100644 --- a/modules/@angular/http/src/static_response.ts +++ b/modules/@angular/http/src/static_response.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../src/facade/exceptions'; import {Json, isString} from '../src/facade/lang'; diff --git a/modules/@angular/http/src/url_search_params.ts b/modules/@angular/http/src/url_search_params.ts index 828d833b58..732b23cc94 100644 --- a/modules/@angular/http/src/url_search_params.ts +++ b/modules/@angular/http/src/url_search_params.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ListWrapper, Map, isListLikeIterable} from '../src/facade/collection'; import {isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/http/test/backends/jsonp_backend_spec.ts b/modules/@angular/http/test/backends/jsonp_backend_spec.ts index f8c4d0b642..bba0a0190e 100644 --- a/modules/@angular/http/test/backends/jsonp_backend_spec.ts +++ b/modules/@angular/http/test/backends/jsonp_backend_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter, SpyObject} from '@angular/core/testing/testing_internal'; import {ObservableWrapper} from '../../src/facade/async'; diff --git a/modules/@angular/http/test/backends/mock_backend_spec.ts b/modules/@angular/http/test/backends/mock_backend_spec.ts index 7d2b3afff9..43e782df33 100644 --- a/modules/@angular/http/test/backends/mock_backend_spec.ts +++ b/modules/@angular/http/test/backends/mock_backend_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {ObservableWrapper} from '../../src/facade/async'; diff --git a/modules/@angular/http/test/backends/xhr_backend_spec.ts b/modules/@angular/http/test/backends/xhr_backend_spec.ts index 313609041c..4072fd1fde 100644 --- a/modules/@angular/http/test/backends/xhr_backend_spec.ts +++ b/modules/@angular/http/test/backends/xhr_backend_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter, SpyObject} from '@angular/core/testing/testing_internal'; import {BrowserXhr} from '../../src/backends/browser_xhr'; diff --git a/modules/@angular/http/test/base_request_options_spec.ts b/modules/@angular/http/test/base_request_options_spec.ts index 2456a92b72..ef48d03e3b 100644 --- a/modules/@angular/http/test/base_request_options_spec.ts +++ b/modules/@angular/http/test/base_request_options_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {BaseRequestOptions, RequestOptions} from '../src/base_request_options'; import {RequestMethod} from '../src/enums'; diff --git a/modules/@angular/http/test/headers_spec.ts b/modules/@angular/http/test/headers_spec.ts index 97cd139c3d..5645911793 100644 --- a/modules/@angular/http/test/headers_spec.ts +++ b/modules/@angular/http/test/headers_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {Map, StringMapWrapper} from '../src/facade/collection'; diff --git a/modules/@angular/http/test/http_spec.ts b/modules/@angular/http/test/http_spec.ts index 940f37d0ab..761aa2d456 100644 --- a/modules/@angular/http/test/http_spec.ts +++ b/modules/@angular/http/test/http_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injector, ReflectiveInjector, provide} from '@angular/core'; import {afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/http/test/static_response_spec.ts b/modules/@angular/http/test/static_response_spec.ts index abd2ab39ef..2a8cd9c051 100644 --- a/modules/@angular/http/test/static_response_spec.ts +++ b/modules/@angular/http/test/static_response_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, expect, it,} from '@angular/core/testing/testing_internal'; import {ResponseOptions} from '../src/base_response_options'; diff --git a/modules/@angular/http/test/url_search_params_spec.ts b/modules/@angular/http/test/url_search_params_spec.ts index 7c8336b8a4..e6ddb6fdb1 100644 --- a/modules/@angular/http/test/url_search_params_spec.ts +++ b/modules/@angular/http/test/url_search_params_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {URLSearchParams} from '../src/url_search_params'; diff --git a/modules/@angular/http/testing.ts b/modules/@angular/http/testing.ts index 1e237bd21a..07ff42c35a 100644 --- a/modules/@angular/http/testing.ts +++ b/modules/@angular/http/testing.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './testing/mock_backend'; diff --git a/modules/@angular/http/testing/mock_backend.ts b/modules/@angular/http/testing/mock_backend.ts index 3c5c7f343a..7ab182f8f9 100644 --- a/modules/@angular/http/testing/mock_backend.ts +++ b/modules/@angular/http/testing/mock_backend.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {ReplaySubject} from 'rxjs/ReplaySubject'; import {Subject} from 'rxjs/Subject'; diff --git a/modules/@angular/platform-browser-dynamic/core_private.ts b/modules/@angular/platform-browser-dynamic/core_private.ts index 28c63d8140..3862d68543 100644 --- a/modules/@angular/platform-browser-dynamic/core_private.ts +++ b/modules/@angular/platform-browser-dynamic/core_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities; diff --git a/modules/@angular/platform-browser-dynamic/index.ts b/modules/@angular/platform-browser-dynamic/index.ts index b6b2211d20..f46e537dbe 100644 --- a/modules/@angular/platform-browser-dynamic/index.ts +++ b/modules/@angular/platform-browser-dynamic/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {COMMON_DIRECTIVES, COMMON_PIPES} from '@angular/common'; import {COMPILER_PROVIDERS, CompilerConfig, XHR} from '@angular/compiler'; import {ApplicationRef, ComponentRef, PLATFORM_DIRECTIVES, PLATFORM_PIPES, ReflectiveInjector, Type, coreLoadAndBootstrap} from '@angular/core'; diff --git a/modules/@angular/platform-browser-dynamic/platform_browser_private.ts b/modules/@angular/platform-browser-dynamic/platform_browser_private.ts index be0d7e24c9..39a14200e1 100644 --- a/modules/@angular/platform-browser-dynamic/platform_browser_private.ts +++ b/modules/@angular/platform-browser-dynamic/platform_browser_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__platform_browser_private__ as r, __platform_browser_private__ as t} from '@angular/platform-browser'; export var getDOM: typeof t.getDOM = r.getDOM; diff --git a/modules/@angular/platform-browser-dynamic/private_export_testing.ts b/modules/@angular/platform-browser-dynamic/private_export_testing.ts index 99649bbb6a..8dcd2345dd 100644 --- a/modules/@angular/platform-browser-dynamic/private_export_testing.ts +++ b/modules/@angular/platform-browser-dynamic/private_export_testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as testing from './testing/dom_test_component_renderer'; export declare namespace __platform_browser_dynamic_private_types__ { diff --git a/modules/@angular/platform-browser-dynamic/src/xhr/xhr_cache.ts b/modules/@angular/platform-browser-dynamic/src/xhr/xhr_cache.ts index cc1c1a2a29..e6cdd3646b 100644 --- a/modules/@angular/platform-browser-dynamic/src/xhr/xhr_cache.ts +++ b/modules/@angular/platform-browser-dynamic/src/xhr/xhr_cache.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {XHR} from '@angular/compiler'; import {BaseException} from '../facade/exceptions'; import {global} from '../facade/lang'; diff --git a/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts b/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts index 14f676155a..40d23a029e 100644 --- a/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts +++ b/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {XHR} from '@angular/compiler'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts b/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts index 5b74552194..4ed910afbe 100644 --- a/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts +++ b/modules/@angular/platform-browser-dynamic/test/testing_public_browser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {it, iit, xit, describe, ddescribe, xdescribe, expect, beforeEach, beforeEachProviders, inject,} from '@angular/core/testing'; import {async, fakeAsync, flushMicrotasks, Log, tick,} from '@angular/core/testing'; diff --git a/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_setter.ts b/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_setter.ts index 6af922bcac..44e53100f8 100644 --- a/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_setter.ts +++ b/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_setter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function setTemplateCache(cache: any /** TODO #9100 */): void { (window).$templateCache = cache; } diff --git a/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_spec.ts b/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_spec.ts index bdc436d8b9..6b634a89e6 100644 --- a/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_spec.ts +++ b/modules/@angular/platform-browser-dynamic/test/xhr/xhr_cache_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {UrlResolver, XHR} from '@angular/compiler'; import {Component, provide} from '@angular/core'; import {beforeEach, beforeEachProviders, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/platform-browser-dynamic/test/xhr/xhr_impl_spec.ts b/modules/@angular/platform-browser-dynamic/test/xhr/xhr_impl_spec.ts index cabab0ecf9..0ad765db35 100644 --- a/modules/@angular/platform-browser-dynamic/test/xhr/xhr_impl_spec.ts +++ b/modules/@angular/platform-browser-dynamic/test/xhr/xhr_impl_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {PromiseWrapper} from '../../src/facade/async'; diff --git a/modules/@angular/platform-browser-dynamic/testing.ts b/modules/@angular/platform-browser-dynamic/testing.ts index 62cfeacf68..fe0b47d294 100644 --- a/modules/@angular/platform-browser-dynamic/testing.ts +++ b/modules/@angular/platform-browser-dynamic/testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DirectiveResolver, ViewResolver} from '@angular/compiler'; import {MockDirectiveResolver, MockViewResolver, TestComponentBuilder, TestComponentRenderer} from '@angular/compiler/testing'; import {TEST_BROWSER_APPLICATION_PROVIDERS, TEST_BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/platform-browser-dynamic/testing/dom_test_component_renderer.ts b/modules/@angular/platform-browser-dynamic/testing/dom_test_component_renderer.ts index 4c92753cd0..65664457c2 100644 --- a/modules/@angular/platform-browser-dynamic/testing/dom_test_component_renderer.ts +++ b/modules/@angular/platform-browser-dynamic/testing/dom_test_component_renderer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {TestComponentRenderer} from '@angular/compiler/testing'; import {Inject, Injectable} from '@angular/core'; import {DOCUMENT} from '@angular/platform-browser'; diff --git a/modules/@angular/platform-browser/core_private.ts b/modules/@angular/platform-browser/core_private.ts index 8bf3932256..43adfcc79c 100644 --- a/modules/@angular/platform-browser/core_private.ts +++ b/modules/@angular/platform-browser/core_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; export type RenderDebugInfo = t.RenderDebugInfo; diff --git a/modules/@angular/platform-browser/dynamic.ts b/modules/@angular/platform-browser/dynamic.ts index e69de29bb2..c91a05e544 100644 --- a/modules/@angular/platform-browser/dynamic.ts +++ b/modules/@angular/platform-browser/dynamic.ts @@ -0,0 +1,7 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ diff --git a/modules/@angular/platform-browser/index.ts b/modules/@angular/platform-browser/index.ts index b2447c3723..db819c1fb4 100644 --- a/modules/@angular/platform-browser/index.ts +++ b/modules/@angular/platform-browser/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {BrowserPlatformLocation} from './src/browser/location/browser_platform_location'; export {Title} from './src/browser/title'; export {disableDebugTools, enableDebugTools} from './src/browser/tools/tools'; diff --git a/modules/@angular/platform-browser/private_export.ts b/modules/@angular/platform-browser/private_export.ts index 6046db3e4d..d58a7cd97f 100644 --- a/modules/@angular/platform-browser/private_export.ts +++ b/modules/@angular/platform-browser/private_export.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as dom_adapter from './src/dom/dom_adapter'; import * as dom_renderer from './src/dom/dom_renderer'; import * as shared_styles_host from './src/dom/shared_styles_host'; diff --git a/modules/@angular/platform-browser/src/browser.ts b/modules/@angular/platform-browser/src/browser.ts index af0429bbec..05f68cda1e 100644 --- a/modules/@angular/platform-browser/src/browser.ts +++ b/modules/@angular/platform-browser/src/browser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {FORM_PROVIDERS, PlatformLocation} from '@angular/common'; import {APPLICATION_COMMON_PROVIDERS, ExceptionHandler, OpaqueToken, PLATFORM_COMMON_PROVIDERS, PLATFORM_INITIALIZER, PlatformRef, ReflectiveInjector, RootRenderer, Testability, assertPlatform, createPlatform, getPlatform} from '@angular/core'; diff --git a/modules/@angular/platform-browser/src/browser/browser_adapter.ts b/modules/@angular/platform-browser/src/browser/browser_adapter.ts index d2ce7f8062..4aaa307555 100644 --- a/modules/@angular/platform-browser/src/browser/browser_adapter.ts +++ b/modules/@angular/platform-browser/src/browser/browser_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {setRootDomAdapter} from '../dom/dom_adapter'; import {ListWrapper} from '../facade/collection'; import {DateWrapper, global, isBlank, isFunction, isPresent, setValueOnPath} from '../facade/lang'; diff --git a/modules/@angular/platform-browser/src/browser/generic_browser_adapter.ts b/modules/@angular/platform-browser/src/browser/generic_browser_adapter.ts index 55fe6cc4e1..4cce728013 100644 --- a/modules/@angular/platform-browser/src/browser/generic_browser_adapter.ts +++ b/modules/@angular/platform-browser/src/browser/generic_browser_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DomAdapter} from '../dom/dom_adapter'; import {StringMapWrapper} from '../facade/collection'; import {Type, isFunction, isPresent} from '../facade/lang'; diff --git a/modules/@angular/platform-browser/src/browser/location/browser_platform_location.ts b/modules/@angular/platform-browser/src/browser/location/browser_platform_location.ts index 5aaec32b9c..a5847708b6 100644 --- a/modules/@angular/platform-browser/src/browser/location/browser_platform_location.ts +++ b/modules/@angular/platform-browser/src/browser/location/browser_platform_location.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PlatformLocation, UrlChangeListener} from '@angular/common'; import {Injectable} from '@angular/core'; diff --git a/modules/@angular/platform-browser/src/browser/location/history.ts b/modules/@angular/platform-browser/src/browser/location/history.ts index 4b2a671499..b7b3f3f067 100644 --- a/modules/@angular/platform-browser/src/browser/location/history.ts +++ b/modules/@angular/platform-browser/src/browser/location/history.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function supportsState(): boolean { return !!window.history.pushState; } \ No newline at end of file diff --git a/modules/@angular/platform-browser/src/browser/testability.ts b/modules/@angular/platform-browser/src/browser/testability.ts index 1da8c60261..430e1c2723 100644 --- a/modules/@angular/platform-browser/src/browser/testability.ts +++ b/modules/@angular/platform-browser/src/browser/testability.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {GetTestability, Injectable, Testability, TestabilityRegistry, setTestabilityGetter} from '@angular/core'; import {getDOM} from '../dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/src/browser/title.ts b/modules/@angular/platform-browser/src/browser/title.ts index 6cdf678f98..5f8d7b248c 100644 --- a/modules/@angular/platform-browser/src/browser/title.ts +++ b/modules/@angular/platform-browser/src/browser/title.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getDOM} from '../dom/dom_adapter'; /** * A service that can be used to get and set the title of a current HTML document. diff --git a/modules/@angular/platform-browser/src/browser/tools/common_tools.ts b/modules/@angular/platform-browser/src/browser/tools/common_tools.ts index 91d6824b44..ac6a9cefeb 100644 --- a/modules/@angular/platform-browser/src/browser/tools/common_tools.ts +++ b/modules/@angular/platform-browser/src/browser/tools/common_tools.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ApplicationRef, ComponentRef} from '@angular/core'; import {getDOM} from '../../dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/src/browser/tools/tools.ts b/modules/@angular/platform-browser/src/browser/tools/tools.ts index 5e12fadac0..7b386415ea 100644 --- a/modules/@angular/platform-browser/src/browser/tools/tools.ts +++ b/modules/@angular/platform-browser/src/browser/tools/tools.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentRef} from '@angular/core'; import {global} from '../../facade/lang'; diff --git a/modules/@angular/platform-browser/src/dom/debug/by.ts b/modules/@angular/platform-browser/src/dom/debug/by.ts index 5cea0760b2..ecfbcd6d74 100644 --- a/modules/@angular/platform-browser/src/dom/debug/by.ts +++ b/modules/@angular/platform-browser/src/dom/debug/by.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DebugElement} from '@angular/core'; import {getDOM} from '../../dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/src/dom/debug/ng_probe.ts b/modules/@angular/platform-browser/src/dom/debug/ng_probe.ts index 78538cd399..ef4264c549 100644 --- a/modules/@angular/platform-browser/src/dom/debug/ng_probe.ts +++ b/modules/@angular/platform-browser/src/dom/debug/ng_probe.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ApplicationRef, DebugNode, NgZone, RootRenderer, getDebugNode, isDevMode} from '@angular/core'; import {DebugDomRootRenderer} from '../../../core_private'; diff --git a/modules/@angular/platform-browser/src/dom/dom_adapter.ts b/modules/@angular/platform-browser/src/dom/dom_adapter.ts index f20aeb8ef2..6192a487dc 100644 --- a/modules/@angular/platform-browser/src/dom/dom_adapter.ts +++ b/modules/@angular/platform-browser/src/dom/dom_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type, isBlank} from '../facade/lang'; var _DOM: DomAdapter = null; diff --git a/modules/@angular/platform-browser/src/dom/dom_animate_player.ts b/modules/@angular/platform-browser/src/dom/dom_animate_player.ts index 6ce1968d50..b82cbd8fa6 100644 --- a/modules/@angular/platform-browser/src/dom/dom_animate_player.ts +++ b/modules/@angular/platform-browser/src/dom/dom_animate_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export interface DomAnimatePlayer { cancel(): void; play(): void; diff --git a/modules/@angular/platform-browser/src/dom/dom_renderer.ts b/modules/@angular/platform-browser/src/dom/dom_renderer.ts index 23b5690303..d2c83b0332 100644 --- a/modules/@angular/platform-browser/src/dom/dom_renderer.ts +++ b/modules/@angular/platform-browser/src/dom/dom_renderer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, OpaqueToken, RenderComponentType, Renderer, RootRenderer, ViewEncapsulation} from '@angular/core'; import {StringMapWrapper} from '../facade/collection'; diff --git a/modules/@angular/platform-browser/src/dom/dom_tokens.ts b/modules/@angular/platform-browser/src/dom/dom_tokens.ts index 450a1637ac..d143c5475d 100644 --- a/modules/@angular/platform-browser/src/dom/dom_tokens.ts +++ b/modules/@angular/platform-browser/src/dom/dom_tokens.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; /** diff --git a/modules/@angular/platform-browser/src/dom/events/dom_events.ts b/modules/@angular/platform-browser/src/dom/events/dom_events.ts index 27c6fd51f5..43fef1a37d 100644 --- a/modules/@angular/platform-browser/src/dom/events/dom_events.ts +++ b/modules/@angular/platform-browser/src/dom/events/dom_events.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {getDOM} from '../dom_adapter'; diff --git a/modules/@angular/platform-browser/src/dom/events/event_manager.ts b/modules/@angular/platform-browser/src/dom/events/event_manager.ts index fae982e8c3..33eff060d1 100644 --- a/modules/@angular/platform-browser/src/dom/events/event_manager.ts +++ b/modules/@angular/platform-browser/src/dom/events/event_manager.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, NgZone, OpaqueToken} from '@angular/core'; import {ListWrapper} from '../../facade/collection'; diff --git a/modules/@angular/platform-browser/src/dom/events/hammer_common.ts b/modules/@angular/platform-browser/src/dom/events/hammer_common.ts index e264348a8c..36256a11db 100644 --- a/modules/@angular/platform-browser/src/dom/events/hammer_common.ts +++ b/modules/@angular/platform-browser/src/dom/events/hammer_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringMapWrapper} from '../../facade/collection'; import {EventManagerPlugin} from './event_manager'; diff --git a/modules/@angular/platform-browser/src/dom/events/hammer_gestures.ts b/modules/@angular/platform-browser/src/dom/events/hammer_gestures.ts index 56c2925b90..f0708aa5f0 100644 --- a/modules/@angular/platform-browser/src/dom/events/hammer_gestures.ts +++ b/modules/@angular/platform-browser/src/dom/events/hammer_gestures.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable, OpaqueToken} from '@angular/core'; import {BaseException} from '../../facade/exceptions'; diff --git a/modules/@angular/platform-browser/src/dom/events/key_events.ts b/modules/@angular/platform-browser/src/dom/events/key_events.ts index be78f73349..e8bdf5d464 100644 --- a/modules/@angular/platform-browser/src/dom/events/key_events.ts +++ b/modules/@angular/platform-browser/src/dom/events/key_events.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, NgZone} from '@angular/core'; import {isPresent, StringWrapper,} from '../../facade/lang'; diff --git a/modules/@angular/platform-browser/src/dom/shared_styles_host.ts b/modules/@angular/platform-browser/src/dom/shared_styles_host.ts index fff15e313b..9ebeb71895 100644 --- a/modules/@angular/platform-browser/src/dom/shared_styles_host.ts +++ b/modules/@angular/platform-browser/src/dom/shared_styles_host.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Inject, Injectable} from '@angular/core'; import {SetWrapper} from '../facade/collection'; diff --git a/modules/@angular/platform-browser/src/dom/util.ts b/modules/@angular/platform-browser/src/dom/util.ts index f04f3aa40c..0ed68a80a0 100644 --- a/modules/@angular/platform-browser/src/dom/util.ts +++ b/modules/@angular/platform-browser/src/dom/util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringWrapper} from '../facade/lang'; var CAMEL_CASE_REGEXP = /([A-Z])/g; diff --git a/modules/@angular/platform-browser/src/dom/web_animations_driver.ts b/modules/@angular/platform-browser/src/dom/web_animations_driver.ts index 7003c00a5a..8cb90f9160 100644 --- a/modules/@angular/platform-browser/src/dom/web_animations_driver.ts +++ b/modules/@angular/platform-browser/src/dom/web_animations_driver.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AUTO_STYLE, BaseException} from '@angular/core'; import {AnimationDriver, AnimationKeyframe, AnimationPlayer, AnimationStyles, NoOpAnimationPlayer} from '../../core_private'; diff --git a/modules/@angular/platform-browser/src/dom/web_animations_player.ts b/modules/@angular/platform-browser/src/dom/web_animations_player.ts index 39965cc85d..047d329f60 100644 --- a/modules/@angular/platform-browser/src/dom/web_animations_player.ts +++ b/modules/@angular/platform-browser/src/dom/web_animations_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimationPlayer} from '../../core_private'; import {isPresent} from '../facade/lang'; diff --git a/modules/@angular/platform-browser/src/security/dom_sanitization_service.ts b/modules/@angular/platform-browser/src/security/dom_sanitization_service.ts index d5bd275221..25e21d8fea 100644 --- a/modules/@angular/platform-browser/src/security/dom_sanitization_service.ts +++ b/modules/@angular/platform-browser/src/security/dom_sanitization_service.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {SanitizationService, SecurityContext} from '../../core_private'; diff --git a/modules/@angular/platform-browser/src/security/html_sanitizer.ts b/modules/@angular/platform-browser/src/security/html_sanitizer.ts index 0baa5ce871..28b4bf0b0e 100644 --- a/modules/@angular/platform-browser/src/security/html_sanitizer.ts +++ b/modules/@angular/platform-browser/src/security/html_sanitizer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isDevMode} from '@angular/core'; import {DomAdapter, getDOM} from '../dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/src/security/style_sanitizer.ts b/modules/@angular/platform-browser/src/security/style_sanitizer.ts index 887adc0f95..688e20e98c 100644 --- a/modules/@angular/platform-browser/src/security/style_sanitizer.ts +++ b/modules/@angular/platform-browser/src/security/style_sanitizer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isDevMode} from '@angular/core'; import {getDOM} from '../dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/src/security/url_sanitizer.ts b/modules/@angular/platform-browser/src/security/url_sanitizer.ts index 3d215dfbfd..3d1dcf9fe3 100644 --- a/modules/@angular/platform-browser/src/security/url_sanitizer.ts +++ b/modules/@angular/platform-browser/src/security/url_sanitizer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {isDevMode} from '@angular/core'; import {getDOM} from '../dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/src/web_workers/shared/api.ts b/modules/@angular/platform-browser/src/web_workers/shared/api.ts index 810be509ea..b8b2d22295 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/api.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/api.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {OpaqueToken} from '@angular/core'; export const ON_WEB_WORKER = new OpaqueToken('WebWorker.onWebWorker'); diff --git a/modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.ts b/modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.ts index a09b65a88e..139cdd3302 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, Type} from '@angular/core'; import {EventEmitter, ObservableWrapper, PromiseCompleter, PromiseWrapper} from '../../facade/async'; diff --git a/modules/@angular/platform-browser/src/web_workers/shared/message_bus.ts b/modules/@angular/platform-browser/src/web_workers/shared/message_bus.ts index ea01d14d66..570b3a62df 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/message_bus.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/message_bus.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgZone} from '@angular/core'; import {EventEmitter} from '../../facade/async'; diff --git a/modules/@angular/platform-browser/src/web_workers/shared/messaging_api.ts b/modules/@angular/platform-browser/src/web_workers/shared/messaging_api.ts index f765815054..716339a188 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/messaging_api.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/messaging_api.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * All channels used by angular's WebWorker components are listed here. * You should not use these channels in your application code. diff --git a/modules/@angular/platform-browser/src/web_workers/shared/post_message_bus.ts b/modules/@angular/platform-browser/src/web_workers/shared/post_message_bus.ts index cafb33ddaa..587eba127f 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/post_message_bus.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/post_message_bus.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, NgZone} from '@angular/core'; import {EventEmitter, ObservableWrapper} from '../../facade/async'; diff --git a/modules/@angular/platform-browser/src/web_workers/shared/render_store.ts b/modules/@angular/platform-browser/src/web_workers/shared/render_store.ts index f0b25ac5bc..e865d0127d 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/render_store.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/render_store.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; @Injectable() diff --git a/modules/@angular/platform-browser/src/web_workers/shared/serialized_types.ts b/modules/@angular/platform-browser/src/web_workers/shared/serialized_types.ts index fe3e963583..3a28a155e9 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/serialized_types.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/serialized_types.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // This file contains interface versions of browser types that can be serialized to Plain Old // JavaScript Objects export class LocationType { diff --git a/modules/@angular/platform-browser/src/web_workers/shared/serializer.ts b/modules/@angular/platform-browser/src/web_workers/shared/serializer.ts index 29835bd75e..7935c30016 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/serializer.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/serializer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, RenderComponentType, ViewEncapsulation} from '@angular/core'; import {VIEW_ENCAPSULATION_VALUES} from '../../../core_private'; diff --git a/modules/@angular/platform-browser/src/web_workers/shared/service_message_broker.ts b/modules/@angular/platform-browser/src/web_workers/shared/service_message_broker.ts index 6781f4b897..70e93046cf 100644 --- a/modules/@angular/platform-browser/src/web_workers/shared/service_message_broker.ts +++ b/modules/@angular/platform-browser/src/web_workers/shared/service_message_broker.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {EventEmitter, ObservableWrapper, PromiseWrapper} from '../../facade/async'; diff --git a/modules/@angular/platform-browser/src/web_workers/ui/event_dispatcher.ts b/modules/@angular/platform-browser/src/web_workers/ui/event_dispatcher.ts index b88b501734..49d3637bdb 100644 --- a/modules/@angular/platform-browser/src/web_workers/ui/event_dispatcher.ts +++ b/modules/@angular/platform-browser/src/web_workers/ui/event_dispatcher.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter, ObservableWrapper} from '../../facade/async'; import {BaseException} from '../../facade/exceptions'; import {RenderStoreObject, Serializer} from '../shared/serializer'; diff --git a/modules/@angular/platform-browser/src/web_workers/ui/event_serializer.ts b/modules/@angular/platform-browser/src/web_workers/ui/event_serializer.ts index d6edef0e44..f96fc01eaf 100644 --- a/modules/@angular/platform-browser/src/web_workers/ui/event_serializer.ts +++ b/modules/@angular/platform-browser/src/web_workers/ui/event_serializer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Set} from '../../facade/collection'; import {isPresent} from '../../facade/lang'; diff --git a/modules/@angular/platform-browser/src/web_workers/ui/location_providers.ts b/modules/@angular/platform-browser/src/web_workers/ui/location_providers.ts index c0fb86867e..9b3534b77d 100644 --- a/modules/@angular/platform-browser/src/web_workers/ui/location_providers.ts +++ b/modules/@angular/platform-browser/src/web_workers/ui/location_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_INITIALIZER, Injector, NgZone} from '@angular/core'; import {BrowserPlatformLocation} from '../../browser/location/browser_platform_location'; diff --git a/modules/@angular/platform-browser/src/web_workers/ui/platform_location.ts b/modules/@angular/platform-browser/src/web_workers/ui/platform_location.ts index 28749678cf..924c9955a0 100644 --- a/modules/@angular/platform-browser/src/web_workers/ui/platform_location.ts +++ b/modules/@angular/platform-browser/src/web_workers/ui/platform_location.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {UrlChangeListener} from '@angular/common'; import {Injectable} from '@angular/core'; diff --git a/modules/@angular/platform-browser/src/web_workers/ui/renderer.ts b/modules/@angular/platform-browser/src/web_workers/ui/renderer.ts index 523196e104..e7600a62bd 100644 --- a/modules/@angular/platform-browser/src/web_workers/ui/renderer.ts +++ b/modules/@angular/platform-browser/src/web_workers/ui/renderer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, RenderComponentType, Renderer, RootRenderer} from '@angular/core'; import {FunctionWrapper} from '../../facade/lang'; diff --git a/modules/@angular/platform-browser/src/web_workers/worker/event_deserializer.ts b/modules/@angular/platform-browser/src/web_workers/worker/event_deserializer.ts index 5fee619913..ca0b1b6f6a 100644 --- a/modules/@angular/platform-browser/src/web_workers/worker/event_deserializer.ts +++ b/modules/@angular/platform-browser/src/web_workers/worker/event_deserializer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // no deserialization is necessary in TS. // This is only here to match dart interface export function deserializeGenericEvent(serializedEvent: {[key: string]: any}): diff --git a/modules/@angular/platform-browser/src/web_workers/worker/location_providers.ts b/modules/@angular/platform-browser/src/web_workers/worker/location_providers.ts index d9a3fa3ce7..17999d3875 100644 --- a/modules/@angular/platform-browser/src/web_workers/worker/location_providers.ts +++ b/modules/@angular/platform-browser/src/web_workers/worker/location_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PlatformLocation} from '@angular/common'; import {APP_INITIALIZER, NgZone} from '@angular/core'; diff --git a/modules/@angular/platform-browser/src/web_workers/worker/platform_location.ts b/modules/@angular/platform-browser/src/web_workers/worker/platform_location.ts index b9425539bb..4a0f653a16 100644 --- a/modules/@angular/platform-browser/src/web_workers/worker/platform_location.ts +++ b/modules/@angular/platform-browser/src/web_workers/worker/platform_location.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PlatformLocation, UrlChangeListener} from '@angular/common'; import {Injectable} from '@angular/core'; diff --git a/modules/@angular/platform-browser/src/web_workers/worker/renderer.ts b/modules/@angular/platform-browser/src/web_workers/worker/renderer.ts index 4353112546..90253174b2 100644 --- a/modules/@angular/platform-browser/src/web_workers/worker/renderer.ts +++ b/modules/@angular/platform-browser/src/web_workers/worker/renderer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable, RenderComponentType, Renderer, RootRenderer, ViewEncapsulation} from '@angular/core'; import {AnimationKeyframe, AnimationPlayer, AnimationStyles, RenderDebugInfo} from '../../../core_private'; diff --git a/modules/@angular/platform-browser/src/web_workers/worker/worker_adapter.ts b/modules/@angular/platform-browser/src/web_workers/worker/worker_adapter.ts index f426ed0ff6..5f64007462 100644 --- a/modules/@angular/platform-browser/src/web_workers/worker/worker_adapter.ts +++ b/modules/@angular/platform-browser/src/web_workers/worker/worker_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DomAdapter, setRootDomAdapter} from '../../dom/dom_adapter'; import {Type} from '../../facade/lang'; diff --git a/modules/@angular/platform-browser/src/worker_app.ts b/modules/@angular/platform-browser/src/worker_app.ts index 1c370ed100..e89253b125 100644 --- a/modules/@angular/platform-browser/src/worker_app.ts +++ b/modules/@angular/platform-browser/src/worker_app.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {FORM_PROVIDERS} from '@angular/common'; import {APPLICATION_COMMON_PROVIDERS, APP_INITIALIZER, ExceptionHandler, NgZone, OpaqueToken, PLATFORM_COMMON_PROVIDERS, PlatformRef, ReflectiveInjector, RootRenderer, assertPlatform, createPlatform, getPlatform} from '@angular/core'; diff --git a/modules/@angular/platform-browser/src/worker_render.ts b/modules/@angular/platform-browser/src/worker_render.ts index 40d3ed812f..6234cb0262 100644 --- a/modules/@angular/platform-browser/src/worker_render.ts +++ b/modules/@angular/platform-browser/src/worker_render.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APPLICATION_COMMON_PROVIDERS, APP_INITIALIZER, ApplicationRef, ExceptionHandler, Injectable, Injector, NgZone, OpaqueToken, PLATFORM_COMMON_PROVIDERS, PLATFORM_INITIALIZER, PlatformRef, ReflectiveInjector, RootRenderer, Testability, assertPlatform, createPlatform, getPlatform} from '@angular/core'; import {AnimationDriver, NoOpAnimationDriver, wtfInit} from '../core_private'; diff --git a/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts b/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts index 6910a43a37..29a12d7864 100644 --- a/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts +++ b/modules/@angular/platform-browser/test/browser/bootstrap_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {APP_INITIALIZER, Component, Directive, ExceptionHandler, Inject, OnDestroy, PLATFORM_INITIALIZER, ReflectiveInjector, coreLoadAndBootstrap, createPlatform, provide} from '@angular/core'; import {ApplicationRef, disposePlatform} from '@angular/core/src/application_ref'; import {Console} from '@angular/core/src/console'; diff --git a/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts b/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts index 4dc3085942..e866c45f28 100644 --- a/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts +++ b/modules/@angular/platform-browser/test/browser/browser_adapter_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AsyncTestCompleter, afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it} from '@angular/core/testing/testing_internal'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/test/browser/rectangle_mock.ts b/modules/@angular/platform-browser/test/browser/rectangle_mock.ts index 8235318850..8985c34b6c 100644 --- a/modules/@angular/platform-browser/test/browser/rectangle_mock.ts +++ b/modules/@angular/platform-browser/test/browser/rectangle_mock.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function createRectangle( left: any /** TODO #9100 */, top: any /** TODO #9100 */, width: any /** TODO #9100 */, height: any /** TODO #9100 */) { diff --git a/modules/@angular/platform-browser/test/browser/title_spec.ts b/modules/@angular/platform-browser/test/browser/title_spec.ts index ed492b3ece..2418890128 100644 --- a/modules/@angular/platform-browser/test/browser/title_spec.ts +++ b/modules/@angular/platform-browser/test/browser/title_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, ddescribe, describe, expect, iit, it, xit} from '@angular/core/testing'; import {Title} from '@angular/platform-browser'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/test/browser/tools/spies.ts b/modules/@angular/platform-browser/test/browser/tools/spies.ts index d547e29fb6..302f36ee56 100644 --- a/modules/@angular/platform-browser/test/browser/tools/spies.ts +++ b/modules/@angular/platform-browser/test/browser/tools/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ReflectiveInjector, provide} from '@angular/core'; import {ApplicationRef, ApplicationRef_} from '@angular/core/src/application_ref'; import {SpyObject} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts b/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts index fddf2a6976..55ef9947e4 100644 --- a/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts +++ b/modules/@angular/platform-browser/test/browser/tools/tools_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {afterEach, beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; import {disableDebugTools, enableDebugTools} from '@angular/platform-browser'; diff --git a/modules/@angular/platform-browser/test/browser_util_spec.ts b/modules/@angular/platform-browser/test/browser_util_spec.ts index c21ec4bae6..c66226b11f 100644 --- a/modules/@angular/platform-browser/test/browser_util_spec.ts +++ b/modules/@angular/platform-browser/test/browser_util_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ddescribe, describe, expect, iit, it} from '@angular/core/testing'; import {StringMapWrapper} from '../src/facade/collection'; diff --git a/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts b/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts index e494b73349..b3b177a193 100644 --- a/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts +++ b/modules/@angular/platform-browser/test/dom/dom_renderer_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; // import {MapWrapper} from '../../src/facade/src/collection'; diff --git a/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts b/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts index 7c7d51882a..8a63f18ac2 100644 --- a/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts +++ b/modules/@angular/platform-browser/test/dom/events/event_manager_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach,} from '@angular/core/testing/testing_internal'; import {DomEventsPlugin} from '@angular/platform-browser/src/dom/events/dom_events'; import {NgZone} from '@angular/core/src/zone/ng_zone'; diff --git a/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts b/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts index abf31e8dbf..d930d6d98c 100644 --- a/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts +++ b/modules/@angular/platform-browser/test/dom/events/key_events_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach,} from '@angular/core/testing/testing_internal'; import {KeyEventsPlugin} from '@angular/platform-browser/src/dom/events/key_events'; diff --git a/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts b/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts index c0ddec7f60..1f1e2c2213 100644 --- a/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts +++ b/modules/@angular/platform-browser/test/dom/shared_styles_host_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {DomSharedStylesHost} from '@angular/platform-browser/src/dom/shared_styles_host'; diff --git a/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts b/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts index cff2047cb7..1aa95eb7df 100644 --- a/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts +++ b/modules/@angular/platform-browser/test/dom/web_animations_driver_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AsyncTestCompleter, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {el} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts b/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts index 0c42c97215..8e1b56cc36 100644 --- a/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts +++ b/modules/@angular/platform-browser/test/dom/web_animations_player_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AsyncTestCompleter, MockAnimationPlayer, beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; import {WebAnimationsPlayer} from '../../src/dom/web_animations_player'; diff --git a/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts b/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts index e07d63ece2..3b86ceb0a2 100644 --- a/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts +++ b/modules/@angular/platform-browser/test/security/html_sanitizer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as t from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing'; diff --git a/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts b/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts index 7bc22ade61..67bed84e96 100644 --- a/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts +++ b/modules/@angular/platform-browser/test/security/style_sanitizer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as t from '@angular/core/testing/testing_internal'; import {getDOM} from '../../src/dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts b/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts index 2e8443aa2d..35af11e405 100644 --- a/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts +++ b/modules/@angular/platform-browser/test/security/url_sanitizer_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as t from '@angular/core/testing/testing_internal'; import {getDOM} from '../../src/dom/dom_adapter'; diff --git a/modules/@angular/platform-browser/test/testing_public_spec.ts b/modules/@angular/platform-browser/test/testing_public_spec.ts index ee2b45ead4..2504023b59 100644 --- a/modules/@angular/platform-browser/test/testing_public_spec.ts +++ b/modules/@angular/platform-browser/test/testing_public_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing'; import {fakeAsync, async, withProviders, tick,} from '@angular/core/testing'; diff --git a/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts b/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts index a4b91a0bb8..fd93b6b677 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/message_bus_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {inject, describe, it, expect, beforeEach, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {ObservableWrapper, TimerWrapper} from '../../../src/facade/async'; diff --git a/modules/@angular/platform-browser/test/web_workers/shared/message_bus_util.ts b/modules/@angular/platform-browser/test/web_workers/shared/message_bus_util.ts index aa557f0bff..64135278fb 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/message_bus_util.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/message_bus_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {MessageBus} from '@angular/platform-browser/src/web_workers/shared/message_bus'; import {PostMessageBus, PostMessageBusSink, PostMessageBusSource} from '@angular/platform-browser/src/web_workers/shared/post_message_bus'; diff --git a/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts b/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts index 80539f3e92..174c4fa056 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/mock_event_emitter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {EventEmitter} from '../../../src/facade/async'; export class MockEventEmitter extends EventEmitter { diff --git a/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts b/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts index 16fab28ff0..e475a49c41 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/render_store_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, inject, it} from '@angular/core/testing/testing_internal'; import {RenderStore} from '@angular/platform-browser/src/web_workers/shared/render_store'; diff --git a/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts b/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts index 730b152cd7..f4f868f887 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/service_message_broker_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {inject, describe, it, iit, expect, beforeEach, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {browserDetection} from '@angular/platform-browser/testing'; import {createPairedMessageBuses} from './web_worker_test_util'; diff --git a/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts b/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts index 3b8c2aab67..441ba858d7 100644 --- a/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts +++ b/modules/@angular/platform-browser/test/web_workers/shared/web_worker_test_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {NgZone} from '@angular/core/src/zone/ng_zone'; import {expect} from '@angular/core/testing'; import {UiArguments} from '@angular/platform-browser/src/web_workers/shared/client_message_broker'; diff --git a/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts b/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts index 1fdaea2bdc..233d17a4eb 100644 --- a/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/worker/platform_location_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, describe, expect, inject, it} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {UiArguments} from '@angular/platform-browser/src/web_workers/shared/client_message_broker'; diff --git a/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts b/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts index 229026c984..bec950ee97 100644 --- a/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts +++ b/modules/@angular/platform-browser/test/web_workers/worker/renderer_integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {inject, ddescribe, describe, it, iit, expect, beforeEach, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestInjector} from '@angular/core/testing'; diff --git a/modules/@angular/platform-browser/test/web_workers/worker/spies.ts b/modules/@angular/platform-browser/test/web_workers/worker/spies.ts index c1cbcc0078..d82e773aa8 100644 --- a/modules/@angular/platform-browser/test/web_workers/worker/spies.ts +++ b/modules/@angular/platform-browser/test/web_workers/worker/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {SpyObject, proxy} from '@angular/core/testing/testing_internal'; import {ClientMessageBroker} from '@angular/platform-browser/src/web_workers/shared/client_message_broker'; diff --git a/modules/@angular/platform-browser/testing.ts b/modules/@angular/platform-browser/testing.ts index f794e607d0..0e788364b8 100644 --- a/modules/@angular/platform-browser/testing.ts +++ b/modules/@angular/platform-browser/testing.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './testing/browser_util'; export * from './testing/matchers'; export * from './testing/browser'; diff --git a/modules/@angular/platform-browser/testing/benchmark_util.ts b/modules/@angular/platform-browser/testing/benchmark_util.ts index c2dbccebe5..53ab56417d 100644 --- a/modules/@angular/platform-browser/testing/benchmark_util.ts +++ b/modules/@angular/platform-browser/testing/benchmark_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BrowserDomAdapter} from '../src/browser/browser_adapter'; import {document, window} from '../src/facade/browser'; import {BaseException} from '../src/facade/exceptions'; diff --git a/modules/@angular/platform-browser/testing/browser.ts b/modules/@angular/platform-browser/testing/browser.ts index c970b11f3d..518d171846 100644 --- a/modules/@angular/platform-browser/testing/browser.ts +++ b/modules/@angular/platform-browser/testing/browser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {LocationStrategy} from '@angular/common'; import {MockLocationStrategy} from '@angular/common/testing'; import {APP_ID, NgZone, PLATFORM_COMMON_PROVIDERS, PLATFORM_INITIALIZER} from '@angular/core'; diff --git a/modules/@angular/platform-browser/testing/browser_util.ts b/modules/@angular/platform-browser/testing/browser_util.ts index cf47e3ba52..e8379975e2 100644 --- a/modules/@angular/platform-browser/testing/browser_util.ts +++ b/modules/@angular/platform-browser/testing/browser_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getDOM} from '../src/dom/dom_adapter'; import {ListWrapper} from '../src/facade/collection'; import {RegExp, RegExpWrapper, StringWrapper, global, isPresent, isString} from '../src/facade/lang'; diff --git a/modules/@angular/platform-browser/testing/e2e_util.ts b/modules/@angular/platform-browser/testing/e2e_util.ts index 6511b1d553..6b7ea304ac 100644 --- a/modules/@angular/platform-browser/testing/e2e_util.ts +++ b/modules/@angular/platform-browser/testing/e2e_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as webdriver from 'selenium-webdriver'; declare var global: any /** TODO #9100 */; diff --git a/modules/@angular/platform-browser/testing/matchers.ts b/modules/@angular/platform-browser/testing/matchers.ts index 1a606e9328..1ddb5ff111 100644 --- a/modules/@angular/platform-browser/testing/matchers.ts +++ b/modules/@angular/platform-browser/testing/matchers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {getDOM} from '../src/dom/dom_adapter'; import {StringMapWrapper} from '../src/facade/collection'; import {global, isString} from '../src/facade/lang'; diff --git a/modules/@angular/platform-browser/testing/mock_dom_animate_player.ts b/modules/@angular/platform-browser/testing/mock_dom_animate_player.ts index d750eac3a5..2f77ba1ae7 100644 --- a/modules/@angular/platform-browser/testing/mock_dom_animate_player.ts +++ b/modules/@angular/platform-browser/testing/mock_dom_animate_player.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DomAnimatePlayer} from '../src/dom/dom_animate_player'; import {isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/platform-browser/testing/perf_util.ts b/modules/@angular/platform-browser/testing/perf_util.ts index d9e3d487bc..2ebcdf778e 100644 --- a/modules/@angular/platform-browser/testing/perf_util.ts +++ b/modules/@angular/platform-browser/testing/perf_util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {verifyNoBrowserErrors} from './e2e_util'; var benchpress = (global as any /** TODO #9100 */)['benchpress']; diff --git a/modules/@angular/platform-browser/testing_e2e.ts b/modules/@angular/platform-browser/testing_e2e.ts index bceae9a16a..f706c20866 100644 --- a/modules/@angular/platform-browser/testing_e2e.ts +++ b/modules/@angular/platform-browser/testing_e2e.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './testing/e2e_util'; diff --git a/modules/@angular/platform-server/compiler_private.ts b/modules/@angular/platform-server/compiler_private.ts index bcf70d0d4f..4887ccc072 100644 --- a/modules/@angular/platform-server/compiler_private.ts +++ b/modules/@angular/platform-server/compiler_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__compiler_private__ as _c} from '@angular/compiler'; export type SelectorMatcher = typeof _c.SelectorMatcher; diff --git a/modules/@angular/platform-server/core_private.ts b/modules/@angular/platform-server/core_private.ts index c5b8be3d1f..1bee64047b 100644 --- a/modules/@angular/platform-server/core_private.ts +++ b/modules/@angular/platform-server/core_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; export var reflector: typeof t.reflector = r.reflector; diff --git a/modules/@angular/platform-server/index.ts b/modules/@angular/platform-server/index.ts index df948c2c94..66e80c2578 100644 --- a/modules/@angular/platform-server/index.ts +++ b/modules/@angular/platform-server/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export {SERVER_PLATFORM_PROVIDERS, serverBootstrap, serverPlatform} from './src/server'; diff --git a/modules/@angular/platform-server/platform_browser_dynamic_testing_private.ts b/modules/@angular/platform-server/platform_browser_dynamic_testing_private.ts index bc9af26f9d..c53d9e93c9 100644 --- a/modules/@angular/platform-server/platform_browser_dynamic_testing_private.ts +++ b/modules/@angular/platform-server/platform_browser_dynamic_testing_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__platform_browser_dynamic_private__ as r, __platform_browser_dynamic_private_types__ as t} from '@angular/platform-browser-dynamic/testing'; export var DOMTestComponentRenderer: typeof t.DOMTestComponentRenderer = r.DOMTestComponentRenderer; diff --git a/modules/@angular/platform-server/platform_browser_private.ts b/modules/@angular/platform-server/platform_browser_private.ts index 53b691c91a..fc36935d43 100644 --- a/modules/@angular/platform-server/platform_browser_private.ts +++ b/modules/@angular/platform-server/platform_browser_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__platform_browser_private__ as r, __platform_browser_private_types__ as t} from '@angular/platform-browser'; export type DomAdapter = typeof t.DomAdapter; diff --git a/modules/@angular/platform-server/src/parse5_adapter.ts b/modules/@angular/platform-server/src/parse5_adapter.ts index 8c8a06b697..84d7cd08ac 100644 --- a/modules/@angular/platform-server/src/parse5_adapter.ts +++ b/modules/@angular/platform-server/src/parse5_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + var parse5 = require('parse5/index'); import {ListWrapper, StringMapWrapper} from '../src/facade/collection'; diff --git a/modules/@angular/platform-server/src/server.ts b/modules/@angular/platform-server/src/server.ts index 39d796d12b..f4db931e29 100644 --- a/modules/@angular/platform-server/src/server.ts +++ b/modules/@angular/platform-server/src/server.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PlatformLocation} from '@angular/common'; import {ComponentRef, OpaqueToken, PLATFORM_COMMON_PROVIDERS, PLATFORM_INITIALIZER, PlatformRef, ReflectiveInjector, Type, assertPlatform, coreLoadAndBootstrap, createPlatform, getPlatform} from '@angular/core'; diff --git a/modules/@angular/platform-server/test/integration_spec.ts b/modules/@angular/platform-server/test/integration_spec.ts index 3c42453a9a..7e4721cfac 100644 --- a/modules/@angular/platform-server/test/integration_spec.ts +++ b/modules/@angular/platform-server/test/integration_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, disposePlatform} from '@angular/core'; import {afterEach, async, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing'; import {BROWSER_APP_PROVIDERS} from '@angular/platform-browser'; diff --git a/modules/@angular/platform-server/testing.ts b/modules/@angular/platform-server/testing.ts index fb2205c1f8..dce643a26e 100644 --- a/modules/@angular/platform-server/testing.ts +++ b/modules/@angular/platform-server/testing.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './testing/server'; diff --git a/modules/@angular/platform-server/testing/server.ts b/modules/@angular/platform-server/testing/server.ts index 70dc52e1d4..e6214898e4 100644 --- a/modules/@angular/platform-server/testing/server.ts +++ b/modules/@angular/platform-server/testing/server.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {MockLocationStrategy} from '@angular/common/testing'; import {COMPILER_PROVIDERS, DirectiveResolver, ViewResolver, XHR} from '@angular/compiler'; import {MockDirectiveResolver, MockViewResolver, TestComponentBuilder, TestComponentRenderer} from '@angular/compiler/testing'; diff --git a/modules/@angular/router-deprecated/core_private.ts b/modules/@angular/router-deprecated/core_private.ts index f05714f384..9ac49fdbc0 100644 --- a/modules/@angular/router-deprecated/core_private.ts +++ b/modules/@angular/router-deprecated/core_private.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {__core_private__ as _} from '@angular/core'; export var makeDecorator: typeof _.makeDecorator = _.makeDecorator; diff --git a/modules/@angular/router-deprecated/index.ts b/modules/@angular/router-deprecated/index.ts index 164ab508b5..aada80680a 100644 --- a/modules/@angular/router-deprecated/index.ts +++ b/modules/@angular/router-deprecated/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './router'; diff --git a/modules/@angular/router-deprecated/router.ts b/modules/@angular/router-deprecated/router.ts index d19b3cbcd4..bf5ead9dd8 100644 --- a/modules/@angular/router-deprecated/router.ts +++ b/modules/@angular/router-deprecated/router.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/@angular/router-deprecated/src/directives/router_link.ts b/modules/@angular/router-deprecated/src/directives/router_link.ts index 34136df55c..da341d64ac 100644 --- a/modules/@angular/router-deprecated/src/directives/router_link.ts +++ b/modules/@angular/router-deprecated/src/directives/router_link.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {Directive} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/src/directives/router_outlet.ts b/modules/@angular/router-deprecated/src/directives/router_outlet.ts index dbb5fefd1f..abe581be06 100644 --- a/modules/@angular/router-deprecated/src/directives/router_outlet.ts +++ b/modules/@angular/router-deprecated/src/directives/router_outlet.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Attribute, ComponentRef, Directive, DynamicComponentLoader, OnDestroy, Output, ReflectiveInjector, ViewContainerRef, provide} from '@angular/core'; import {EventEmitter, PromiseWrapper} from '../facade/async'; diff --git a/modules/@angular/router-deprecated/src/instruction.ts b/modules/@angular/router-deprecated/src/instruction.ts index 6aba5c3c5f..49877ca9b6 100644 --- a/modules/@angular/router-deprecated/src/instruction.ts +++ b/modules/@angular/router-deprecated/src/instruction.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PromiseWrapper} from '../src/facade/async'; import {StringMapWrapper} from '../src/facade/collection'; import {isBlank, isPresent, normalizeBlank} from '../src/facade/lang'; diff --git a/modules/@angular/router-deprecated/src/interfaces.ts b/modules/@angular/router-deprecated/src/interfaces.ts index 437edf7730..9b73b5c491 100644 --- a/modules/@angular/router-deprecated/src/interfaces.ts +++ b/modules/@angular/router-deprecated/src/interfaces.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {global} from '../src/facade/lang'; import {ComponentInstruction} from './instruction'; diff --git a/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations.ts b/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations.ts index c06f0da40b..b42b1c7e26 100644 --- a/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations.ts +++ b/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * This indirection is needed to free up Component, etc symbols in the public API * to be used by the decorator versions of these annotations. diff --git a/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations_impl.ts b/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations_impl.ts index 2ef19c165c..5514d52fd0 100644 --- a/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations_impl.ts +++ b/modules/@angular/router-deprecated/src/lifecycle/lifecycle_annotations_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /* @ts2dart_const */ export class RouteLifecycleHook { diff --git a/modules/@angular/router-deprecated/src/lifecycle/route_lifecycle_reflector.ts b/modules/@angular/router-deprecated/src/lifecycle/route_lifecycle_reflector.ts index 3b6a0685df..51c0ac6283 100644 --- a/modules/@angular/router-deprecated/src/lifecycle/route_lifecycle_reflector.ts +++ b/modules/@angular/router-deprecated/src/lifecycle/route_lifecycle_reflector.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '@angular/core'; import {reflector} from '../../core_private'; diff --git a/modules/@angular/router-deprecated/src/route_config/route_config_decorator.ts b/modules/@angular/router-deprecated/src/route_config/route_config_decorator.ts index e12559601f..b9bea525ee 100644 --- a/modules/@angular/router-deprecated/src/route_config/route_config_decorator.ts +++ b/modules/@angular/router-deprecated/src/route_config/route_config_decorator.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {makeDecorator} from '../../core_private'; import {RouteConfig as RouteConfigAnnotation, RouteDefinition} from './route_config_impl'; diff --git a/modules/@angular/router-deprecated/src/route_config/route_config_impl.ts b/modules/@angular/router-deprecated/src/route_config/route_config_impl.ts index 0ade30f5bc..6258c9dcad 100644 --- a/modules/@angular/router-deprecated/src/route_config/route_config_impl.ts +++ b/modules/@angular/router-deprecated/src/route_config/route_config_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../facade/lang'; import {RouteDefinition} from '../route_definition'; import {RegexSerializer} from '../rules/route_paths/regex_route_path'; diff --git a/modules/@angular/router-deprecated/src/route_config/route_config_normalizer.ts b/modules/@angular/router-deprecated/src/route_config/route_config_normalizer.ts index 27710ab1d1..eb693f9942 100644 --- a/modules/@angular/router-deprecated/src/route_config/route_config_normalizer.ts +++ b/modules/@angular/router-deprecated/src/route_config/route_config_normalizer.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '../facade/exceptions'; import {Type, isType} from '../facade/lang'; import {ComponentDefinition} from '../route_definition'; diff --git a/modules/@angular/router-deprecated/src/route_definition.ts b/modules/@angular/router-deprecated/src/route_definition.ts index 1ac20df9ef..06a520ba6e 100644 --- a/modules/@angular/router-deprecated/src/route_definition.ts +++ b/modules/@angular/router-deprecated/src/route_definition.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../src/facade/lang'; import {RegexSerializer} from './rules/route_paths/regex_route_path'; diff --git a/modules/@angular/router-deprecated/src/route_registry.ts b/modules/@angular/router-deprecated/src/route_registry.ts index 0e0d48af24..6486416a03 100644 --- a/modules/@angular/router-deprecated/src/route_registry.ts +++ b/modules/@angular/router-deprecated/src/route_registry.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PromiseWrapper} from '../src/facade/async'; import {ListWrapper, Map, StringMapWrapper} from '../src/facade/collection'; diff --git a/modules/@angular/router-deprecated/src/router.ts b/modules/@angular/router-deprecated/src/router.ts index 8f9759cfae..696e1f9003 100644 --- a/modules/@angular/router-deprecated/src/router.ts +++ b/modules/@angular/router-deprecated/src/router.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {Inject, Injectable} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/src/router_providers.ts b/modules/@angular/router-deprecated/src/router_providers.ts index a85252acef..a9a120a1d8 100644 --- a/modules/@angular/router-deprecated/src/router_providers.ts +++ b/modules/@angular/router-deprecated/src/router_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PlatformLocation} from '@angular/common'; import {BrowserPlatformLocation} from '@angular/platform-browser'; diff --git a/modules/@angular/router-deprecated/src/router_providers_common.ts b/modules/@angular/router-deprecated/src/router_providers_common.ts index 1ca256ada7..1d5741ba73 100644 --- a/modules/@angular/router-deprecated/src/router_providers_common.ts +++ b/modules/@angular/router-deprecated/src/router_providers_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location, LocationStrategy, PathLocationStrategy} from '@angular/common'; import {ApplicationRef} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/src/rules/route_handlers/async_route_handler.ts b/modules/@angular/router-deprecated/src/rules/route_handlers/async_route_handler.ts index baf4e21031..4a1fb79509 100644 --- a/modules/@angular/router-deprecated/src/rules/route_handlers/async_route_handler.ts +++ b/modules/@angular/router-deprecated/src/rules/route_handlers/async_route_handler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type, isPresent} from '../../facade/lang'; import {BLANK_ROUTE_DATA, RouteData} from '../../instruction'; diff --git a/modules/@angular/router-deprecated/src/rules/route_handlers/route_handler.ts b/modules/@angular/router-deprecated/src/rules/route_handlers/route_handler.ts index d55c6e0eb4..bf8e5558c3 100644 --- a/modules/@angular/router-deprecated/src/rules/route_handlers/route_handler.ts +++ b/modules/@angular/router-deprecated/src/rules/route_handlers/route_handler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '../../facade/lang'; import {RouteData} from '../../instruction'; diff --git a/modules/@angular/router-deprecated/src/rules/route_handlers/sync_route_handler.ts b/modules/@angular/router-deprecated/src/rules/route_handlers/sync_route_handler.ts index e0297b54e8..635c24fb9b 100644 --- a/modules/@angular/router-deprecated/src/rules/route_handlers/sync_route_handler.ts +++ b/modules/@angular/router-deprecated/src/rules/route_handlers/sync_route_handler.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PromiseWrapper} from '../../facade/async'; import {Type, isPresent} from '../../facade/lang'; import {BLANK_ROUTE_DATA, RouteData} from '../../instruction'; diff --git a/modules/@angular/router-deprecated/src/rules/route_paths/param_route_path.ts b/modules/@angular/router-deprecated/src/rules/route_paths/param_route_path.ts index 831ec43ec0..b5a539794f 100644 --- a/modules/@angular/router-deprecated/src/rules/route_paths/param_route_path.ts +++ b/modules/@angular/router-deprecated/src/rules/route_paths/param_route_path.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringMapWrapper} from '../../facade/collection'; import {BaseException} from '../../facade/exceptions'; import {RegExpWrapper, StringWrapper, isBlank, isPresent} from '../../facade/lang'; diff --git a/modules/@angular/router-deprecated/src/rules/route_paths/regex_route_path.ts b/modules/@angular/router-deprecated/src/rules/route_paths/regex_route_path.ts index fbc1c79b92..d8d2c87777 100644 --- a/modules/@angular/router-deprecated/src/rules/route_paths/regex_route_path.ts +++ b/modules/@angular/router-deprecated/src/rules/route_paths/regex_route_path.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '@angular/core'; import {RegExpMatcherWrapper, RegExpWrapper, isBlank} from '../../facade/lang'; diff --git a/modules/@angular/router-deprecated/src/rules/route_paths/route_path.ts b/modules/@angular/router-deprecated/src/rules/route_paths/route_path.ts index 34aa2653e5..a128b05826 100644 --- a/modules/@angular/router-deprecated/src/rules/route_paths/route_path.ts +++ b/modules/@angular/router-deprecated/src/rules/route_paths/route_path.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Url} from '../../url_parser'; export class MatchedUrl { diff --git a/modules/@angular/router-deprecated/src/rules/rule_set.ts b/modules/@angular/router-deprecated/src/rules/rule_set.ts index 91ab5fe5b7..d850c65941 100644 --- a/modules/@angular/router-deprecated/src/rules/rule_set.ts +++ b/modules/@angular/router-deprecated/src/rules/rule_set.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PromiseWrapper} from '../facade/async'; import {Map} from '../facade/collection'; import {BaseException} from '../facade/exceptions'; diff --git a/modules/@angular/router-deprecated/src/rules/rules.ts b/modules/@angular/router-deprecated/src/rules/rules.ts index 510553ccf2..fcf0c37350 100644 --- a/modules/@angular/router-deprecated/src/rules/rules.ts +++ b/modules/@angular/router-deprecated/src/rules/rules.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Map} from '../facade/collection'; import {BaseException} from '../facade/exceptions'; import {isBlank, isPresent} from '../facade/lang'; diff --git a/modules/@angular/router-deprecated/src/url_parser.ts b/modules/@angular/router-deprecated/src/url_parser.ts index 31f7c55dfe..5ae79f5692 100644 --- a/modules/@angular/router-deprecated/src/url_parser.ts +++ b/modules/@angular/router-deprecated/src/url_parser.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringMapWrapper} from '../src/facade/collection'; import {BaseException} from '../src/facade/exceptions'; import {RegExpWrapper, isBlank, isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/router-deprecated/src/utils.ts b/modules/@angular/router-deprecated/src/utils.ts index e964cec0d1..3fdb97be9b 100644 --- a/modules/@angular/router-deprecated/src/utils.ts +++ b/modules/@angular/router-deprecated/src/utils.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {StringMapWrapper} from '../src/facade/collection'; import {isBlank, isPresent} from '../src/facade/lang'; diff --git a/modules/@angular/router-deprecated/test/directives/router_link_spec.ts b/modules/@angular/router-deprecated/test/directives/router_link_spec.ts index 993c06f780..f2846b79d9 100644 --- a/modules/@angular/router-deprecated/test/directives/router_link_spec.ts +++ b/modules/@angular/router-deprecated/test/directives/router_link_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/integration/async_route_spec.ts b/modules/@angular/router-deprecated/test/integration/async_route_spec.ts index 69b4d644e9..1098678286 100644 --- a/modules/@angular/router-deprecated/test/integration/async_route_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/async_route_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEachProviders, describe} from '@angular/core/testing/testing_internal'; import {registerSpecs} from './impl/async_route_spec_impl'; diff --git a/modules/@angular/router-deprecated/test/integration/auxiliary_route_spec.ts b/modules/@angular/router-deprecated/test/integration/auxiliary_route_spec.ts index db6481f398..64be8b52ee 100644 --- a/modules/@angular/router-deprecated/test/integration/auxiliary_route_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/auxiliary_route_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {TEST_ROUTER_PROVIDERS, ddescribeRouter, describeRouter, describeWith, describeWithAndWithout, describeWithout, itShouldRoute} from './util'; import {beforeEachProviders, describe,} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/integration/bootstrap_spec.ts b/modules/@angular/router-deprecated/test/integration/bootstrap_spec.ts index fb4813c753..78b39ceb78 100644 --- a/modules/@angular/router-deprecated/test/integration/bootstrap_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/bootstrap_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/router-deprecated/test/integration/impl/async_route_spec_impl.ts b/modules/@angular/router-deprecated/test/integration/impl/async_route_spec_impl.ts index 2910d8b10c..019fe63ce4 100644 --- a/modules/@angular/router-deprecated/test/integration/impl/async_route_spec_impl.ts +++ b/modules/@angular/router-deprecated/test/integration/impl/async_route_spec_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/integration/impl/aux_route_spec_impl.ts b/modules/@angular/router-deprecated/test/integration/impl/aux_route_spec_impl.ts index d892556038..23aa8e03af 100644 --- a/modules/@angular/router-deprecated/test/integration/impl/aux_route_spec_impl.ts +++ b/modules/@angular/router-deprecated/test/integration/impl/aux_route_spec_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing'; import {Component} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/test/integration/impl/fixture_components.ts b/modules/@angular/router-deprecated/test/integration/impl/fixture_components.ts index 6a3ec56f8b..e53515595d 100644 --- a/modules/@angular/router-deprecated/test/integration/impl/fixture_components.ts +++ b/modules/@angular/router-deprecated/test/integration/impl/fixture_components.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, ComponentRef, ViewChild, ViewContainerRef} from '@angular/core'; import {DynamicComponentLoader} from '@angular/core/src/linker/dynamic_component_loader'; import {AsyncRoute, ROUTER_DIRECTIVES, Redirect, Route, RouteConfig, RouteData, RouteParams} from '@angular/router-deprecated'; diff --git a/modules/@angular/router-deprecated/test/integration/impl/sync_route_spec_impl.ts b/modules/@angular/router-deprecated/test/integration/impl/sync_route_spec_impl.ts index 84cd6c9dd5..c45a78665a 100644 --- a/modules/@angular/router-deprecated/test/integration/impl/sync_route_spec_impl.ts +++ b/modules/@angular/router-deprecated/test/integration/impl/sync_route_spec_impl.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, beforeEachProviders, expect, iit, inject, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/router-deprecated/test/integration/lifecycle_hook_spec.ts b/modules/@angular/router-deprecated/test/integration/lifecycle_hook_spec.ts index e66fc5d434..f35660f4e7 100644 --- a/modules/@angular/router-deprecated/test/integration/lifecycle_hook_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/lifecycle_hook_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing'; import {Component, Inject, Injector, provide} from '@angular/core'; import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/integration/navigation_spec.ts b/modules/@angular/router-deprecated/test/integration/navigation_spec.ts index 435b79891a..bbbe28ff6f 100644 --- a/modules/@angular/router-deprecated/test/integration/navigation_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/navigation_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing'; import {Component, Inject, Injector, provide} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/test/integration/redirect_route_spec.ts b/modules/@angular/router-deprecated/test/integration/redirect_route_spec.ts index 10129eb685..7bbeddbd22 100644 --- a/modules/@angular/router-deprecated/test/integration/redirect_route_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/redirect_route_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing'; import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/integration/router_link_spec.ts b/modules/@angular/router-deprecated/test/integration/router_link_spec.ts index 6baeeffb30..1c97769d99 100644 --- a/modules/@angular/router-deprecated/test/integration/router_link_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/router_link_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, xdescribe, describe, expect, iit, inject, beforeEachProviders, it, xit,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing'; diff --git a/modules/@angular/router-deprecated/test/integration/sync_route_spec.ts b/modules/@angular/router-deprecated/test/integration/sync_route_spec.ts index c9939d9f5c..1425cceb4b 100644 --- a/modules/@angular/router-deprecated/test/integration/sync_route_spec.ts +++ b/modules/@angular/router-deprecated/test/integration/sync_route_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEachProviders, ddescribe, describe} from '@angular/core/testing/testing_internal'; import {registerSpecs} from './impl/sync_route_spec_impl'; diff --git a/modules/@angular/router-deprecated/test/integration/util.ts b/modules/@angular/router-deprecated/test/integration/util.ts index c840f7ad6e..ff53523b46 100644 --- a/modules/@angular/router-deprecated/test/integration/util.ts +++ b/modules/@angular/router-deprecated/test/integration/util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {SpyLocation} from '@angular/common/testing'; import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing'; diff --git a/modules/@angular/router-deprecated/test/location/hash_location_strategy_spec.ts b/modules/@angular/router-deprecated/test/location/hash_location_strategy_spec.ts index 13ef10c8ee..ee5994325e 100644 --- a/modules/@angular/router-deprecated/test/location/hash_location_strategy_spec.ts +++ b/modules/@angular/router-deprecated/test/location/hash_location_strategy_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {Injector, provide} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/test/location/location_spec.ts b/modules/@angular/router-deprecated/test/location/location_spec.ts index f70968c248..5a5d9d5a7c 100644 --- a/modules/@angular/router-deprecated/test/location/location_spec.ts +++ b/modules/@angular/router-deprecated/test/location/location_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/location/path_location_strategy_spec.ts b/modules/@angular/router-deprecated/test/location/path_location_strategy_spec.ts index 8cc2315f66..52daf5c152 100644 --- a/modules/@angular/router-deprecated/test/location/path_location_strategy_spec.ts +++ b/modules/@angular/router-deprecated/test/location/path_location_strategy_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach, beforeEachProviders,} from '@angular/core/testing/testing_internal'; import {Injector, provide} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/test/route_config/route_config_spec.ts b/modules/@angular/router-deprecated/test/route_config/route_config_spec.ts index a23c08684e..9d74ebf312 100644 --- a/modules/@angular/router-deprecated/test/route_config/route_config_spec.ts +++ b/modules/@angular/router-deprecated/test/route_config/route_config_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit,} from '@angular/core/testing/testing_internal'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/router-deprecated/test/route_registry_spec.ts b/modules/@angular/router-deprecated/test/route_registry_spec.ts index 3fd2a05ca9..ff4cde194b 100644 --- a/modules/@angular/router-deprecated/test/route_registry_spec.ts +++ b/modules/@angular/router-deprecated/test/route_registry_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; diff --git a/modules/@angular/router-deprecated/test/router_spec.ts b/modules/@angular/router-deprecated/test/router_spec.ts index 697823b5d3..7059773615 100644 --- a/modules/@angular/router-deprecated/test/router_spec.ts +++ b/modules/@angular/router-deprecated/test/router_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {SpyLocation} from '@angular/common/testing'; import {provide} from '@angular/core'; diff --git a/modules/@angular/router-deprecated/test/rules/route_paths/param_route_path_spec.ts b/modules/@angular/router-deprecated/test/rules/route_paths/param_route_path_spec.ts index 48a0c7fff7..abc0866aa2 100644 --- a/modules/@angular/router-deprecated/test/rules/route_paths/param_route_path_spec.ts +++ b/modules/@angular/router-deprecated/test/rules/route_paths/param_route_path_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach,} from '@angular/core/testing/testing_internal'; import {ParamRoutePath} from '../../../src/rules/route_paths/param_route_path'; diff --git a/modules/@angular/router-deprecated/test/rules/route_paths/regex_route_param_spec.ts b/modules/@angular/router-deprecated/test/rules/route_paths/regex_route_param_spec.ts index 8dfe1e2c57..524cfd6448 100644 --- a/modules/@angular/router-deprecated/test/rules/route_paths/regex_route_param_spec.ts +++ b/modules/@angular/router-deprecated/test/rules/route_paths/regex_route_param_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach,} from '@angular/core/testing/testing_internal'; import {GeneratedUrl} from '../../../src/rules/route_paths/route_path'; diff --git a/modules/@angular/router-deprecated/test/rules/rule_set_spec.ts b/modules/@angular/router-deprecated/test/rules/rule_set_spec.ts index a6715f8684..28a8f16ccc 100644 --- a/modules/@angular/router-deprecated/test/rules/rule_set_spec.ts +++ b/modules/@angular/router-deprecated/test/rules/rule_set_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach,} from '@angular/core/testing/testing_internal'; import {AsyncTestCompleter} from '@angular/core/testing/testing_internal'; import {RouteMatch, PathMatch, RedirectMatch} from '../../src/rules/rules'; diff --git a/modules/@angular/router-deprecated/test/spies.ts b/modules/@angular/router-deprecated/test/spies.ts index ab6558f187..8a5973484e 100644 --- a/modules/@angular/router-deprecated/test/spies.ts +++ b/modules/@angular/router-deprecated/test/spies.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location} from '@angular/common'; import {SpyObject, proxy} from '@angular/core/testing/testing_internal'; import {Router, RouterOutlet} from '@angular/router-deprecated'; diff --git a/modules/@angular/router-deprecated/test/url_parser_spec.ts b/modules/@angular/router-deprecated/test/url_parser_spec.ts index ea9041815c..e723483344 100644 --- a/modules/@angular/router-deprecated/test/url_parser_spec.ts +++ b/modules/@angular/router-deprecated/test/url_parser_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {describe, it, iit, ddescribe, expect, inject, beforeEach,} from '@angular/core/testing/testing_internal'; import {UrlParser, Url} from '../src/url_parser'; diff --git a/modules/@angular/router-deprecated/testing.ts b/modules/@angular/router-deprecated/testing.ts index 40a4255087..1c6f455069 100644 --- a/modules/@angular/router-deprecated/testing.ts +++ b/modules/@angular/router-deprecated/testing.ts @@ -1,2 +1,10 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // future location of testing for router. export var __nothing__: any /** TODO #9100 */; diff --git a/modules/@angular/router/index.ts b/modules/@angular/router/index.ts index 5b3909fa8e..910f6e4f32 100644 --- a/modules/@angular/router/index.ts +++ b/modules/@angular/router/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {RouterLink} from './src/directives/router_link'; import {RouterLinkActive} from './src/directives/router_link_active'; import {RouterOutlet} from './src/directives/router_outlet'; diff --git a/modules/@angular/router/src/apply_redirects.ts b/modules/@angular/router/src/apply_redirects.ts index 392ff54c79..c5ee5541c3 100644 --- a/modules/@angular/router/src/apply_redirects.ts +++ b/modules/@angular/router/src/apply_redirects.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Observable} from 'rxjs/Observable'; import {Observer} from 'rxjs/Observer'; import {of } from 'rxjs/observable/of'; diff --git a/modules/@angular/router/src/common_router_providers.ts b/modules/@angular/router/src/common_router_providers.ts index 40f9fbd36e..1540b2ff6b 100644 --- a/modules/@angular/router/src/common_router_providers.ts +++ b/modules/@angular/router/src/common_router_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Location, LocationStrategy, PathLocationStrategy} from '@angular/common'; import {APP_INITIALIZER, ApplicationRef, ComponentResolver, Injector, OpaqueToken} from '@angular/core'; diff --git a/modules/@angular/router/src/config.ts b/modules/@angular/router/src/config.ts index cf5892c210..3e906ee0a5 100644 --- a/modules/@angular/router/src/config.ts +++ b/modules/@angular/router/src/config.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '@angular/core'; export type RouterConfig = Route[]; diff --git a/modules/@angular/router/src/create_router_state.ts b/modules/@angular/router/src/create_router_state.ts index 9b6c37aa2c..9a5ca27b65 100644 --- a/modules/@angular/router/src/create_router_state.ts +++ b/modules/@angular/router/src/create_router_state.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BehaviorSubject} from 'rxjs/BehaviorSubject'; import {ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot} from './router_state'; diff --git a/modules/@angular/router/src/create_url_tree.ts b/modules/@angular/router/src/create_url_tree.ts index 436837bb07..71b94f45af 100644 --- a/modules/@angular/router/src/create_url_tree.ts +++ b/modules/@angular/router/src/create_url_tree.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ActivatedRoute} from './router_state'; import {PRIMARY_OUTLET, Params} from './shared'; import {UrlPathWithParams, UrlSegment, UrlTree} from './url_tree'; diff --git a/modules/@angular/router/src/directives/router_link.ts b/modules/@angular/router/src/directives/router_link.ts index 391cb1102e..ec6e9fbed2 100644 --- a/modules/@angular/router/src/directives/router_link.ts +++ b/modules/@angular/router/src/directives/router_link.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {LocationStrategy} from '@angular/common'; import {Directive, HostBinding, HostListener, Input, OnChanges} from '@angular/core'; diff --git a/modules/@angular/router/src/directives/router_link_active.ts b/modules/@angular/router/src/directives/router_link_active.ts index 7db18017b4..f6161a2d4f 100644 --- a/modules/@angular/router/src/directives/router_link_active.ts +++ b/modules/@angular/router/src/directives/router_link_active.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AfterContentInit, ContentChildren, Directive, ElementRef, Input, OnChanges, OnDestroy, QueryList, Renderer} from '@angular/core'; import {Subscription} from 'rxjs/Subscription'; diff --git a/modules/@angular/router/src/directives/router_outlet.ts b/modules/@angular/router/src/directives/router_outlet.ts index ca701390b7..6ca96ac6a8 100644 --- a/modules/@angular/router/src/directives/router_outlet.ts +++ b/modules/@angular/router/src/directives/router_outlet.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Attribute, ComponentFactory, ComponentRef, Directive, ReflectiveInjector, ResolvedReflectiveProvider, ViewContainerRef} from '@angular/core'; import {RouterOutletMap} from '../router_outlet_map'; import {ActivatedRoute} from '../router_state'; diff --git a/modules/@angular/router/src/interfaces.ts b/modules/@angular/router/src/interfaces.ts index 355969ad30..f5ecdc06e7 100644 --- a/modules/@angular/router/src/interfaces.ts +++ b/modules/@angular/router/src/interfaces.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Observable} from 'rxjs/Observable'; import {ActivatedRouteSnapshot, RouterStateSnapshot} from './router_state'; diff --git a/modules/@angular/router/src/recognize.ts b/modules/@angular/router/src/recognize.ts index 8189245335..38aa33e483 100644 --- a/modules/@angular/router/src/recognize.ts +++ b/modules/@angular/router/src/recognize.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Type} from '@angular/core'; import {Observable} from 'rxjs/Observable'; import {Observer} from 'rxjs/Observer'; diff --git a/modules/@angular/router/src/resolve.ts b/modules/@angular/router/src/resolve.ts index 24f35578c9..3661484d0c 100644 --- a/modules/@angular/router/src/resolve.ts +++ b/modules/@angular/router/src/resolve.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import 'rxjs/add/operator/map'; import 'rxjs/add/operator/toPromise'; diff --git a/modules/@angular/router/src/router.ts b/modules/@angular/router/src/router.ts index 329887667d..5245538c97 100644 --- a/modules/@angular/router/src/router.ts +++ b/modules/@angular/router/src/router.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import 'rxjs/add/operator/map'; import 'rxjs/add/operator/mergeMap'; import 'rxjs/add/operator/mergeAll'; diff --git a/modules/@angular/router/src/router_outlet_map.ts b/modules/@angular/router/src/router_outlet_map.ts index cfda1ef635..5476825ef2 100644 --- a/modules/@angular/router/src/router_outlet_map.ts +++ b/modules/@angular/router/src/router_outlet_map.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {RouterOutlet} from './directives/router_outlet'; export class RouterOutletMap { diff --git a/modules/@angular/router/src/router_providers.ts b/modules/@angular/router/src/router_providers.ts index 253f74ebdc..2706af1393 100644 --- a/modules/@angular/router/src/router_providers.ts +++ b/modules/@angular/router/src/router_providers.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PlatformLocation} from '@angular/common'; import {BrowserPlatformLocation} from '@angular/platform-browser'; diff --git a/modules/@angular/router/src/router_state.ts b/modules/@angular/router/src/router_state.ts index b27a32f593..6f746fe6dd 100644 --- a/modules/@angular/router/src/router_state.ts +++ b/modules/@angular/router/src/router_state.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ComponentFactory, Type} from '@angular/core'; import {BehaviorSubject} from 'rxjs/BehaviorSubject'; import {Observable} from 'rxjs/Observable'; diff --git a/modules/@angular/router/src/shared.ts b/modules/@angular/router/src/shared.ts index 71fec4d4a4..c7a8419490 100644 --- a/modules/@angular/router/src/shared.ts +++ b/modules/@angular/router/src/shared.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * Name of the primary outlet. * @type {string} diff --git a/modules/@angular/router/src/url_tree.ts b/modules/@angular/router/src/url_tree.ts index 0a4d5eaaf5..847a472cc3 100644 --- a/modules/@angular/router/src/url_tree.ts +++ b/modules/@angular/router/src/url_tree.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PRIMARY_OUTLET} from './shared'; import {forEach, shallowEqual} from './utils/collection'; diff --git a/modules/@angular/router/src/utils/collection.ts b/modules/@angular/router/src/utils/collection.ts index cb17c7f820..e022a95f5c 100644 --- a/modules/@angular/router/src/utils/collection.ts +++ b/modules/@angular/router/src/utils/collection.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function shallowEqual(a: {[x: string]: any}, b: {[x: string]: any}): boolean { const k1 = Object.keys(a); const k2 = Object.keys(b); diff --git a/modules/@angular/router/src/utils/tree.ts b/modules/@angular/router/src/utils/tree.ts index b41bdaa81a..a019cab707 100644 --- a/modules/@angular/router/src/utils/tree.ts +++ b/modules/@angular/router/src/utils/tree.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export class Tree { /** @internal */ _root: TreeNode; diff --git a/modules/@angular/upgrade/index.ts b/modules/@angular/upgrade/index.ts index b488153730..e75ef9dad8 100644 --- a/modules/@angular/upgrade/index.ts +++ b/modules/@angular/upgrade/index.ts @@ -1 +1,9 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export * from './upgrade'; diff --git a/modules/@angular/upgrade/src/angular_js.ts b/modules/@angular/upgrade/src/angular_js.ts index 84cbc9d5b1..4ea574b300 100644 --- a/modules/@angular/upgrade/src/angular_js.ts +++ b/modules/@angular/upgrade/src/angular_js.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export interface IModule { config(fn: any): IModule; directive(selector: string, factory: any): IModule; diff --git a/modules/@angular/upgrade/src/constants.ts b/modules/@angular/upgrade/src/constants.ts index 3172a58486..a1ecb0c9b0 100644 --- a/modules/@angular/upgrade/src/constants.ts +++ b/modules/@angular/upgrade/src/constants.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export const NG2_COMPILER = 'ng2.Compiler'; export const NG2_INJECTOR = 'ng2.Injector'; export const NG2_COMPONENT_FACTORY_REF_MAP = 'ng2.ComponentFactoryRefMap'; diff --git a/modules/@angular/upgrade/src/downgrade_ng2_adapter.ts b/modules/@angular/upgrade/src/downgrade_ng2_adapter.ts index b41902e1f4..bc4e60e425 100644 --- a/modules/@angular/upgrade/src/downgrade_ng2_adapter.ts +++ b/modules/@angular/upgrade/src/downgrade_ng2_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ChangeDetectorRef, ComponentFactory, ComponentRef, EventEmitter, Injector, OnChanges, ReflectiveInjector, SimpleChange, SimpleChanges} from '@angular/core'; import * as angular from './angular_js'; diff --git a/modules/@angular/upgrade/src/metadata.ts b/modules/@angular/upgrade/src/metadata.ts index 3d43bad218..c63c7431fe 100644 --- a/modules/@angular/upgrade/src/metadata.ts +++ b/modules/@angular/upgrade/src/metadata.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {DirectiveResolver} from '@angular/compiler'; import {DirectiveMetadata, Type} from '@angular/core'; diff --git a/modules/@angular/upgrade/src/upgrade_adapter.ts b/modules/@angular/upgrade/src/upgrade_adapter.ts index 7fbae0a753..bc339386e3 100644 --- a/modules/@angular/upgrade/src/upgrade_adapter.ts +++ b/modules/@angular/upgrade/src/upgrade_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ApplicationRef, ComponentFactory, ComponentResolver, Injector, NgZone, PlatformRef, Provider, ReflectiveInjector, Testability, Type, provide} from '@angular/core'; import {BROWSER_APP_PROVIDERS, browserPlatform} from '@angular/platform-browser'; import {BROWSER_APP_COMPILER_PROVIDERS} from '@angular/platform-browser-dynamic'; diff --git a/modules/@angular/upgrade/src/upgrade_ng1_adapter.ts b/modules/@angular/upgrade/src/upgrade_ng1_adapter.ts index 5cb79d61d6..c48a28ba75 100644 --- a/modules/@angular/upgrade/src/upgrade_ng1_adapter.ts +++ b/modules/@angular/upgrade/src/upgrade_ng1_adapter.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Directive, DoCheck, ElementRef, EventEmitter, Inject, OnChanges, OnInit, SimpleChange, SimpleChanges, Type} from '@angular/core'; import * as angular from './angular_js'; diff --git a/modules/@angular/upgrade/src/util.ts b/modules/@angular/upgrade/src/util.ts index 1498c17444..20fd7056d1 100644 --- a/modules/@angular/upgrade/src/util.ts +++ b/modules/@angular/upgrade/src/util.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export function stringify(obj: any): string { if (typeof obj == 'function') return obj.name || obj.toString(); diff --git a/modules/@angular/upgrade/test/metadata_spec.ts b/modules/@angular/upgrade/test/metadata_spec.ts index cc60e3afa4..0c603fb129 100644 --- a/modules/@angular/upgrade/test/metadata_spec.ts +++ b/modules/@angular/upgrade/test/metadata_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit,} from '@angular/core/testing/testing_internal'; import {Component, Type} from '@angular/core'; diff --git a/modules/@angular/upgrade/test/upgrade_spec.ts b/modules/@angular/upgrade/test/upgrade_spec.ts index 94e44b9b07..72e647393e 100644 --- a/modules/@angular/upgrade/test/upgrade_spec.ts +++ b/modules/@angular/upgrade/test/upgrade_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Class, Component, EventEmitter, Testability, provide} from '@angular/core'; import {AsyncTestCompleter, describe, expect, inject, it} from '@angular/core/testing/testing_internal'; import {UpgradeAdapter} from '@angular/upgrade'; diff --git a/modules/@angular/upgrade/upgrade.ts b/modules/@angular/upgrade/upgrade.ts index c0ce741e2d..d7bdfe0611 100644 --- a/modules/@angular/upgrade/upgrade.ts +++ b/modules/@angular/upgrade/upgrade.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /** * @module * @description diff --git a/modules/empty.ts b/modules/empty.ts index 7e627f6ca7..8c90743d02 100644 --- a/modules/empty.ts +++ b/modules/empty.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // This file intentionally left blank. It is used to load nothing in some cases. // Such as parse5/index is redirected here instead of loading into browser. diff --git a/modules/playground/e2e_test/async/async_spec.ts b/modules/playground/e2e_test/async/async_spec.ts index e5d1c54c9c..03022540ab 100644 --- a/modules/playground/e2e_test/async/async_spec.ts +++ b/modules/playground/e2e_test/async/async_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('async', () => { diff --git a/modules/playground/e2e_test/hash_routing/hash_location_spec.ts b/modules/playground/e2e_test/hash_routing/hash_location_spec.ts index fc45c0f510..27a1152783 100644 --- a/modules/playground/e2e_test/hash_routing/hash_location_spec.ts +++ b/modules/playground/e2e_test/hash_routing/hash_location_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; function waitForElement(selector: any /** TODO #9100 */) { diff --git a/modules/playground/e2e_test/hello_world/hello_world_spec.ts b/modules/playground/e2e_test/hello_world/hello_world_spec.ts index beba624dd1..14767062cf 100644 --- a/modules/playground/e2e_test/hello_world/hello_world_spec.ts +++ b/modules/playground/e2e_test/hello_world/hello_world_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('hello world', function() { diff --git a/modules/playground/e2e_test/http/http_spec.ts b/modules/playground/e2e_test/http/http_spec.ts index a4b07cec15..8fe7c595be 100644 --- a/modules/playground/e2e_test/http/http_spec.ts +++ b/modules/playground/e2e_test/http/http_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('http', function() { diff --git a/modules/playground/e2e_test/jsonp/jsonp_spec.ts b/modules/playground/e2e_test/jsonp/jsonp_spec.ts index 9c0bf4fdf3..d626fa26b3 100644 --- a/modules/playground/e2e_test/jsonp/jsonp_spec.ts +++ b/modules/playground/e2e_test/jsonp/jsonp_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('jsonp', function() { diff --git a/modules/playground/e2e_test/key_events/key_events_spec.ts b/modules/playground/e2e_test/key_events/key_events_spec.ts index 2a0f96186b..3a84048a56 100644 --- a/modules/playground/e2e_test/key_events/key_events_spec.ts +++ b/modules/playground/e2e_test/key_events/key_events_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing/e2e_util'; describe('key_events', function() { diff --git a/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts index 73c4126de2..7b2291f007 100644 --- a/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts +++ b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('Model-Driven Forms', function() { diff --git a/modules/playground/e2e_test/order_management/order_management_spec.ts b/modules/playground/e2e_test/order_management/order_management_spec.ts index 4fea0414fe..53f3bcc45a 100644 --- a/modules/playground/e2e_test/order_management/order_management_spec.ts +++ b/modules/playground/e2e_test/order_management/order_management_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('Order Management CRUD', function() { diff --git a/modules/playground/e2e_test/person_management/person_management_spec.ts b/modules/playground/e2e_test/person_management/person_management_spec.ts index 9045c787e7..bb855cb683 100644 --- a/modules/playground/e2e_test/person_management/person_management_spec.ts +++ b/modules/playground/e2e_test/person_management/person_management_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('Person Management CRUD', function() { diff --git a/modules/playground/e2e_test/relative_assets/assets_spec.ts b/modules/playground/e2e_test/relative_assets/assets_spec.ts index b8d0804bf8..45d86e8848 100644 --- a/modules/playground/e2e_test/relative_assets/assets_spec.ts +++ b/modules/playground/e2e_test/relative_assets/assets_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; function waitForElement(selector: any /** TODO #9100 */) { diff --git a/modules/playground/e2e_test/routing/routing_spec.ts b/modules/playground/e2e_test/routing/routing_spec.ts index eb6aaaa8ef..67762d5d6e 100644 --- a/modules/playground/e2e_test/routing/routing_spec.ts +++ b/modules/playground/e2e_test/routing/routing_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; function waitForElement(selector: any /** TODO #9100 */) { diff --git a/modules/playground/e2e_test/routing_deprecated/routing_deprecated_spec.ts b/modules/playground/e2e_test/routing_deprecated/routing_deprecated_spec.ts index 272efd0dff..b61f42c68c 100644 --- a/modules/playground/e2e_test/routing_deprecated/routing_deprecated_spec.ts +++ b/modules/playground/e2e_test/routing_deprecated/routing_deprecated_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; function waitForElement(selector: any /** TODO #9100 */) { diff --git a/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts b/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts index 480167990e..ad183ac934 100644 --- a/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts +++ b/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import * as testUtil from '@angular/platform-browser/testing_e2e'; var fs = require('fs'); diff --git a/modules/playground/e2e_test/svg/svg_spec.ts b/modules/playground/e2e_test/svg/svg_spec.ts index 41281c43ec..5c6dbe62ec 100644 --- a/modules/playground/e2e_test/svg/svg_spec.ts +++ b/modules/playground/e2e_test/svg/svg_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('SVG', function() { diff --git a/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts index 7f2157bd90..e8b0540580 100644 --- a/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts +++ b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('Template-Driven Forms', function() { diff --git a/modules/playground/e2e_test/upgrade/upgrade_spec.ts b/modules/playground/e2e_test/upgrade/upgrade_spec.ts index 98de255562..e8b17ca76e 100644 --- a/modules/playground/e2e_test/upgrade/upgrade_spec.ts +++ b/modules/playground/e2e_test/upgrade/upgrade_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from "@angular/platform-browser/testing_e2e"; // TODO(i): reenable once we fix issue with exposing testability to protractor when using ngUpgrade diff --git a/modules/playground/e2e_test/web_workers/input/input_spec.ts b/modules/playground/e2e_test/web_workers/input/input_spec.ts index a75a52dd16..5e135e6208 100644 --- a/modules/playground/e2e_test/web_workers/input/input_spec.ts +++ b/modules/playground/e2e_test/web_workers/input/input_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('WebWorkers Input', function() { diff --git a/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts index 04858b2ca6..6b20fba09e 100644 --- a/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts +++ b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('WebWorkers Kitchen Sink', function() { diff --git a/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts index 22a978509a..2fe7b41080 100644 --- a/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts +++ b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; var URL = 'all/playground/src/web_workers/message_broker/index.html'; diff --git a/modules/playground/e2e_test/web_workers/router/router_spec.ts b/modules/playground/e2e_test/web_workers/router/router_spec.ts index 87bf7dc169..6d95d6b72a 100644 --- a/modules/playground/e2e_test/web_workers/router/router_spec.ts +++ b/modules/playground/e2e_test/web_workers/router/router_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe("WebWorker Router", () => { diff --git a/modules/playground/e2e_test/web_workers/todo/todo_spec.ts b/modules/playground/e2e_test/web_workers/todo/todo_spec.ts index a27673a7d6..3f34e18921 100644 --- a/modules/playground/e2e_test/web_workers/todo/todo_spec.ts +++ b/modules/playground/e2e_test/web_workers/todo/todo_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('WebWorkers Todo', function() { diff --git a/modules/playground/e2e_test/zippy_component/zippy_spec.ts b/modules/playground/e2e_test/zippy_component/zippy_spec.ts index 8b6e38b31b..c325f9c80d 100644 --- a/modules/playground/e2e_test/zippy_component/zippy_spec.ts +++ b/modules/playground/e2e_test/zippy_component/zippy_spec.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e'; describe('Zippy Component', function() { diff --git a/modules/playground/src/animate/app/animate-app.ts b/modules/playground/src/animate/app/animate-app.ts index 8b3b0939dd..9256a5c101 100644 --- a/modules/playground/src/animate/app/animate-app.ts +++ b/modules/playground/src/animate/app/animate-app.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import { Component, trigger, diff --git a/modules/playground/src/animate/index.ts b/modules/playground/src/animate/index.ts index d3a649e9de..4f430bde04 100644 --- a/modules/playground/src/animate/index.ts +++ b/modules/playground/src/animate/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {AnimateApp} from './app/animate-app'; import {bootstrap} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/async/index.ts b/modules/playground/src/async/index.ts index 708e786d70..c86599a9ff 100644 --- a/modules/playground/src/async/index.ts +++ b/modules/playground/src/async/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; import {NgIf} from '@angular/common'; diff --git a/modules/playground/src/bootstrap.ts b/modules/playground/src/bootstrap.ts index f2f987e601..710d5d4c88 100644 --- a/modules/playground/src/bootstrap.ts +++ b/modules/playground/src/bootstrap.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + declare var System: any; diff --git a/modules/playground/src/gestures/index.ts b/modules/playground/src/gestures/index.ts index a683c153c7..f8f7c2f17d 100644 --- a/modules/playground/src/gestures/index.ts +++ b/modules/playground/src/gestures/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; diff --git a/modules/playground/src/hash_routing/index.ts b/modules/playground/src/hash_routing/index.ts index f4a91b7d9d..f30a8eb6ad 100644 --- a/modules/playground/src/hash_routing/index.ts +++ b/modules/playground/src/hash_routing/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {RouteConfig, Route, ROUTER_PROVIDERS, ROUTER_DIRECTIVES} from '@angular/router-deprecated'; diff --git a/modules/playground/src/hello_world/index.ts b/modules/playground/src/hello_world/index.ts index 1d68bfc1a9..3db45c0ca2 100644 --- a/modules/playground/src/hello_world/index.ts +++ b/modules/playground/src/hello_world/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Renderer, ElementRef, Component, Directive, Injectable} from '@angular/core'; diff --git a/modules/playground/src/http/app/http_comp.ts b/modules/playground/src/http/app/http_comp.ts index bc7c39af48..37007827e2 100644 --- a/modules/playground/src/http/app/http_comp.ts +++ b/modules/playground/src/http/app/http_comp.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {Http, Response} from '@angular/http'; import 'rxjs/add/operator/map'; diff --git a/modules/playground/src/http/index.ts b/modules/playground/src/http/index.ts index 320586d4cd..ff5711e02f 100644 --- a/modules/playground/src/http/index.ts +++ b/modules/playground/src/http/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {HTTP_PROVIDERS} from '@angular/http'; import {HttpCmp} from './app/http_comp'; diff --git a/modules/playground/src/jsonp/app/jsonp_comp.ts b/modules/playground/src/jsonp/app/jsonp_comp.ts index b165393d80..46e111acf7 100644 --- a/modules/playground/src/jsonp/app/jsonp_comp.ts +++ b/modules/playground/src/jsonp/app/jsonp_comp.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {Jsonp} from '@angular/http'; diff --git a/modules/playground/src/jsonp/index.ts b/modules/playground/src/jsonp/index.ts index 42d5e43801..4e8635eae8 100644 --- a/modules/playground/src/jsonp/index.ts +++ b/modules/playground/src/jsonp/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {JSONP_PROVIDERS} from '@angular/http'; import {JsonpCmp} from './app/jsonp_comp'; diff --git a/modules/playground/src/key_events/index.ts b/modules/playground/src/key_events/index.ts index f8e1c0840c..1a8463b503 100644 --- a/modules/playground/src/key_events/index.ts +++ b/modules/playground/src/key_events/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; import {KeyEventsPlugin} from '@angular/platform-browser'; diff --git a/modules/playground/src/model_driven_forms/index.ts b/modules/playground/src/model_driven_forms/index.ts index 8893fdd524..a1e9d96d1e 100644 --- a/modules/playground/src/model_driven_forms/index.ts +++ b/modules/playground/src/model_driven_forms/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import { FORM_DIRECTIVES, diff --git a/modules/playground/src/order_management/index.ts b/modules/playground/src/order_management/index.ts index db6f9ec78a..93e0344807 100644 --- a/modules/playground/src/order_management/index.ts +++ b/modules/playground/src/order_management/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import { Component, diff --git a/modules/playground/src/person_management/index.ts b/modules/playground/src/person_management/index.ts index cdb952b9d4..2d7849f090 100644 --- a/modules/playground/src/person_management/index.ts +++ b/modules/playground/src/person_management/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component, Injectable} from '@angular/core'; import {NgIf, NgFor, FORM_DIRECTIVES} from '@angular/common'; diff --git a/modules/playground/src/relative_assets/app/my_cmp.ts b/modules/playground/src/relative_assets/app/my_cmp.ts index 7c8741261a..77e6fb1092 100644 --- a/modules/playground/src/relative_assets/app/my_cmp.ts +++ b/modules/playground/src/relative_assets/app/my_cmp.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component( {selector: 'my-cmp', templateUrl: 'tpl.html', styleUrls: ['style.css'], moduleId: module.id}) diff --git a/modules/playground/src/relative_assets/index.ts b/modules/playground/src/relative_assets/index.ts index f1aba8c605..3c30b391c1 100644 --- a/modules/playground/src/relative_assets/index.ts +++ b/modules/playground/src/relative_assets/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; import {MyCmp} from './app/my_cmp'; diff --git a/modules/playground/src/routing/app/data.ts b/modules/playground/src/routing/app/data.ts index a984dd6ea3..9aa0040b33 100644 --- a/modules/playground/src/routing/app/data.ts +++ b/modules/playground/src/routing/app/data.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export var data = [ { "id": "1", diff --git a/modules/playground/src/routing/app/inbox-app.ts b/modules/playground/src/routing/app/inbox-app.ts index b9e800a527..18eb4079f3 100644 --- a/modules/playground/src/routing/app/inbox-app.ts +++ b/modules/playground/src/routing/app/inbox-app.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, Injectable} from '@angular/core'; import {ROUTER_DIRECTIVES, ActivatedRoute, Router} from '@angular/router'; import * as db from './data'; diff --git a/modules/playground/src/routing/index.ts b/modules/playground/src/routing/index.ts index 86a35ee24b..5685bee796 100644 --- a/modules/playground/src/routing/index.ts +++ b/modules/playground/src/routing/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {InboxApp, ROUTER_CONFIG} from './app/inbox-app'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {HashLocationStrategy, LocationStrategy} from '@angular/common'; diff --git a/modules/playground/src/routing_deprecated/app/data.ts b/modules/playground/src/routing_deprecated/app/data.ts index a984dd6ea3..9aa0040b33 100644 --- a/modules/playground/src/routing_deprecated/app/data.ts +++ b/modules/playground/src/routing_deprecated/app/data.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + export var data = [ { "id": "1", diff --git a/modules/playground/src/routing_deprecated/app/inbox-app.ts b/modules/playground/src/routing_deprecated/app/inbox-app.ts index 3c941937b8..5431a4df04 100644 --- a/modules/playground/src/routing_deprecated/app/inbox-app.ts +++ b/modules/playground/src/routing_deprecated/app/inbox-app.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, Injectable} from '@angular/core'; import { RouterLink, diff --git a/modules/playground/src/routing_deprecated/index.ts b/modules/playground/src/routing_deprecated/index.ts index e829e12149..617d1dd796 100644 --- a/modules/playground/src/routing_deprecated/index.ts +++ b/modules/playground/src/routing_deprecated/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {InboxApp} from './app/inbox-app'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {HashLocationStrategy, LocationStrategy} from '@angular/common'; diff --git a/modules/playground/src/sourcemap/index.ts b/modules/playground/src/sourcemap/index.ts index 891928062f..4a061defe3 100644 --- a/modules/playground/src/sourcemap/index.ts +++ b/modules/playground/src/sourcemap/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {BaseException} from '@angular/core/src/facade/exceptions'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; diff --git a/modules/playground/src/svg/index.ts b/modules/playground/src/svg/index.ts index 3cc6e60b2f..3cddc04d39 100644 --- a/modules/playground/src/svg/index.ts +++ b/modules/playground/src/svg/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; diff --git a/modules/playground/src/template_driven_forms/index.ts b/modules/playground/src/template_driven_forms/index.ts index fcdfa95740..5279b417d0 100644 --- a/modules/playground/src/template_driven_forms/index.ts +++ b/modules/playground/src/template_driven_forms/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component, Directive, Host} from '@angular/core'; import { diff --git a/modules/playground/src/todo/app/TodoStore.ts b/modules/playground/src/todo/app/TodoStore.ts index 217d6f239c..49ec0581f8 100644 --- a/modules/playground/src/todo/app/TodoStore.ts +++ b/modules/playground/src/todo/app/TodoStore.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {ListWrapper, Predicate} from '@angular/core/src/facade/collection'; diff --git a/modules/playground/src/todo/index.ts b/modules/playground/src/todo/index.ts index 211c366faf..d54f8173a6 100644 --- a/modules/playground/src/todo/index.ts +++ b/modules/playground/src/todo/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; import {NgFor} from '@angular/common'; diff --git a/modules/playground/src/upgrade/index.ts b/modules/playground/src/upgrade/index.ts index a806d09637..c73866b04e 100644 --- a/modules/playground/src/upgrade/index.ts +++ b/modules/playground/src/upgrade/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, Input, Output, EventEmitter} from '@angular/core'; import {UpgradeAdapter} from '@angular/upgrade'; diff --git a/modules/playground/src/web_workers/images/b64.d.ts b/modules/playground/src/web_workers/images/b64.d.ts index d34048ed49..3939280c75 100644 --- a/modules/playground/src/web_workers/images/b64.d.ts +++ b/modules/playground/src/web_workers/images/b64.d.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + declare module "B64" { export function fromByteArray(arr: Uint8Array): string; export function toByteArray(str: string): Uint8Array; diff --git a/modules/playground/src/web_workers/images/background_index.ts b/modules/playground/src/web_workers/images/background_index.ts index f8d749a040..d3024011d2 100644 --- a/modules/playground/src/web_workers/images/background_index.ts +++ b/modules/playground/src/web_workers/images/background_index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ImageDemo} from './index_common'; import {bootstrapWorkerApp} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/web_workers/images/bitmap.d.ts b/modules/playground/src/web_workers/images/bitmap.d.ts index b8820d20a5..971911c5df 100644 --- a/modules/playground/src/web_workers/images/bitmap.d.ts +++ b/modules/playground/src/web_workers/images/bitmap.d.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + declare class Bitmap { constructor(width: number, height: number); diff --git a/modules/playground/src/web_workers/images/file_api.ts b/modules/playground/src/web_workers/images/file_api.ts index 2df2bf51f5..31d207edf9 100644 --- a/modules/playground/src/web_workers/images/file_api.ts +++ b/modules/playground/src/web_workers/images/file_api.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + var _FileReader = FileReader; export {_FileReader as FileReader}; diff --git a/modules/playground/src/web_workers/images/index.ts b/modules/playground/src/web_workers/images/index.ts index 0bc9535fcb..9716207c3b 100644 --- a/modules/playground/src/web_workers/images/index.ts +++ b/modules/playground/src/web_workers/images/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrapWorkerUi} from '@angular/platform-browser-dynamic'; export function main() { diff --git a/modules/playground/src/web_workers/images/index_common.ts b/modules/playground/src/web_workers/images/index_common.ts index e17bfdff16..67be401001 100644 --- a/modules/playground/src/web_workers/images/index_common.ts +++ b/modules/playground/src/web_workers/images/index_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {EventListener} from '@angular/core/src/facade/browser'; import {TimerWrapper} from '@angular/core/src/facade/async'; diff --git a/modules/playground/src/web_workers/images/services/bitmap.ts b/modules/playground/src/web_workers/images/services/bitmap.ts index ee60d8c227..8222fc12b3 100644 --- a/modules/playground/src/web_workers/images/services/bitmap.ts +++ b/modules/playground/src/web_workers/images/services/bitmap.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + /// /// import {Injectable} from '@angular/core'; declare var base64js: any /** TODO #9100 */; diff --git a/modules/playground/src/web_workers/images/single_thread.ts b/modules/playground/src/web_workers/images/single_thread.ts index df5a09f733..31352ce76e 100644 --- a/modules/playground/src/web_workers/images/single_thread.ts +++ b/modules/playground/src/web_workers/images/single_thread.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {ImageDemo} from './index_common'; diff --git a/modules/playground/src/web_workers/input/background_index.ts b/modules/playground/src/web_workers/input/background_index.ts index 2f753f80fb..63005f169a 100644 --- a/modules/playground/src/web_workers/input/background_index.ts +++ b/modules/playground/src/web_workers/input/background_index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {InputCmp} from './index_common'; import {bootstrapWorkerApp} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/web_workers/input/index.ts b/modules/playground/src/web_workers/input/index.ts index 0bc9535fcb..9716207c3b 100644 --- a/modules/playground/src/web_workers/input/index.ts +++ b/modules/playground/src/web_workers/input/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrapWorkerUi} from '@angular/platform-browser-dynamic'; export function main() { diff --git a/modules/playground/src/web_workers/input/index_common.ts b/modules/playground/src/web_workers/input/index_common.ts index 51fb3bc866..4041d59c8d 100644 --- a/modules/playground/src/web_workers/input/index_common.ts +++ b/modules/playground/src/web_workers/input/index_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({ diff --git a/modules/playground/src/web_workers/kitchen_sink/background_index.ts b/modules/playground/src/web_workers/kitchen_sink/background_index.ts index 5c1479be2d..beb936ff9a 100644 --- a/modules/playground/src/web_workers/kitchen_sink/background_index.ts +++ b/modules/playground/src/web_workers/kitchen_sink/background_index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {HelloCmp} from './index_common'; import {bootstrapWorkerApp} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/web_workers/kitchen_sink/index.ts b/modules/playground/src/web_workers/kitchen_sink/index.ts index 0bc9535fcb..9716207c3b 100644 --- a/modules/playground/src/web_workers/kitchen_sink/index.ts +++ b/modules/playground/src/web_workers/kitchen_sink/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrapWorkerUi} from '@angular/platform-browser-dynamic'; export function main() { diff --git a/modules/playground/src/web_workers/kitchen_sink/index_common.ts b/modules/playground/src/web_workers/kitchen_sink/index_common.ts index b04c219ef7..85e9938b1d 100644 --- a/modules/playground/src/web_workers/kitchen_sink/index_common.ts +++ b/modules/playground/src/web_workers/kitchen_sink/index_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Renderer, ElementRef, Component, Directive, Injectable} from '@angular/core'; import {StringWrapper} from '@angular/core/src/facade/lang'; diff --git a/modules/playground/src/web_workers/message_broker/background_index.ts b/modules/playground/src/web_workers/message_broker/background_index.ts index 2b142374fb..f3145d3d7e 100644 --- a/modules/playground/src/web_workers/message_broker/background_index.ts +++ b/modules/playground/src/web_workers/message_broker/background_index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrapWorkerApp} from '@angular/platform-browser-dynamic'; import {App} from './index_common'; diff --git a/modules/playground/src/web_workers/message_broker/index.ts b/modules/playground/src/web_workers/message_broker/index.ts index 15443544a4..2f5ba2de63 100644 --- a/modules/playground/src/web_workers/message_broker/index.ts +++ b/modules/playground/src/web_workers/message_broker/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ApplicationRef} from '@angular/core'; import {UiArguments, FnArg, PRIMITIVE, ClientMessageBrokerFactory} from '@angular/platform-browser'; import {bootstrapWorkerUi} from "@angular/platform-browser-dynamic"; diff --git a/modules/playground/src/web_workers/message_broker/index_common.ts b/modules/playground/src/web_workers/message_broker/index_common.ts index f2a9d2b4b6..2300494cef 100644 --- a/modules/playground/src/web_workers/message_broker/index_common.ts +++ b/modules/playground/src/web_workers/message_broker/index_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {PromiseWrapper} from '@angular/core/src/facade/async'; import {Component} from '@angular/core'; import {ServiceMessageBrokerFactory, PRIMITIVE} from '@angular/platform-browser'; diff --git a/modules/playground/src/web_workers/router/background_index.ts b/modules/playground/src/web_workers/router/background_index.ts index c6e21eb263..a82b771524 100644 --- a/modules/playground/src/web_workers/router/background_index.ts +++ b/modules/playground/src/web_workers/router/background_index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {ROUTER_PROVIDERS} from '@angular/router-deprecated'; import {WORKER_APP_LOCATION_PROVIDERS} from '@angular/platform-browser'; import {bootstrapWorkerApp} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/web_workers/router/components/about.ts b/modules/playground/src/web_workers/router/components/about.ts index 962c7d36a7..6a8d75f289 100644 --- a/modules/playground/src/web_workers/router/components/about.ts +++ b/modules/playground/src/web_workers/router/components/about.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({selector: 'about', template: '

About

'}) export class About { diff --git a/modules/playground/src/web_workers/router/components/contact.ts b/modules/playground/src/web_workers/router/components/contact.ts index 295e499827..cf133b1588 100644 --- a/modules/playground/src/web_workers/router/components/contact.ts +++ b/modules/playground/src/web_workers/router/components/contact.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({selector: 'contact', template: '

Contact

'}) export class Contact { diff --git a/modules/playground/src/web_workers/router/components/start.ts b/modules/playground/src/web_workers/router/components/start.ts index aca1a2f696..923a738fb0 100644 --- a/modules/playground/src/web_workers/router/components/start.ts +++ b/modules/playground/src/web_workers/router/components/start.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; @Component({selector: 'start', template: '

Start

'}) export class Start { diff --git a/modules/playground/src/web_workers/router/index.ts b/modules/playground/src/web_workers/router/index.ts index 4db655cd7f..c5bd934234 100644 --- a/modules/playground/src/web_workers/router/index.ts +++ b/modules/playground/src/web_workers/router/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {WORKER_UI_LOCATION_PROVIDERS} from '@angular/platform-browser'; import {bootstrapWorkerUi} from "@angular/platform-browser-dynamic"; diff --git a/modules/playground/src/web_workers/router/index_common.ts b/modules/playground/src/web_workers/router/index_common.ts index f4103424b2..accf15558a 100644 --- a/modules/playground/src/web_workers/router/index_common.ts +++ b/modules/playground/src/web_workers/router/index_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {Start} from './components/start'; import {About} from './components/about'; diff --git a/modules/playground/src/web_workers/todo/background_index.ts b/modules/playground/src/web_workers/todo/background_index.ts index ba389e3ff1..8f783a73a9 100644 --- a/modules/playground/src/web_workers/todo/background_index.ts +++ b/modules/playground/src/web_workers/todo/background_index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {TodoApp} from './index_common'; import {bootstrapWorkerApp} from '@angular/platform-browser-dynamic'; diff --git a/modules/playground/src/web_workers/todo/index.ts b/modules/playground/src/web_workers/todo/index.ts index 0bc9535fcb..9716207c3b 100644 --- a/modules/playground/src/web_workers/todo/index.ts +++ b/modules/playground/src/web_workers/todo/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrapWorkerUi} from '@angular/platform-browser-dynamic'; export function main() { diff --git a/modules/playground/src/web_workers/todo/index_common.ts b/modules/playground/src/web_workers/todo/index_common.ts index 184e90fa8f..99ebd2d061 100644 --- a/modules/playground/src/web_workers/todo/index_common.ts +++ b/modules/playground/src/web_workers/todo/index_common.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component} from '@angular/core'; import {NgFor, FORM_DIRECTIVES} from '@angular/common'; import {Store, Todo, TodoFactory} from './services/TodoStore'; diff --git a/modules/playground/src/web_workers/todo/services/TodoStore.ts b/modules/playground/src/web_workers/todo/services/TodoStore.ts index b62fac3873..83d93d9302 100644 --- a/modules/playground/src/web_workers/todo/services/TodoStore.ts +++ b/modules/playground/src/web_workers/todo/services/TodoStore.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Injectable} from '@angular/core'; import {ListWrapper, Predicate} from '@angular/core/src/facade/collection'; diff --git a/modules/playground/src/zippy_component/app/zippy.ts b/modules/playground/src/zippy_component/app/zippy.ts index 383d73dbc2..5d570270b7 100644 --- a/modules/playground/src/zippy_component/app/zippy.ts +++ b/modules/playground/src/zippy_component/app/zippy.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {Component, EventEmitter, Input, Output} from '@angular/core'; import {ObservableWrapper} from '@angular/core/src/facade/async'; diff --git a/modules/playground/src/zippy_component/index.ts b/modules/playground/src/zippy_component/index.ts index 6423fcb430..284d90e792 100644 --- a/modules/playground/src/zippy_component/index.ts +++ b/modules/playground/src/zippy_component/index.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; import {Zippy} from './app/zippy'; diff --git a/modules/types.d.ts b/modules/types.d.ts index 25ce8bb19b..40ddda5627 100644 --- a/modules/types.d.ts +++ b/modules/types.d.ts @@ -1,3 +1,11 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + // This file contains all ambient imports needed to compile the modules/ source code ///