@angular-wave/angular.ts 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +1 -1
- package/src/animations/animate.spec.js +1 -1
- package/src/core/cache/cache-factory.js +3 -0
- package/src/core/compile/attributes.js +1 -1
- package/src/core/compile/compile.js +10 -6
- package/src/core/compile/compile.spec.js +92 -97
- package/src/core/di/internal-injector.js +14 -14
- package/src/core/di/ng-module.js +2 -2
- package/src/core/filter/filter.md +1 -1
- package/src/core/location/location.spec.js +9 -9
- package/src/core/sanitize/sanitize-uri.spec.js +1 -1
- package/src/core/sce/sce.spec.js +3 -3
- package/src/core/scope/scope.spec.js +1 -1
- package/src/core/url-utils/url-utils.js +4 -4
- package/src/core/url-utils/url-utils.spec.js +1 -1
- package/src/directive/attrs/boolean.spec.js +1 -1
- package/src/directive/class/class.js +10 -90
- package/src/directive/class/class.md +90 -0
- package/src/directive/class/class.spec.js +1 -1
- package/src/directive/controller/controller.spec.js +0 -12
- package/src/directive/form/form.spec.js +3 -3
- package/src/directive/include/include.spec.js +8 -8
- package/src/directive/init/init.spec.js +2 -2
- package/src/directive/input/input.js +1 -1
- package/src/directive/messages/messages.spec.js +9 -9
- package/src/directive/model/model.js +50 -42
- package/src/directive/options/options.js +2 -2
- package/src/directive/options/options.spec.js +1 -1
- package/src/directive/repeat/repeat.spec.js +8 -8
- package/src/directive/script/script.js +1 -1
- package/src/directive/select/select.js +1 -1
- package/src/directive/show-hide/show-hide.spec.js +1 -1
- package/src/directive/style/style.spec.js +1 -1
- package/src/directive/switch/switch.spec.js +1 -1
- package/src/directive/validators/validators.js +2 -2
- package/src/filters/filter.js +2 -3
- package/src/filters/limit-to.js +2 -2
- package/src/public.js +1 -3
- package/src/router/directives/view-directive.spec.js +16 -16
- package/src/services/cookie-reader.js +1 -1
- package/src/services/http/http.js +32 -34
- package/src/services/http/template-request.spec.js +5 -20
- package/src/services/template-request.js +2 -1
- package/src/shared/common.spec.js +1 -3
- package/src/shared/hof.js +1 -2
- package/src/shared/jqlite/jqlite.js +26 -28
- package/src/shared/jqlite/jqlite.spec.js +10 -10
- package/src/shared/utils.js +6 -11
- package/typedoc/assets/navigation.js +1 -1
- package/typedoc/assets/search.js +1 -1
- package/typedoc/classes/animations_animate.AnimateProvider.html +5 -5
- package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +2 -2
- package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +2 -2
- package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +2 -2
- package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +2 -2
- package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +2 -2
- package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateRunner.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +2 -2
- package/typedoc/classes/animations_animation.__AnimationProvider.html +2 -2
- package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +3 -3
- package/typedoc/classes/core_cache_cache_factory.TemplateCacheProvider.html +3 -0
- package/typedoc/classes/core_compile_attributes.Attributes.html +11 -11
- package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +18 -11
- package/typedoc/classes/core_di_internal_injector.InjectorService.html +6 -6
- package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +7 -7
- package/typedoc/classes/core_di_ng_module.NgModule.html +4 -4
- package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +2 -2
- package/typedoc/classes/core_filter_filter._FilterProvider.html +2 -2
- package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +4 -4
- package/typedoc/classes/core_interval_interval._IntervalProvider.html +2 -2
- package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +2 -2
- package/typedoc/classes/core_location_location.Location.html +20 -20
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +21 -21
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +21 -21
- package/typedoc/classes/core_location_location._LocationProvider.html +4 -4
- package/typedoc/classes/core_parser_ast.AST.html +28 -28
- package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +26 -26
- package/typedoc/classes/core_parser_lexer.Lexer.html +16 -16
- package/typedoc/classes/core_parser_parse._ParseProvider.html +3 -3
- package/typedoc/classes/core_parser_parser.Parser.html +4 -4
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +9 -9
- package/typedoc/classes/core_q_q._QProvider.html +3 -3
- package/typedoc/classes/core_q_q.__QProvider.html +2 -2
- package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +4 -4
- package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +4 -4
- package/typedoc/classes/core_sce_sce._SceProvider.html +3 -3
- package/typedoc/classes/core_scope_scope.Scope.html +18 -18
- package/typedoc/classes/core_scope_scope._RootScopeProvider.html +2 -2
- package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +7 -7
- package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +2 -2
- package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +2 -2
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +2 -2
- package/typedoc/classes/directive_form_form.FormController.html +21 -21
- package/typedoc/classes/directive_model_model.NgModelController.html +32 -32
- package/typedoc/classes/loader.Angular.html +5 -5
- package/typedoc/classes/router_common_glob.Glob.html +4 -4
- package/typedoc/classes/router_common_queue.Queue.html +2 -2
- package/typedoc/classes/router_common_trace.Trace.html +17 -17
- package/typedoc/classes/router_globals.UIRouterGlobals.html +3 -3
- package/typedoc/classes/router_params_param.Param.html +6 -6
- package/typedoc/classes/router_params_param_factory.ParamFactory.html +2 -2
- package/typedoc/classes/router_params_param_type.ParamType.html +4 -4
- package/typedoc/classes/router_params_param_types.ParamTypes.html +3 -3
- package/typedoc/classes/router_params_state_params.StateParams.html +3 -3
- package/typedoc/classes/router_path_path_node.PathNode.html +7 -7
- package/typedoc/classes/router_path_path_utils.PathUtils.html +10 -10
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -4
- package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +10 -10
- package/typedoc/classes/router_state_state_builder.StateBuilder.html +3 -3
- package/typedoc/classes/router_state_state_matcher.StateMatcher.html +2 -2
- package/typedoc/classes/router_state_state_object.StateObject.html +9 -9
- package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +2 -2
- package/typedoc/classes/router_state_state_registry.StateRegistry.html +8 -8
- package/typedoc/classes/router_state_state_service.StateService.html +17 -17
- package/typedoc/classes/router_state_target_state.TargetState.html +15 -15
- package/typedoc/classes/router_state_views.Ng1ViewConfig.html +4 -4
- package/typedoc/classes/router_template_factory.TemplateFactory.html +9 -9
- package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +4 -4
- package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +6 -6
- package/typedoc/classes/router_transition_reject_factory.Rejection.html +9 -9
- package/typedoc/classes/router_transition_transition.Transition.html +31 -31
- package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +3 -3
- package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +10 -10
- package/typedoc/classes/router_transition_transition_service.TransitionService.html +8 -8
- package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +6 -6
- package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +12 -12
- package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +3 -3
- package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +5 -5
- package/typedoc/classes/router_url_url_rules.UrlRules.html +9 -9
- package/typedoc/classes/router_url_url_service.UrlService.html +20 -20
- package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +2 -2
- package/typedoc/classes/router_view_view.ViewService.html +7 -7
- package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +2 -2
- package/typedoc/classes/services_browser.Browser.html +7 -7
- package/typedoc/classes/services_browser.BrowserProvider.html +2 -2
- package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpProvider.html +3 -3
- package/typedoc/classes/services_log._LogProvider.html +3 -3
- package/typedoc/classes/services_template_request.TemplateRequestProvider.html +4 -4
- package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +20 -20
- package/typedoc/enums/core_parser_ast_type.ASTType.html +2 -2
- package/typedoc/enums/core_scope_scope.ScopePhase.html +2 -2
- package/typedoc/enums/router_transition_reject_factory.RejectType.html +6 -6
- package/typedoc/functions/animations_animate.domInsert.html +1 -1
- package/typedoc/functions/animations_animate_cache.animateCache.html +6 -6
- package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -2
- package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -2
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -1
- package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -1
- package/typedoc/functions/animations_shared.assertArg.html +1 -1
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -1
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -1
- package/typedoc/functions/animations_shared.concatWithSpace.html +1 -1
- package/typedoc/functions/animations_shared.extractElementNode.html +1 -1
- package/typedoc/functions/animations_shared.getDomNode.html +1 -1
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -1
- package/typedoc/functions/animations_shared.mergeClasses.html +1 -1
- package/typedoc/functions/animations_shared.ngMinErr.html +1 -1
- package/typedoc/functions/animations_shared.packageStyles.html +1 -1
- package/typedoc/functions/animations_shared.pendClasses.html +1 -1
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -1
- package/typedoc/functions/animations_shared.removeFromArray.html +1 -1
- package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -1
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -1
- package/typedoc/functions/core_controller_controller.identifierForController.html +1 -1
- package/typedoc/functions/core_di_injector.annotate.html +1 -1
- package/typedoc/functions/core_di_injector.createInjector.html +1 -1
- package/typedoc/functions/core_exception_handler.errorHandler-1.html +1 -1
- package/typedoc/functions/core_location_location.serverBase.html +1 -1
- package/typedoc/functions/core_location_location.stripBaseUrl.html +1 -1
- package/typedoc/functions/core_location_location.stripFile.html +1 -1
- package/typedoc/functions/core_location_location.stripHash.html +1 -1
- package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -1
- package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -1
- package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -1
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -1
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -1
- package/typedoc/functions/core_scope_scope.countChildScopes.html +1 -1
- package/typedoc/functions/core_scope_scope.countWatchers.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +1 -1
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -1
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -2
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -1
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -1
- package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -1
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -1
- package/typedoc/functions/directive_events_events.createEventDirective.html +1 -1
- package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -1
- package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -1
- package/typedoc/functions/directive_form_form.setupValidity.html +1 -1
- package/typedoc/functions/directive_if_if.ngIfDirective.html +2 -2
- package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -1
- package/typedoc/functions/directive_input_input.badInputChecker.html +1 -1
- package/typedoc/functions/directive_input_input.countDecimals.html +1 -1
- package/typedoc/functions/directive_input_input.createDateInputType.html +1 -1
- package/typedoc/functions/directive_input_input.createDateParser.html +1 -1
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -1
- package/typedoc/functions/directive_input_input.inputDirective.html +2 -2
- package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -1
- package/typedoc/functions/directive_input_input.isValidForStep.html +1 -1
- package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -1
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -1
- package/typedoc/functions/directive_input_input.numberInputType.html +1 -1
- package/typedoc/functions/directive_input_input.rangeInputType.html +1 -1
- package/typedoc/functions/directive_input_input.weekParser.html +1 -1
- package/typedoc/functions/directive_list_list.ngListDirective.html +1 -1
- package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -2
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
- package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -1
- package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -1
- package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -1
- package/typedoc/functions/directive_select_select.optionDirective.html +2 -2
- package/typedoc/functions/directive_select_select.selectDirective.html +1 -1
- package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -2
- package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -2
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -1
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -1
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -1
- package/typedoc/functions/filters_filter.filterFilter.html +1 -1
- package/typedoc/functions/filters_filters.formatNumber.html +1 -1
- package/typedoc/functions/filters_filters.jsonFilter.html +1 -1
- package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -1
- package/typedoc/functions/filters_order_by.orderByFilter.html +2 -2
- package/typedoc/functions/public.publishExternalAPI.html +1 -1
- package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -2
- package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -2
- package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -2
- package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -2
- package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -1
- package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -1
- package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -1
- package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -1
- package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +1 -1
- package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -1
- package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -1
- package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -1
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -1
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -1
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -1
- package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +2 -2
- package/typedoc/functions/router_state_filters._IsStateFilter.html +2 -2
- package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +1 -1
- package/typedoc/functions/router_state_state_registry.getLocals.html +1 -1
- package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -1
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +1 -1
- package/typedoc/functions/router_transition_hook_registry.makeEvent.html +1 -1
- package/typedoc/functions/router_transition_hook_registry.matchState.html +1 -1
- package/typedoc/functions/services_browser.trimEmptyHash.html +1 -1
- package/typedoc/functions/services_cookie_reader.getCookies.html +1 -1
- package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -1
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -1
- package/typedoc/functions/shared_common._removeFrom.html +1 -1
- package/typedoc/functions/shared_common.allTrueR.html +1 -1
- package/typedoc/functions/shared_common.ancestors.html +1 -1
- package/typedoc/functions/shared_common.anyTrueR.html +1 -1
- package/typedoc/functions/shared_common.applyPairs.html +1 -1
- package/typedoc/functions/shared_common.arrayTuples.html +1 -1
- package/typedoc/functions/shared_common.assertFn.html +1 -1
- package/typedoc/functions/shared_common.assertMap.html +1 -1
- package/typedoc/functions/shared_common.assertPredicate.html +1 -1
- package/typedoc/functions/shared_common.copy.html +1 -1
- package/typedoc/functions/shared_common.createProxyFunctions.html +1 -1
- package/typedoc/functions/shared_common.defaults.html +1 -1
- package/typedoc/functions/shared_common.deregAll.html +1 -1
- package/typedoc/functions/shared_common.equals.html +1 -1
- package/typedoc/functions/shared_common.filter.html +1 -1
- package/typedoc/functions/shared_common.find.html +1 -1
- package/typedoc/functions/shared_common.flatten.html +1 -1
- package/typedoc/functions/shared_common.flattenR.html +1 -1
- package/typedoc/functions/shared_common.forEach.html +1 -1
- package/typedoc/functions/shared_common.inherit.html +1 -1
- package/typedoc/functions/shared_common.map.html +1 -1
- package/typedoc/functions/shared_common.mergeR.html +1 -1
- package/typedoc/functions/shared_common.omit.html +1 -1
- package/typedoc/functions/shared_common.pairs.html +1 -1
- package/typedoc/functions/shared_common.pick.html +1 -1
- package/typedoc/functions/shared_common.pluck.html +1 -1
- package/typedoc/functions/shared_common.pushR.html +1 -1
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -1
- package/typedoc/functions/shared_common.silentRejection.html +1 -1
- package/typedoc/functions/shared_common.tail.html +1 -1
- package/typedoc/functions/shared_common.uniqR.html +1 -1
- package/typedoc/functions/shared_common.unnest.html +1 -1
- package/typedoc/functions/shared_common.unnestR.html +1 -1
- package/typedoc/functions/shared_hof.all.html +1 -1
- package/typedoc/functions/shared_hof.compose.html +1 -1
- package/typedoc/functions/shared_hof.curry.html +1 -1
- package/typedoc/functions/shared_hof.is.html +1 -1
- package/typedoc/functions/shared_hof.or.html +1 -1
- package/typedoc/functions/shared_hof.parse.html +1 -1
- package/typedoc/functions/shared_hof.pattern.html +1 -1
- package/typedoc/functions/shared_hof.pipe.html +1 -1
- package/typedoc/functions/shared_hof.prop.html +1 -1
- package/typedoc/functions/shared_hof.val.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +1 -1
- package/typedoc/functions/shared_predicates.isInjectable.html +1 -1
- package/typedoc/functions/shared_predicates.isNull.html +1 -1
- package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -1
- package/typedoc/functions/shared_predicates.isPromise.html +1 -1
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +1 -1
- package/typedoc/functions/shared_strings.fnToString.html +1 -1
- package/typedoc/functions/shared_strings.functionToString.html +1 -1
- package/typedoc/functions/shared_strings.joinNeighborsR.html +1 -1
- package/typedoc/functions/shared_strings.kebobString.html +1 -1
- package/typedoc/functions/shared_strings.maxLength.html +1 -1
- package/typedoc/functions/shared_strings.padString.html +1 -1
- package/typedoc/functions/shared_strings.splitEqual.html +1 -1
- package/typedoc/functions/shared_strings.splitHash.html +1 -1
- package/typedoc/functions/shared_strings.splitOnDelim.html +1 -1
- package/typedoc/functions/shared_strings.splitQuery.html +1 -1
- package/typedoc/functions/shared_strings.stringify.html +1 -1
- package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -1
- package/typedoc/functions/shared_strings.trimHashVal.html +1 -1
- package/typedoc/functions/shared_utils.addDateMinutes.html +1 -1
- package/typedoc/functions/shared_utils.arrayRemove.html +1 -1
- package/typedoc/functions/shared_utils.assert.html +1 -1
- package/typedoc/functions/shared_utils.assertArg.html +1 -1
- package/typedoc/functions/shared_utils.assertArgFn.html +1 -1
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +1 -1
- package/typedoc/functions/shared_utils.baseExtend.html +1 -1
- package/typedoc/functions/shared_utils.bind.html +1 -1
- package/typedoc/functions/shared_utils.concat.html +1 -1
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -1
- package/typedoc/functions/shared_utils.csp.html +1 -1
- package/typedoc/functions/shared_utils.directiveNormalize.html +3 -3
- package/typedoc/functions/shared_utils.encodeUriQuery.html +1 -1
- package/typedoc/functions/shared_utils.encodeUriSegment.html +1 -1
- package/typedoc/functions/shared_utils.equals.html +1 -1
- package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -1
- package/typedoc/functions/shared_utils.extend.html +1 -1
- package/typedoc/functions/shared_utils.forEach.html +1 -1
- package/typedoc/functions/shared_utils.fromJson.html +1 -1
- package/typedoc/functions/shared_utils.getNgAttribute.html +1 -1
- package/typedoc/functions/shared_utils.getNodeName.html +1 -1
- package/typedoc/functions/shared_utils.hasAnimate.html +1 -1
- package/typedoc/functions/shared_utils.hasCustomToString.html +1 -1
- package/typedoc/functions/shared_utils.hashKey.html +1 -1
- package/typedoc/functions/shared_utils.includes.html +1 -1
- package/typedoc/functions/shared_utils.inherit.html +1 -1
- package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -1
- package/typedoc/functions/shared_utils.isArrayLike.html +1 -1
- package/typedoc/functions/shared_utils.isBlankObject.html +1 -1
- package/typedoc/functions/shared_utils.isBlob.html +1 -1
- package/typedoc/functions/shared_utils.isBoolean.html +1 -1
- package/typedoc/functions/shared_utils.isDate.html +1 -1
- package/typedoc/functions/shared_utils.isDefined.html +1 -1
- package/typedoc/functions/shared_utils.isElement.html +1 -1
- package/typedoc/functions/shared_utils.isError.html +1 -1
- package/typedoc/functions/shared_utils.isFile.html +1 -1
- package/typedoc/functions/shared_utils.isFormData.html +1 -1
- package/typedoc/functions/shared_utils.isFunction.html +1 -1
- package/typedoc/functions/shared_utils.isNumber.html +1 -1
- package/typedoc/functions/shared_utils.isNumberNaN.html +1 -1
- package/typedoc/functions/shared_utils.isObject.html +1 -1
- package/typedoc/functions/shared_utils.isPromiseLike.html +1 -1
- package/typedoc/functions/shared_utils.isRegExp.html +1 -1
- package/typedoc/functions/shared_utils.isScope.html +1 -1
- package/typedoc/functions/shared_utils.isString.html +1 -1
- package/typedoc/functions/shared_utils.isTypedArray.html +1 -1
- package/typedoc/functions/shared_utils.isUndefined.html +1 -1
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -1
- package/typedoc/functions/shared_utils.isWindow.html +1 -1
- package/typedoc/functions/shared_utils.lowercase.html +1 -1
- package/typedoc/functions/shared_utils.merge.html +1 -1
- package/typedoc/functions/shared_utils.mergeClasses.html +1 -1
- package/typedoc/functions/shared_utils.minErr.html +1 -1
- package/typedoc/functions/shared_utils.nextUid.html +1 -1
- package/typedoc/functions/shared_utils.parseKeyValue.html +1 -1
- package/typedoc/functions/shared_utils.reverseParams.html +1 -1
- package/typedoc/functions/shared_utils.setHashKey.html +1 -1
- package/typedoc/functions/shared_utils.shallowCopy.html +1 -1
- package/typedoc/functions/shared_utils.simpleCompare.html +1 -1
- package/typedoc/functions/shared_utils.sliceArgs.html +1 -1
- package/typedoc/functions/shared_utils.snakeCase.html +1 -1
- package/typedoc/functions/shared_utils.stringify.html +1 -1
- package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -1
- package/typedoc/functions/shared_utils.toDebugString.html +1 -1
- package/typedoc/functions/shared_utils.toInt.html +1 -1
- package/typedoc/functions/shared_utils.toJson.html +1 -1
- package/typedoc/functions/shared_utils.toKeyValue.html +1 -1
- package/typedoc/functions/shared_utils.trim.html +1 -1
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +1 -1
- package/typedoc/functions/shared_utils.uppercase.html +1 -1
- package/typedoc/functions/shared_utils.valueFn.html +1 -1
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +5 -5
- package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +2 -2
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +2 -2
- package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -2
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +2 -2
- package/typedoc/interfaces/core_location_location.Html5Mode.html +2 -2
- package/typedoc/interfaces/core_parser_ast.ASTNode.html +23 -23
- package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +3 -3
- package/typedoc/interfaces/core_parser_lexer.Token.html +7 -7
- package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +5 -5
- package/typedoc/interfaces/core_parser_parser.ParsedAST.html +3 -3
- package/typedoc/interfaces/core_q_q.Deferred.html +5 -5
- package/typedoc/interfaces/core_q_q.PromiseResolvables.html +2 -2
- package/typedoc/interfaces/core_q_q.PromiseState.html +2 -2
- package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
- package/typedoc/interfaces/core_q_q.QService.html +2 -2
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +2 -2
- package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +5 -5
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +2 -2
- package/typedoc/interfaces/router_template_factory.BindingTuple.html +2 -2
- package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -2
- package/typedoc/interfaces/services_log.LogService.html +6 -6
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +3 -3
- package/typedoc/interfaces/types.Annotated.html +2 -2
- package/typedoc/interfaces/types.ChangesObject.html +4 -4
- package/typedoc/interfaces/types.Controller.html +7 -7
- package/typedoc/interfaces/types.Directive.html +18 -18
- package/typedoc/interfaces/types.DirectivePrePost.html +3 -3
- package/typedoc/interfaces/types.FormController.html +20 -20
- package/typedoc/interfaces/types.Module.html +15 -15
- package/typedoc/interfaces/types.NgModelController.html +30 -30
- package/typedoc/interfaces/types.NgModelOptions.html +8 -8
- package/typedoc/interfaces/types.OnChangesObject.html +2 -2
- package/typedoc/interfaces/types.ServiceProviderClass.html +2 -2
- package/typedoc/interfaces/types.TranscludeFunctionObject.html +2 -2
- package/typedoc/modules/animations_animate.html +1 -1
- package/typedoc/modules/animations_animate_cache.html +1 -1
- package/typedoc/modules/animations_animate_children_directive.html +1 -1
- package/typedoc/modules/animations_animate_css.html +1 -1
- package/typedoc/modules/animations_animate_css_driver.html +1 -1
- package/typedoc/modules/animations_animate_js.html +1 -1
- package/typedoc/modules/animations_animate_js_driver.html +1 -1
- package/typedoc/modules/animations_animate_queue.html +1 -1
- package/typedoc/modules/animations_animate_runner.html +1 -1
- package/typedoc/modules/animations_animate_swap.html +1 -1
- package/typedoc/modules/animations_animation.html +1 -1
- package/typedoc/modules/animations_raf_scheduler.html +1 -1
- package/typedoc/modules/animations_shared.html +1 -1
- package/typedoc/modules/core_cache_cache.html +1 -1
- package/typedoc/modules/core_cache_cache_factory.html +2 -0
- package/typedoc/modules/core_compile_attributes.html +1 -1
- package/typedoc/modules/core_compile_compile.html +1 -1
- package/typedoc/modules/core_controller_controller.html +1 -1
- package/typedoc/modules/core_di_injector.html +1 -1
- package/typedoc/modules/core_di_internal_injector.html +1 -1
- package/typedoc/modules/core_di_ng_module.html +1 -1
- package/typedoc/modules/core_exception_handler.html +1 -1
- package/typedoc/modules/core_filter_filter.html +1 -1
- package/typedoc/modules/core_interpolate_interpolate.html +1 -1
- package/typedoc/modules/core_interval_interval.html +1 -1
- package/typedoc/modules/core_interval_interval_factory.html +1 -1
- package/typedoc/modules/core_location_location.html +1 -1
- package/typedoc/modules/core_parser_ast.html +1 -1
- package/typedoc/modules/core_parser_ast_type.html +1 -1
- package/typedoc/modules/core_parser_interpreter.html +1 -1
- package/typedoc/modules/core_parser_lexer.html +1 -1
- package/typedoc/modules/core_parser_parse.html +1 -1
- package/typedoc/modules/core_parser_parser.html +1 -1
- package/typedoc/modules/core_pubsub_pubsub.html +1 -1
- package/typedoc/modules/core_q_q.html +1 -1
- package/typedoc/modules/core_sanitize_sanitize_uri.html +1 -1
- package/typedoc/modules/core_sce_sce.html +1 -1
- package/typedoc/modules/core_scope_scope.html +1 -1
- package/typedoc/modules/core_task_tracker_factory.html +1 -1
- package/typedoc/modules/core_timeout_timeout.html +1 -1
- package/typedoc/modules/core_url_utils_url_utils.html +1 -1
- package/typedoc/modules/directive_aria_aria.html +1 -1
- package/typedoc/modules/directive_attrs_attrs.html +1 -1
- package/typedoc/modules/directive_bind_bind.html +1 -1
- package/typedoc/modules/directive_change_change.html +1 -1
- package/typedoc/modules/directive_class_class.html +1 -1
- package/typedoc/modules/directive_cloak_cloak.html +1 -1
- package/typedoc/modules/directive_controller_controller.html +1 -1
- package/typedoc/modules/directive_events_events.html +1 -1
- package/typedoc/modules/directive_form_form.html +1 -1
- package/typedoc/modules/directive_if_if.html +1 -1
- package/typedoc/modules/directive_include_include.html +1 -1
- package/typedoc/modules/directive_init_init.html +1 -1
- package/typedoc/modules/directive_input_input.html +1 -1
- package/typedoc/modules/directive_list_list.html +1 -1
- package/typedoc/modules/directive_messages_messages.html +1 -1
- package/typedoc/modules/directive_model_model.html +1 -1
- package/typedoc/modules/directive_model_options_model_options.html +1 -1
- package/typedoc/modules/directive_non_bindable_non_bindable.html +1 -1
- package/typedoc/modules/directive_options_options.html +1 -1
- package/typedoc/modules/directive_ref_ref.html +1 -1
- package/typedoc/modules/directive_repeat_repeat.html +1 -1
- package/typedoc/modules/directive_script_script.html +1 -1
- package/typedoc/modules/directive_select_select.html +1 -1
- package/typedoc/modules/directive_show_hide_show_hide.html +1 -1
- package/typedoc/modules/directive_style_style.html +1 -1
- package/typedoc/modules/directive_switch_switch.html +1 -1
- package/typedoc/modules/directive_transclude_transclude.html +1 -1
- package/typedoc/modules/directive_validators_validators.html +1 -1
- package/typedoc/modules/filters_filter.html +1 -1
- package/typedoc/modules/filters_filters.html +1 -1
- package/typedoc/modules/filters_limit_to.html +1 -1
- package/typedoc/modules/filters_order_by.html +1 -1
- package/typedoc/modules/index.html +1 -1
- package/typedoc/modules/loader.html +1 -1
- package/typedoc/modules/public.html +1 -1
- package/typedoc/modules/router_common_coreservices.html +1 -1
- package/typedoc/modules/router_common_glob.html +1 -1
- package/typedoc/modules/router_common_queue.html +1 -1
- package/typedoc/modules/router_common_trace.html +1 -1
- package/typedoc/modules/router_directives_state_directives.html +1 -1
- package/typedoc/modules/router_directives_view_directive.html +1 -1
- package/typedoc/modules/router_globals.html +1 -1
- package/typedoc/modules/router_hooks_core_resolvables.html +1 -1
- package/typedoc/modules/router_hooks_ignored_transition.html +1 -1
- package/typedoc/modules/router_hooks_invalid_transition.html +1 -1
- package/typedoc/modules/router_hooks_lazy_load.html +1 -1
- package/typedoc/modules/router_hooks_on_enter_exit_retain.html +1 -1
- package/typedoc/modules/router_hooks_redirect_to.html +1 -1
- package/typedoc/modules/router_hooks_resolve.html +1 -1
- package/typedoc/modules/router_hooks_update_globals.html +1 -1
- package/typedoc/modules/router_hooks_url.html +1 -1
- package/typedoc/modules/router_hooks_views.html +1 -1
- package/typedoc/modules/router_params_param.html +1 -1
- package/typedoc/modules/router_params_param_factory.html +1 -1
- package/typedoc/modules/router_params_param_type.html +1 -1
- package/typedoc/modules/router_params_param_types.html +1 -1
- package/typedoc/modules/router_params_state_params.html +1 -1
- package/typedoc/modules/router_path_path_node.html +1 -1
- package/typedoc/modules/router_path_path_utils.html +1 -1
- package/typedoc/modules/router_resolve_resolvable.html +1 -1
- package/typedoc/modules/router_resolve_resolve_context.html +1 -1
- package/typedoc/modules/router_state_filters.html +1 -1
- package/typedoc/modules/router_state_state_builder.html +1 -1
- package/typedoc/modules/router_state_state_matcher.html +1 -1
- package/typedoc/modules/router_state_state_object.html +1 -1
- package/typedoc/modules/router_state_state_queue_manager.html +1 -1
- package/typedoc/modules/router_state_state_registry.html +1 -1
- package/typedoc/modules/router_state_state_service.html +1 -1
- package/typedoc/modules/router_state_target_state.html +1 -1
- package/typedoc/modules/router_state_views.html +1 -1
- package/typedoc/modules/router_template_factory.html +1 -1
- package/typedoc/modules/router_transition_hook_builder.html +1 -1
- package/typedoc/modules/router_transition_hook_registry.html +1 -1
- package/typedoc/modules/router_transition_interface.html +1 -1
- package/typedoc/modules/router_transition_reject_factory.html +1 -1
- package/typedoc/modules/router_transition_transition.html +1 -1
- package/typedoc/modules/router_transition_transition_event_type.html +1 -1
- package/typedoc/modules/router_transition_transition_hook.html +1 -1
- package/typedoc/modules/router_transition_transition_service.html +1 -1
- package/typedoc/modules/router_url_url_config.html +1 -1
- package/typedoc/modules/router_url_url_matcher.html +1 -1
- package/typedoc/modules/router_url_url_rule.html +1 -1
- package/typedoc/modules/router_url_url_rules.html +1 -1
- package/typedoc/modules/router_url_url_service.html +1 -1
- package/typedoc/modules/router_view_scroll.html +1 -1
- package/typedoc/modules/router_view_view.html +1 -1
- package/typedoc/modules/services_anchor_scroll.html +1 -1
- package/typedoc/modules/services_browser.html +1 -1
- package/typedoc/modules/services_cookie_reader.html +1 -1
- package/typedoc/modules/services_http_backend_http_backend.html +1 -1
- package/typedoc/modules/services_http_http.html +1 -1
- package/typedoc/modules/services_log.html +1 -1
- package/typedoc/modules/services_template_request.html +1 -1
- package/typedoc/modules/shared_common.html +1 -2
- package/typedoc/modules/shared_constants.html +1 -1
- package/typedoc/modules/shared_hof.html +1 -2
- package/typedoc/modules/shared_jqlite_jqlite.html +1 -1
- package/typedoc/modules/shared_predicates.html +1 -1
- package/typedoc/modules/shared_strings.html +1 -1
- package/typedoc/modules/shared_utils.html +1 -3
- package/typedoc/modules/types.html +1 -1
- package/typedoc/types/animations_animate.AnimationMethod.html +1 -1
- package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -1
- package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -1
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -1
- package/typedoc/types/core_exception_handler.ErrorHandler.html +1 -1
- package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -1
- package/typedoc/types/core_interval_interval.IntervalId.html +1 -1
- package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -1
- package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -1
- package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -1
- package/typedoc/types/core_parser_parse.ParseService.html +1 -1
- package/typedoc/types/core_scope_scope.TTL.html +1 -1
- package/typedoc/types/core_scope_scope.WatchExpression.html +1 -1
- package/typedoc/types/core_scope_scope.WatchListener.html +1 -1
- package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -1
- package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -1
- package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -1
- package/typedoc/types/services_browser.UrlChangeListener.html +1 -1
- package/typedoc/types/services_log.LogCall.html +1 -1
- package/typedoc/types/types.AnnotatedFunction.html +1 -1
- package/typedoc/types/types.AsyncModelValidators.html +1 -1
- package/typedoc/types/types.Attributes.html +1 -1
- package/typedoc/types/types.BootstrapConfig.html +1 -1
- package/typedoc/types/types.CloneAttachFunction.html +1 -1
- package/typedoc/types/types.ComponentOptions.html +1 -1
- package/typedoc/types/types.ControllerConstructor.html +1 -1
- package/typedoc/types/types.DirectiveCompileFn.html +1 -1
- package/typedoc/types/types.DirectiveController.html +1 -1
- package/typedoc/types/types.DirectiveFactory.html +1 -1
- package/typedoc/types/types.DirectiveLinkFn.html +1 -1
- package/typedoc/types/types.FilterFactory.html +1 -1
- package/typedoc/types/types.FilterFunction.html +1 -1
- package/typedoc/types/types.Injectable.html +1 -1
- package/typedoc/types/types.ModelValidators.html +1 -1
- package/typedoc/types/types.ServiceProviderFactory.html +1 -1
- package/typedoc/types/types.TAttributes.html +1 -1
- package/typedoc/types/types.TController.html +1 -1
- package/typedoc/types/types.TElement.html +1 -1
- package/typedoc/types/types.TScope.html +1 -1
- package/typedoc/types/types.TranscludeFunction.html +1 -1
- package/typedoc/types/types.transcludeWithScope.html +1 -1
- package/typedoc/types/types.transcludeWithoutScope.html +1 -1
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -1
- package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -1
- package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -1
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -1
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -1
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -1
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -1
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -1
- package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -1
- package/typedoc/variables/core_cache_cache.CACHE.html +1 -1
- package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -1
- package/typedoc/variables/core_di_injector.path.html +1 -1
- package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -1
- package/typedoc/variables/core_parser_ast.literals.html +1 -1
- package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -1
- package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -1
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -1
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -1
- package/typedoc/variables/core_scope_scope.TTL-1.html +1 -1
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -1
- package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -1
- package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -1
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -1
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -1
- package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassDirective.html +1 -58
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -27
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -27
- package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -1
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -1
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -1
- package/typedoc/variables/directive_form_form.formDirective.html +1 -1
- package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -1
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -1
- package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -1
- package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -1
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -1
- package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -1
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -1
- package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -1
- package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -1
- package/typedoc/variables/directive_script_script.scriptDirective.html +1 -1
- package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -1
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.patternDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +1 -1
- package/typedoc/variables/index.angular.html +1 -1
- package/typedoc/variables/public.VERSION.html +1 -1
- package/typedoc/variables/router_common_coreservices.services.html +1 -1
- package/typedoc/variables/router_common_trace.Category.html +1 -1
- package/typedoc/variables/router_common_trace.trace-1.html +1 -1
- package/typedoc/variables/router_directives_view_directive.ngView.html +1 -1
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -1
- package/typedoc/variables/router_params_param.DefType.html +1 -1
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -1
- package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -1
- package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +1 -1
- package/typedoc/variables/router_transition_interface.TransitionHookScope.html +1 -1
- package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +1 -1
- package/typedoc/variables/services_log.LogService-1.html +1 -1
- package/typedoc/variables/shared_common.pushTo.html +1 -1
- package/typedoc/variables/shared_common.removeFrom.html +1 -1
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -1
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -1
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -1
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -1
- package/typedoc/variables/shared_hof.propEq.html +1 -1
- package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -1
- package/typedoc/variables/shared_strings.hostRegex.html +1 -1
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -1
- package/types/core/cache/cache-factory.d.ts +4 -0
- package/types/core/di/internal-injector.d.ts +6 -6
- package/types/core/di/ng-module.d.ts +2 -2
- package/types/directive/class/class.d.ts +3 -100
- package/types/directive/model/model.d.ts +6 -3
- package/types/directive/validators/validators.d.ts +2 -2
- package/types/services/http/http.d.ts +1 -1
- package/types/shared/hof.d.ts +0 -1
- package/types/shared/jqlite/jqlite.d.ts +4 -4
- package/types/shared/utils.d.ts +5 -5
- package/src/core/cache/cache-factory.html +0 -18
- package/src/core/cache/cache-factory.spec.js +0 -334
- package/src/core/cache/cache-factory.test.js +0 -11
- package/src/services/cache-factory.js +0 -289
- package/src/services/cache-factory.md +0 -75
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +0 -3
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +0 -53
- package/typedoc/functions/shared_common.mapObj.html +0 -3
- package/typedoc/functions/shared_hof.eq.html +0 -2
- package/typedoc/functions/shared_utils.forEachSorted.html +0 -1
- package/typedoc/functions/shared_utils.getter.html +0 -5
- package/typedoc/modules/services_cache_factory.html +0 -3
- package/types/services/cache-factory.d.ts +0 -68
|
@@ -25,12 +25,6 @@ function isHTMLElement(el) {
|
|
|
25
25
|
return !!el.toString().match(/HTML/);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
function supportsMathML() {
|
|
29
|
-
const d = document.createElement("div");
|
|
30
|
-
d.innerHTML = "<math></math>";
|
|
31
|
-
return !isUnknownElement(d.firstChild);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
28
|
function getChildScopes(scope) {
|
|
35
29
|
let children = [];
|
|
36
30
|
if (!scope.$$childHead) {
|
|
@@ -4104,7 +4098,7 @@ describe("$compile", () => {
|
|
|
4104
4098
|
templateUrl: "/my_component.html",
|
|
4105
4099
|
});
|
|
4106
4100
|
reloadModules();
|
|
4107
|
-
$templateCache.
|
|
4101
|
+
$templateCache.set("/my_component.html", "{{ $ctrl.message }}");
|
|
4108
4102
|
var el = $("<my-component></my-component>");
|
|
4109
4103
|
$compile(el)($rootScope);
|
|
4110
4104
|
$rootScope.$apply();
|
|
@@ -4159,7 +4153,7 @@ describe("$compile", () => {
|
|
|
4159
4153
|
return "/template" + myConstant + ".html";
|
|
4160
4154
|
},
|
|
4161
4155
|
});
|
|
4162
|
-
$templateCache.
|
|
4156
|
+
$templateCache.set("/template42.html", "{{ 1 + 1 }}");
|
|
4163
4157
|
reloadModules();
|
|
4164
4158
|
var el = $("<my-component></my-component>");
|
|
4165
4159
|
$compile(el)($rootScope);
|
|
@@ -4763,7 +4757,7 @@ describe("$compile", () => {
|
|
|
4763
4757
|
|
|
4764
4758
|
reloadModules();
|
|
4765
4759
|
|
|
4766
|
-
$templateCache.
|
|
4760
|
+
$templateCache.set("fffff.html", "");
|
|
4767
4761
|
|
|
4768
4762
|
$compile("<ff></ff>")($rootScope);
|
|
4769
4763
|
$compile("<fff></fff>")($rootScope);
|
|
@@ -5952,7 +5946,7 @@ describe("$compile", () => {
|
|
|
5952
5946
|
});
|
|
5953
5947
|
|
|
5954
5948
|
it("should trust what is already in the template cache", () => {
|
|
5955
|
-
$templateCache.
|
|
5949
|
+
$templateCache.set(
|
|
5956
5950
|
"http://example.com/should-not-load.html",
|
|
5957
5951
|
"<span>example.com/cached-version</span>",
|
|
5958
5952
|
);
|
|
@@ -5979,7 +5973,7 @@ describe("$compile", () => {
|
|
|
5979
5973
|
});
|
|
5980
5974
|
|
|
5981
5975
|
it("should append template via $http and cache it in $templateCache", (done) => {
|
|
5982
|
-
$templateCache.
|
|
5976
|
+
$templateCache.set("/mock/divexpr", "<span>Cau!</span>");
|
|
5983
5977
|
element = $compile("<div><b hello>ignore</b><b cau>ignore</b></div>")(
|
|
5984
5978
|
$rootScope,
|
|
5985
5979
|
);
|
|
@@ -6002,7 +5996,7 @@ describe("$compile", () => {
|
|
|
6002
5996
|
});
|
|
6003
5997
|
|
|
6004
5998
|
it("should inline template via $http and cache it in $templateCache", (done) => {
|
|
6005
|
-
$templateCache.
|
|
5999
|
+
$templateCache.set("/mock/divexpr", "<span>Cau!</span>");
|
|
6006
6000
|
element = $compile(
|
|
6007
6001
|
"<div><b i-hello>ignore</b><b i-cau>ignore</b></div>",
|
|
6008
6002
|
)($rootScope);
|
|
@@ -6025,7 +6019,7 @@ describe("$compile", () => {
|
|
|
6025
6019
|
});
|
|
6026
6020
|
|
|
6027
6021
|
it("should compile, link and flush the template append", (done) => {
|
|
6028
|
-
$templateCache.
|
|
6022
|
+
$templateCache.set("/mock/hello", "<span>Hello, {{name}}!</span>");
|
|
6029
6023
|
$rootScope.name = "Elvis";
|
|
6030
6024
|
element = $compile('<div><b hello=""></b></div>')($rootScope);
|
|
6031
6025
|
|
|
@@ -6040,7 +6034,7 @@ describe("$compile", () => {
|
|
|
6040
6034
|
});
|
|
6041
6035
|
|
|
6042
6036
|
it("should compile, link and flush the template inline", () => {
|
|
6043
|
-
$templateCache.
|
|
6037
|
+
$templateCache.set("/mock/div", "<span>Hello, {{name}}!</span>");
|
|
6044
6038
|
$rootScope.name = "Elvis";
|
|
6045
6039
|
element = $compile("<div><b i-hello></b></div>")($rootScope);
|
|
6046
6040
|
|
|
@@ -6052,7 +6046,7 @@ describe("$compile", () => {
|
|
|
6052
6046
|
});
|
|
6053
6047
|
|
|
6054
6048
|
it("should compile template when replacing element in another template", () => {
|
|
6055
|
-
$templateCache.
|
|
6049
|
+
$templateCache.set("/mock/hello", "<div replace></div>");
|
|
6056
6050
|
$rootScope.name = "Elvis";
|
|
6057
6051
|
element = $compile('<div><b hello=""></b></div>')($rootScope);
|
|
6058
6052
|
|
|
@@ -6075,7 +6069,7 @@ describe("$compile", () => {
|
|
|
6075
6069
|
});
|
|
6076
6070
|
|
|
6077
6071
|
it("should resolve widgets after cloning in append mode", (done) => {
|
|
6078
|
-
$templateCache.
|
|
6072
|
+
$templateCache.set("/mock/divexpr", "<span>{{name}}</span>");
|
|
6079
6073
|
$rootScope.greeting = "Hello";
|
|
6080
6074
|
$rootScope.name = "Elvis";
|
|
6081
6075
|
const template = $compile(
|
|
@@ -6129,7 +6123,7 @@ describe("$compile", () => {
|
|
|
6129
6123
|
});
|
|
6130
6124
|
|
|
6131
6125
|
it("should resolve widgets after cloning in inline mode", async () => {
|
|
6132
|
-
$templateCache.
|
|
6126
|
+
$templateCache.set("/mock/divexpr", "<span>{{name}}</span>");
|
|
6133
6127
|
$rootScope.greeting = "Hello";
|
|
6134
6128
|
$rootScope.name = "Elvis";
|
|
6135
6129
|
const template = $compile(
|
|
@@ -6181,7 +6175,7 @@ describe("$compile", () => {
|
|
|
6181
6175
|
|
|
6182
6176
|
it("should be implicitly terminal and not compile placeholder content in append", () => {
|
|
6183
6177
|
// we can't compile the contents because that would result in a memory leak
|
|
6184
|
-
$templateCache.
|
|
6178
|
+
$templateCache.set("/mock/hello", "Hello!");
|
|
6185
6179
|
element = $compile('<div><b hello=""><div log></div></b></div>')(
|
|
6186
6180
|
$rootScope,
|
|
6187
6181
|
);
|
|
@@ -6192,7 +6186,7 @@ describe("$compile", () => {
|
|
|
6192
6186
|
it("should be implicitly terminal and not compile placeholder content in inline", () => {
|
|
6193
6187
|
// we can't compile the contents because that would result in a memory leak
|
|
6194
6188
|
|
|
6195
|
-
$templateCache.
|
|
6189
|
+
$templateCache.set("/mock/hello", "Hello!");
|
|
6196
6190
|
element = $compile("<div><b i-hello><div log></div></b></div>")(
|
|
6197
6191
|
$rootScope,
|
|
6198
6192
|
);
|
|
@@ -6226,7 +6220,7 @@ describe("$compile", () => {
|
|
|
6226
6220
|
},
|
|
6227
6221
|
);
|
|
6228
6222
|
|
|
6229
|
-
$templateCache.
|
|
6223
|
+
$templateCache.set("test.html", '<p class="template-class">Hello</p>');
|
|
6230
6224
|
element = $compile("<div test></div>")($rootScope, (node) => {
|
|
6231
6225
|
node[0].classList.add("clonefn-class");
|
|
6232
6226
|
});
|
|
@@ -6293,7 +6287,7 @@ describe("$compile", () => {
|
|
|
6293
6287
|
});
|
|
6294
6288
|
|
|
6295
6289
|
it("should flush after link append", () => {
|
|
6296
|
-
$templateCache.
|
|
6290
|
+
$templateCache.set("second.html", "<div third>{{1+2}}</div>");
|
|
6297
6291
|
template = $compile("<div><span first second last></span></div>");
|
|
6298
6292
|
element = template($rootScope);
|
|
6299
6293
|
expect(log[0]).toEqual("first-C");
|
|
@@ -6317,7 +6311,7 @@ describe("$compile", () => {
|
|
|
6317
6311
|
});
|
|
6318
6312
|
|
|
6319
6313
|
it("should flush after link inline", () => {
|
|
6320
|
-
$templateCache.
|
|
6314
|
+
$templateCache.set("second.html", "<div i-third>{{1+2}}</div>");
|
|
6321
6315
|
template = $compile(
|
|
6322
6316
|
"<div><span i-first i-second i-last></span></div>",
|
|
6323
6317
|
);
|
|
@@ -6342,7 +6336,7 @@ describe("$compile", () => {
|
|
|
6342
6336
|
});
|
|
6343
6337
|
|
|
6344
6338
|
it("should flush before link append", () => {
|
|
6345
|
-
$templateCache.
|
|
6339
|
+
$templateCache.set("second.html", "<div third>{{1+2}}</div>");
|
|
6346
6340
|
template = $compile("<div><span first second last></span></div>");
|
|
6347
6341
|
expect(log[0]).toEqual("first-C");
|
|
6348
6342
|
log.push("FLUSH");
|
|
@@ -6366,7 +6360,7 @@ describe("$compile", () => {
|
|
|
6366
6360
|
});
|
|
6367
6361
|
|
|
6368
6362
|
it("should flush before link inline", () => {
|
|
6369
|
-
$templateCache.
|
|
6363
|
+
$templateCache.set("second.html", "<div i-third>{{1+2}}</div>");
|
|
6370
6364
|
template = $compile(
|
|
6371
6365
|
"<div><span i-first i-second i-last></span></div>",
|
|
6372
6366
|
);
|
|
@@ -6390,14 +6384,14 @@ describe("$compile", () => {
|
|
|
6390
6384
|
});
|
|
6391
6385
|
|
|
6392
6386
|
it("should allow multiple elements in template", () => {
|
|
6393
|
-
$templateCache.
|
|
6387
|
+
$templateCache.set("second.html", "before <b>mid</b> after");
|
|
6394
6388
|
element = $compile("<div second></div>")($rootScope);
|
|
6395
6389
|
$rootScope.$digest();
|
|
6396
6390
|
expect(element.text()).toEqual("before mid after");
|
|
6397
6391
|
});
|
|
6398
6392
|
|
|
6399
6393
|
it("should work when directive is on the root element", () => {
|
|
6400
|
-
$templateCache.
|
|
6394
|
+
$templateCache.set(
|
|
6401
6395
|
"/mock/hello",
|
|
6402
6396
|
"<span>3==<span ng-transclude></span></span>",
|
|
6403
6397
|
);
|
|
@@ -6432,7 +6426,7 @@ describe("$compile", () => {
|
|
|
6432
6426
|
|
|
6433
6427
|
// TODO these functions pass when being run in isolation. investigate scope pollution
|
|
6434
6428
|
// it("should throw if: no root element", () => {
|
|
6435
|
-
// $templateCache.
|
|
6429
|
+
// $templateCache.set("template.html", "dada");
|
|
6436
6430
|
|
|
6437
6431
|
// expect(() => {
|
|
6438
6432
|
// $compile("<p template></p>")($rootScope);
|
|
@@ -6441,7 +6435,7 @@ describe("$compile", () => {
|
|
|
6441
6435
|
// });
|
|
6442
6436
|
|
|
6443
6437
|
// it("should throw if: multiple root elements", () => {
|
|
6444
|
-
// $templateCache.
|
|
6438
|
+
// $templateCache.set("template.html", "<div></div><div></div>");
|
|
6445
6439
|
|
|
6446
6440
|
// expect(() => {
|
|
6447
6441
|
// $compile("<p template></p>")($rootScope);
|
|
@@ -6450,7 +6444,7 @@ describe("$compile", () => {
|
|
|
6450
6444
|
// });
|
|
6451
6445
|
|
|
6452
6446
|
it("should not throw if the root element is accompanied by: whitespace", () => {
|
|
6453
|
-
$templateCache.
|
|
6447
|
+
$templateCache.set("template.html", "<div>Hello World!</div> \n");
|
|
6454
6448
|
element = $compile("<p template></p>")($rootScope);
|
|
6455
6449
|
expect(() => {
|
|
6456
6450
|
$rootScope.$digest();
|
|
@@ -6460,7 +6454,7 @@ describe("$compile", () => {
|
|
|
6460
6454
|
});
|
|
6461
6455
|
|
|
6462
6456
|
it("should not throw if the root element is accompanied by: comments", () => {
|
|
6463
|
-
$templateCache.
|
|
6457
|
+
$templateCache.set(
|
|
6464
6458
|
"template.html",
|
|
6465
6459
|
"<!-- oh hi --><div>Hello World!</div> \n",
|
|
6466
6460
|
);
|
|
@@ -6473,7 +6467,7 @@ describe("$compile", () => {
|
|
|
6473
6467
|
});
|
|
6474
6468
|
|
|
6475
6469
|
it("should not throw if the root element is accompanied by: comments + whitespace", () => {
|
|
6476
|
-
$templateCache.
|
|
6470
|
+
$templateCache.set(
|
|
6477
6471
|
"template.html",
|
|
6478
6472
|
" <!-- oh hi --> <div>Hello World!</div> <!-- oh hi -->\n",
|
|
6479
6473
|
);
|
|
@@ -6514,7 +6508,7 @@ describe("$compile", () => {
|
|
|
6514
6508
|
);
|
|
6515
6509
|
|
|
6516
6510
|
$rootScope.coolTitle = "boom!";
|
|
6517
|
-
$templateCache.
|
|
6511
|
+
$templateCache.set("delayed.html", "<div>{{title}}</div>");
|
|
6518
6512
|
element = $compile(
|
|
6519
6513
|
'<div><div ng-repeat="i in [1,2]"><div delayed title="{{coolTitle + i}}"></div>|</div></div>',
|
|
6520
6514
|
)($rootScope);
|
|
@@ -6533,7 +6527,7 @@ describe("$compile", () => {
|
|
|
6533
6527
|
|
|
6534
6528
|
createInjector(["test1"]).invoke(
|
|
6535
6529
|
($templateCache, $rootScope, $compile) => {
|
|
6536
|
-
$templateCache.
|
|
6530
|
+
$templateCache.set(
|
|
6537
6531
|
"/some.html",
|
|
6538
6532
|
'<div ng-switch="i">' +
|
|
6539
6533
|
'<div ng-switch-when="1">i = 1</div>' +
|
|
@@ -6554,7 +6548,7 @@ describe("$compile", () => {
|
|
|
6554
6548
|
});
|
|
6555
6549
|
|
|
6556
6550
|
it("should support templates with root <tr> tags", () => {
|
|
6557
|
-
$templateCache.
|
|
6551
|
+
$templateCache.set("tr.html", "<tr><td>TR</td></tr>");
|
|
6558
6552
|
expect(() => {
|
|
6559
6553
|
element = $compile("<div replace-with-tr></div>")($rootScope);
|
|
6560
6554
|
}).not.toThrow();
|
|
@@ -6563,7 +6557,7 @@ describe("$compile", () => {
|
|
|
6563
6557
|
});
|
|
6564
6558
|
|
|
6565
6559
|
it("should support templates with root <td> tags", () => {
|
|
6566
|
-
$templateCache.
|
|
6560
|
+
$templateCache.set("td.html", "<td>TD</td>");
|
|
6567
6561
|
expect(() => {
|
|
6568
6562
|
element = $compile("<div replace-with-td></div>")($rootScope);
|
|
6569
6563
|
}).not.toThrow();
|
|
@@ -6572,7 +6566,7 @@ describe("$compile", () => {
|
|
|
6572
6566
|
});
|
|
6573
6567
|
|
|
6574
6568
|
it("should support templates with root <th> tags", () => {
|
|
6575
|
-
$templateCache.
|
|
6569
|
+
$templateCache.set("th.html", "<th>TH</th>");
|
|
6576
6570
|
expect(() => {
|
|
6577
6571
|
element = $compile("<div replace-with-th></div>")($rootScope);
|
|
6578
6572
|
}).not.toThrow();
|
|
@@ -6581,7 +6575,7 @@ describe("$compile", () => {
|
|
|
6581
6575
|
});
|
|
6582
6576
|
|
|
6583
6577
|
it("should support templates with root <thead> tags", () => {
|
|
6584
|
-
$templateCache.
|
|
6578
|
+
$templateCache.set("thead.html", "<thead><tr><td>TD</td></tr></thead>");
|
|
6585
6579
|
expect(() => {
|
|
6586
6580
|
element = $compile("<div replace-with-thead></div>")($rootScope);
|
|
6587
6581
|
}).not.toThrow();
|
|
@@ -6590,7 +6584,7 @@ describe("$compile", () => {
|
|
|
6590
6584
|
});
|
|
6591
6585
|
|
|
6592
6586
|
it("should support templates with root <tbody> tags", () => {
|
|
6593
|
-
$templateCache.
|
|
6587
|
+
$templateCache.set("tbody.html", "<tbody><tr><td>TD</td></tr></tbody>");
|
|
6594
6588
|
expect(() => {
|
|
6595
6589
|
element = $compile("<div replace-with-tbody></div>")($rootScope);
|
|
6596
6590
|
}).not.toThrow();
|
|
@@ -6599,7 +6593,7 @@ describe("$compile", () => {
|
|
|
6599
6593
|
});
|
|
6600
6594
|
|
|
6601
6595
|
it("should support templates with root <tfoot> tags", () => {
|
|
6602
|
-
$templateCache.
|
|
6596
|
+
$templateCache.set("tfoot.html", "<tfoot><tr><td>TD</td></tr></tfoot>");
|
|
6603
6597
|
expect(() => {
|
|
6604
6598
|
element = $compile("<div replace-with-tfoot></div>")($rootScope);
|
|
6605
6599
|
}).not.toThrow();
|
|
@@ -6608,7 +6602,7 @@ describe("$compile", () => {
|
|
|
6608
6602
|
});
|
|
6609
6603
|
|
|
6610
6604
|
it("should support templates with root <option> tags", () => {
|
|
6611
|
-
$templateCache.
|
|
6605
|
+
$templateCache.set("option.html", "<option>OPTION</option>");
|
|
6612
6606
|
expect(() => {
|
|
6613
6607
|
element = $compile("<div replace-with-option></div>")($rootScope);
|
|
6614
6608
|
}).not.toThrow();
|
|
@@ -6617,7 +6611,7 @@ describe("$compile", () => {
|
|
|
6617
6611
|
});
|
|
6618
6612
|
|
|
6619
6613
|
it("should support templates with root <optgroup> tags", () => {
|
|
6620
|
-
$templateCache.
|
|
6614
|
+
$templateCache.set("optgroup.html", "<optgroup>OPTGROUP</optgroup>");
|
|
6621
6615
|
expect(() => {
|
|
6622
6616
|
element = $compile("<div replace-with-optgroup></div>")($rootScope);
|
|
6623
6617
|
}).not.toThrow();
|
|
@@ -6640,7 +6634,7 @@ describe("$compile", () => {
|
|
|
6640
6634
|
);
|
|
6641
6635
|
createInjector(["myModule"]).invoke(
|
|
6642
6636
|
($templateCache, $rootScope, $compile) => {
|
|
6643
|
-
$templateCache.
|
|
6637
|
+
$templateCache.set(
|
|
6644
6638
|
"template.html",
|
|
6645
6639
|
'<a xlink:href="{{linkurl}}">{{text}}</a>',
|
|
6646
6640
|
);
|
|
@@ -6676,7 +6670,7 @@ describe("$compile", () => {
|
|
|
6676
6670
|
);
|
|
6677
6671
|
createInjector(["myModule"]).invoke(
|
|
6678
6672
|
($templateCache, $rootScope, $compile) => {
|
|
6679
|
-
$templateCache.
|
|
6673
|
+
$templateCache.set(
|
|
6680
6674
|
"template.html",
|
|
6681
6675
|
"<msup><mn>{{pow}}</mn></msup>",
|
|
6682
6676
|
);
|
|
@@ -6711,7 +6705,7 @@ describe("$compile", () => {
|
|
|
6711
6705
|
|
|
6712
6706
|
createInjector(["myModule"]).invoke(
|
|
6713
6707
|
($templateCache, $rootScope, $compile) => {
|
|
6714
|
-
$templateCache.
|
|
6708
|
+
$templateCache.set("test.html", "<p>{{value}}</p>");
|
|
6715
6709
|
element = $compile(
|
|
6716
6710
|
"<template-url-with-prototype><template-url-with-prototype>",
|
|
6717
6711
|
)($rootScope);
|
|
@@ -6742,7 +6736,7 @@ describe("$compile", () => {
|
|
|
6742
6736
|
|
|
6743
6737
|
createInjector(["test1"]).invoke(
|
|
6744
6738
|
($templateCache, $rootScope, $compile) => {
|
|
6745
|
-
$templateCache.
|
|
6739
|
+
$templateCache.set(
|
|
6746
6740
|
"my-directive.html",
|
|
6747
6741
|
'<div id="templateContent">template content</span>',
|
|
6748
6742
|
);
|
|
@@ -6929,7 +6923,7 @@ describe("$compile", () => {
|
|
|
6929
6923
|
});
|
|
6930
6924
|
|
|
6931
6925
|
it("should allow creation of new scopes for directives with templates", () => {
|
|
6932
|
-
$templateCache.
|
|
6926
|
+
$templateCache.set(
|
|
6933
6927
|
"tscope.html",
|
|
6934
6928
|
"<a log>{{name}}; scopeId: {{$id}}</a>",
|
|
6935
6929
|
);
|
|
@@ -6942,7 +6936,7 @@ describe("$compile", () => {
|
|
|
6942
6936
|
});
|
|
6943
6937
|
|
|
6944
6938
|
it("should allow creation of new scopes for replace directives with templates", () => {
|
|
6945
|
-
$templateCache.
|
|
6939
|
+
$templateCache.set(
|
|
6946
6940
|
"trscope.html",
|
|
6947
6941
|
"<p><a log>{{name}}; scopeId: {{$id}}</a></p>",
|
|
6948
6942
|
);
|
|
@@ -6955,7 +6949,7 @@ describe("$compile", () => {
|
|
|
6955
6949
|
});
|
|
6956
6950
|
|
|
6957
6951
|
it("should allow creation of new scopes for replace directives with templates in a repeater", () => {
|
|
6958
|
-
$templateCache.
|
|
6952
|
+
$templateCache.set("trscope.html", "<p><a log>{{name}}|</a></p>");
|
|
6959
6953
|
element = $compile(
|
|
6960
6954
|
'<div><span ng-repeat="i in [1,2,3]" trscope></span></div>',
|
|
6961
6955
|
)($rootScope);
|
|
@@ -6967,7 +6961,7 @@ describe("$compile", () => {
|
|
|
6967
6961
|
});
|
|
6968
6962
|
|
|
6969
6963
|
it("should allow creation of new isolated scopes for directives with templates", () => {
|
|
6970
|
-
$templateCache.
|
|
6964
|
+
$templateCache.set("tiscope.html", "<a log></a>");
|
|
6971
6965
|
element = $compile("<div><span tiscope></span></div>")($rootScope);
|
|
6972
6966
|
$rootScope.$digest();
|
|
6973
6967
|
expect(log.length).toEqual(2);
|
|
@@ -7003,7 +6997,7 @@ describe("$compile", () => {
|
|
|
7003
6997
|
});
|
|
7004
6998
|
|
|
7005
6999
|
it("should not allow more than one isolate/new scope creation per element regardless of `templateUrl`", () => {
|
|
7006
|
-
$templateCache.
|
|
7000
|
+
$templateCache.set("tiscope.html", "<div>Hello, world !</div>");
|
|
7007
7001
|
$compile("<div tiscope-a scope-b></div>")($rootScope);
|
|
7008
7002
|
$rootScope.$digest();
|
|
7009
7003
|
expect(log[0].match(/multidir/)).toBeTruthy();
|
|
@@ -7032,7 +7026,7 @@ describe("$compile", () => {
|
|
|
7032
7026
|
});
|
|
7033
7027
|
|
|
7034
7028
|
it("should return the new scope for children in the directive template", () => {
|
|
7035
|
-
$templateCache.
|
|
7029
|
+
$templateCache.set("tscope.html", "<a></a>");
|
|
7036
7030
|
element = $compile("<div tscope></div>")($rootScope);
|
|
7037
7031
|
$rootScope.$digest();
|
|
7038
7032
|
expect($rootScope.$$childHead.$parent).toBe($rootScope);
|
|
@@ -7059,7 +7053,7 @@ describe("$compile", () => {
|
|
|
7059
7053
|
});
|
|
7060
7054
|
|
|
7061
7055
|
it("should return the isolate scope for children in directive template", () => {
|
|
7062
|
-
$templateCache.
|
|
7056
|
+
$templateCache.set("tiscope.html", "<a></a>");
|
|
7063
7057
|
element = $compile("<div tiscope></div>")($rootScope);
|
|
7064
7058
|
expect($rootScope.$$childHead).toBeDefined(); // ??? this is the current behavior, not desired feature
|
|
7065
7059
|
$rootScope.$digest();
|
|
@@ -7378,7 +7372,7 @@ describe("$compile", () => {
|
|
|
7378
7372
|
// it("should return the isolate scope for child elements", () => {
|
|
7379
7373
|
// let directiveElement;
|
|
7380
7374
|
// let child;
|
|
7381
|
-
// $templateCache.
|
|
7375
|
+
// $templateCache.set("tiscope.html", "<span></span>");
|
|
7382
7376
|
// element = $compile('<div><a ng-if="true" tiscope></a></div>')(
|
|
7383
7377
|
// $rootScope,
|
|
7384
7378
|
// );
|
|
@@ -7888,7 +7882,7 @@ describe("$compile", () => {
|
|
|
7888
7882
|
$templateCache = _$templateCache_;
|
|
7889
7883
|
});
|
|
7890
7884
|
|
|
7891
|
-
$templateCache.
|
|
7885
|
+
$templateCache.set(
|
|
7892
7886
|
"myDirective.html",
|
|
7893
7887
|
"<span>{{hello}}|{{hello}}</span>",
|
|
7894
7888
|
);
|
|
@@ -8012,7 +8006,7 @@ describe("$compile", () => {
|
|
|
8012
8006
|
},
|
|
8013
8007
|
);
|
|
8014
8008
|
|
|
8015
|
-
$templateCache.
|
|
8009
|
+
$templateCache.set("test-link.html", "{{testAttr}}");
|
|
8016
8010
|
element = $compile('<div test-link="{{1+2}}"></div>')($rootScope);
|
|
8017
8011
|
$rootScope.$apply();
|
|
8018
8012
|
expect(element.text()).toBe("3");
|
|
@@ -9519,7 +9513,7 @@ describe("$compile", () => {
|
|
|
9519
9513
|
},
|
|
9520
9514
|
);
|
|
9521
9515
|
|
|
9522
|
-
$templateCache.
|
|
9516
|
+
$templateCache.set("other.html", "value: {{value}}");
|
|
9523
9517
|
element = $compile("<div my-component other-tpl-dir>")($rootScope);
|
|
9524
9518
|
|
|
9525
9519
|
$rootScope.$apply(() => {
|
|
@@ -9821,7 +9815,7 @@ describe("$compile", () => {
|
|
|
9821
9815
|
$templateCache = _$templateCache_;
|
|
9822
9816
|
});
|
|
9823
9817
|
|
|
9824
|
-
$templateCache.
|
|
9818
|
+
$templateCache.set(
|
|
9825
9819
|
"other.html",
|
|
9826
9820
|
"1:{{param1}};2:{{param2}};3:{{::param1}};4:{{::param2}}",
|
|
9827
9821
|
);
|
|
@@ -9863,7 +9857,7 @@ describe("$compile", () => {
|
|
|
9863
9857
|
$templateCache = _$templateCache_;
|
|
9864
9858
|
});
|
|
9865
9859
|
|
|
9866
|
-
$templateCache.
|
|
9860
|
+
$templateCache.set(
|
|
9867
9861
|
"other.html",
|
|
9868
9862
|
"1:{{param1}};2:{{param2}};3:{{::param1}};4:{{::param2}}",
|
|
9869
9863
|
);
|
|
@@ -11220,7 +11214,7 @@ describe("$compile", () => {
|
|
|
11220
11214
|
);
|
|
11221
11215
|
initInjector("test1");
|
|
11222
11216
|
|
|
11223
|
-
$templateCache.
|
|
11217
|
+
$templateCache.set("test.html", "<p>isolate</p>");
|
|
11224
11218
|
$rootScope.fn = valueFn("called!");
|
|
11225
11219
|
$rootScope.whom = "world";
|
|
11226
11220
|
$rootScope.remoteData = {
|
|
@@ -11382,7 +11376,7 @@ describe("$compile", () => {
|
|
|
11382
11376
|
|
|
11383
11377
|
initInjector("myModule");
|
|
11384
11378
|
|
|
11385
|
-
$templateCache.
|
|
11379
|
+
$templateCache.set("test.html", "<p>template</p>");
|
|
11386
11380
|
$rootScope.fn = valueFn("called!");
|
|
11387
11381
|
$rootScope.whom = "world";
|
|
11388
11382
|
$rootScope.remoteData = {
|
|
@@ -11770,7 +11764,7 @@ describe("$compile", () => {
|
|
|
11770
11764
|
}),
|
|
11771
11765
|
);
|
|
11772
11766
|
initInjector("test1");
|
|
11773
|
-
$templateCache.
|
|
11767
|
+
$templateCache.set("test.html", "<p>isolate</p>");
|
|
11774
11768
|
element = $compile("<div foo-dir>")($rootScope);
|
|
11775
11769
|
$rootScope.$digest();
|
|
11776
11770
|
expect(controllerCalled).toBe(true);
|
|
@@ -11818,7 +11812,7 @@ describe("$compile", () => {
|
|
|
11818
11812
|
}),
|
|
11819
11813
|
);
|
|
11820
11814
|
initInjector("test1");
|
|
11821
|
-
$templateCache.
|
|
11815
|
+
$templateCache.set("test.html", "<p>isolate</p>");
|
|
11822
11816
|
$rootScope.fn = valueFn("called!");
|
|
11823
11817
|
$rootScope.whom = "world";
|
|
11824
11818
|
$rootScope.remoteData = {
|
|
@@ -11878,7 +11872,7 @@ describe("$compile", () => {
|
|
|
11878
11872
|
}),
|
|
11879
11873
|
);
|
|
11880
11874
|
initInjector("test1");
|
|
11881
|
-
$templateCache.
|
|
11875
|
+
$templateCache.set("test.html", "<p>isolate</p>");
|
|
11882
11876
|
$rootScope.fn = valueFn("called!");
|
|
11883
11877
|
$rootScope.whom = "world";
|
|
11884
11878
|
$rootScope.remoteData = {
|
|
@@ -12056,7 +12050,7 @@ describe("$compile", () => {
|
|
|
12056
12050
|
controllerAs: "mainCtrl",
|
|
12057
12051
|
}));
|
|
12058
12052
|
initInjector("test1");
|
|
12059
|
-
$templateCache.
|
|
12053
|
+
$templateCache.set(
|
|
12060
12054
|
"main.html",
|
|
12061
12055
|
"<span>template:{{mainCtrl.name}}</span>",
|
|
12062
12056
|
);
|
|
@@ -12223,7 +12217,7 @@ describe("$compile", () => {
|
|
|
12223
12217
|
},
|
|
12224
12218
|
}));
|
|
12225
12219
|
initInjector("test1");
|
|
12226
|
-
$templateCache.
|
|
12220
|
+
$templateCache.set("dirB.html", "<p>dirB</p>");
|
|
12227
12221
|
element = $compile("<div dir-a dir-b></div>")($rootScope);
|
|
12228
12222
|
$rootScope.$digest();
|
|
12229
12223
|
expect(log[0]).toEqual("dirAController.name: dirA");
|
|
@@ -12596,7 +12590,7 @@ describe("$compile", () => {
|
|
|
12596
12590
|
},
|
|
12597
12591
|
}));
|
|
12598
12592
|
initInjector("test1");
|
|
12599
|
-
$templateCache.
|
|
12593
|
+
$templateCache.set(
|
|
12600
12594
|
"main.html",
|
|
12601
12595
|
"<span ng-init=\"name='WORKS'\">{{name}}</span>",
|
|
12602
12596
|
);
|
|
@@ -12682,7 +12676,7 @@ describe("$compile", () => {
|
|
|
12682
12676
|
controllerAs: "mainCtrl",
|
|
12683
12677
|
}));
|
|
12684
12678
|
initInjector("test1");
|
|
12685
|
-
$templateCache.
|
|
12679
|
+
$templateCache.set(
|
|
12686
12680
|
"main.html",
|
|
12687
12681
|
"<span>template:{{mainCtrl.name}} <div ng-transclude></div></span>",
|
|
12688
12682
|
);
|
|
@@ -12704,7 +12698,7 @@ describe("$compile", () => {
|
|
|
12704
12698
|
controller: "MainCtrl as mainCtrl",
|
|
12705
12699
|
}));
|
|
12706
12700
|
initInjector("test1");
|
|
12707
|
-
$templateCache.
|
|
12701
|
+
$templateCache.set("main.html", "<span>{{mainCtrl.name}}</span>");
|
|
12708
12702
|
element = $compile("<div main></div>")($rootScope);
|
|
12709
12703
|
$rootScope.$apply();
|
|
12710
12704
|
expect(element.text()).toBe("lucas");
|
|
@@ -12892,7 +12886,7 @@ describe("$compile", () => {
|
|
|
12892
12886
|
expect(syncCtrlSpy).not.toHaveBeenCalled();
|
|
12893
12887
|
expect(asyncCtrlSpy).not.toHaveBeenCalled();
|
|
12894
12888
|
|
|
12895
|
-
$templateCache.
|
|
12889
|
+
$templateCache.set("myDirectiveAsync.html", "<div>Hello!</div>");
|
|
12896
12890
|
element = $compile(
|
|
12897
12891
|
"<div>" +
|
|
12898
12892
|
"<span xmy-directive-sync></span>" +
|
|
@@ -12933,11 +12927,11 @@ describe("$compile", () => {
|
|
|
12933
12927
|
},
|
|
12934
12928
|
}));
|
|
12935
12929
|
initInjector("test1");
|
|
12936
|
-
$templateCache.
|
|
12930
|
+
$templateCache.set(
|
|
12937
12931
|
"parentDirective.html",
|
|
12938
12932
|
"<div ng-transclude>parentTemplateText;</div>",
|
|
12939
12933
|
);
|
|
12940
|
-
$templateCache.
|
|
12934
|
+
$templateCache.set(
|
|
12941
12935
|
"childDirective.html",
|
|
12942
12936
|
"<span>childTemplateText;</span>",
|
|
12943
12937
|
);
|
|
@@ -12983,7 +12977,7 @@ describe("$compile", () => {
|
|
|
12983
12977
|
controller: Ctrl,
|
|
12984
12978
|
}));
|
|
12985
12979
|
initInjector("test1");
|
|
12986
|
-
$templateCache.
|
|
12980
|
+
$templateCache.set("/mock/hello", "<p>Hello</p>");
|
|
12987
12981
|
$rootScope.foo = "bar";
|
|
12988
12982
|
|
|
12989
12983
|
element = $compile('<div my-directive my-foo="foo"></div>')($rootScope);
|
|
@@ -13020,15 +13014,15 @@ describe("$compile", () => {
|
|
|
13020
13014
|
},
|
|
13021
13015
|
}));
|
|
13022
13016
|
initInjector("test1");
|
|
13023
|
-
$templateCache.
|
|
13017
|
+
$templateCache.set(
|
|
13024
13018
|
"parentDirective.html",
|
|
13025
13019
|
"<div ng-transclude>parentTemplateText;</div>",
|
|
13026
13020
|
);
|
|
13027
|
-
$templateCache.
|
|
13021
|
+
$templateCache.set(
|
|
13028
13022
|
"childDirective.html",
|
|
13029
13023
|
"<span ng-transclude>childTemplateText;</span>",
|
|
13030
13024
|
);
|
|
13031
|
-
$templateCache.
|
|
13025
|
+
$templateCache.set(
|
|
13032
13026
|
"babyDirective.html",
|
|
13033
13027
|
"<span>babyTemplateText;</span>",
|
|
13034
13028
|
);
|
|
@@ -13065,7 +13059,7 @@ describe("$compile", () => {
|
|
|
13065
13059
|
},
|
|
13066
13060
|
}));
|
|
13067
13061
|
initInjector("test1");
|
|
13068
|
-
$templateCache.
|
|
13062
|
+
$templateCache.set("/mock/hello", "<p>Hello</p>");
|
|
13069
13063
|
|
|
13070
13064
|
element = $compile("<div my-directive></div>")($rootScope);
|
|
13071
13065
|
$rootScope.$apply();
|
|
@@ -13191,7 +13185,7 @@ describe("$compile", () => {
|
|
|
13191
13185
|
);
|
|
13192
13186
|
initInjector("test1");
|
|
13193
13187
|
// return function ($httpBackend) {
|
|
13194
|
-
$templateCache.
|
|
13188
|
+
$templateCache.set(
|
|
13195
13189
|
"chapter.html",
|
|
13196
13190
|
"<div>chapter-<div section>[<div ng-transclude></div>]</div></div>",
|
|
13197
13191
|
);
|
|
@@ -13501,7 +13495,7 @@ describe("$compile", () => {
|
|
|
13501
13495
|
// }));
|
|
13502
13496
|
// initInjector("test1");
|
|
13503
13497
|
// const cacheSize = CACHE.size;
|
|
13504
|
-
// $templateCache.
|
|
13498
|
+
// $templateCache.set("red.html", "<p>red</p>");
|
|
13505
13499
|
// const template = $compile(
|
|
13506
13500
|
// '<div ng-controller="Leak">' +
|
|
13507
13501
|
// '<div ng-switch="code">' +
|
|
@@ -13517,7 +13511,7 @@ describe("$compile", () => {
|
|
|
13517
13511
|
// expect(linkFn).toHaveBeenCalled();
|
|
13518
13512
|
// expect(CACHE.size).toEqual(cacheSize + 2);
|
|
13519
13513
|
|
|
13520
|
-
// $templateCache
|
|
13514
|
+
// $templateCache = new Map();
|
|
13521
13515
|
// const destroyedScope = $rootScope.$new();
|
|
13522
13516
|
// destroyedScope.$destroy();
|
|
13523
13517
|
// const clone = template(destroyedScope, () => {});
|
|
@@ -13848,7 +13842,7 @@ describe("$compile", () => {
|
|
|
13848
13842
|
}),
|
|
13849
13843
|
);
|
|
13850
13844
|
initInjector("test1");
|
|
13851
|
-
$templateCache.
|
|
13845
|
+
$templateCache.set(
|
|
13852
13846
|
"noTransBar.html",
|
|
13853
13847
|
"<div>" +
|
|
13854
13848
|
// This ng-transclude is invalid. It should throw an error.
|
|
@@ -13877,7 +13871,7 @@ describe("$compile", () => {
|
|
|
13877
13871
|
}),
|
|
13878
13872
|
);
|
|
13879
13873
|
initInjector("test1");
|
|
13880
|
-
$templateCache.
|
|
13874
|
+
$templateCache.set("foo.html", '<div class="foo">whatever</div>');
|
|
13881
13875
|
|
|
13882
13876
|
element = $compile("<div trans-in-compile>transcluded content</div>")(
|
|
13883
13877
|
$rootScope,
|
|
@@ -13925,7 +13919,7 @@ describe("$compile", () => {
|
|
|
13925
13919
|
},
|
|
13926
13920
|
}));
|
|
13927
13921
|
initInjector("test1");
|
|
13928
|
-
$templateCache.
|
|
13922
|
+
$templateCache.set("trans.html", "<div ng-transclude></div>");
|
|
13929
13923
|
|
|
13930
13924
|
element = $compile("<div trans><span>unicorn!</span></div>")(
|
|
13931
13925
|
$rootScope,
|
|
@@ -13974,7 +13968,7 @@ describe("$compile", () => {
|
|
|
13974
13968
|
},
|
|
13975
13969
|
}));
|
|
13976
13970
|
initInjector("test1");
|
|
13977
|
-
$templateCache.
|
|
13971
|
+
$templateCache.set("trans.html", "<div ng-transclude></div>");
|
|
13978
13972
|
|
|
13979
13973
|
element = $compile(
|
|
13980
13974
|
"<div replaced-trans><span>unicorn!</span></div>",
|
|
@@ -14404,12 +14398,12 @@ describe("$compile", () => {
|
|
|
14404
14398
|
);
|
|
14405
14399
|
|
|
14406
14400
|
initInjector("test1");
|
|
14407
|
-
$templateCache.
|
|
14408
|
-
$templateCache.
|
|
14401
|
+
$templateCache.set("async", "<div ng-transclude></div>");
|
|
14402
|
+
$templateCache.set(
|
|
14409
14403
|
"asyncSync",
|
|
14410
14404
|
"<div noop><div sync><div ng-transclude></div></div></div>",
|
|
14411
14405
|
);
|
|
14412
|
-
$templateCache.
|
|
14406
|
+
$templateCache.set(
|
|
14413
14407
|
"asyncAsync",
|
|
14414
14408
|
"<div noop><div async><div ng-transclude></div></div></div>",
|
|
14415
14409
|
);
|
|
@@ -14517,8 +14511,8 @@ describe("$compile", () => {
|
|
|
14517
14511
|
}),
|
|
14518
14512
|
);
|
|
14519
14513
|
|
|
14520
|
-
$templateCache.
|
|
14521
|
-
$templateCache.
|
|
14514
|
+
$templateCache.set("transAsync", "<div ng-transclude></div>");
|
|
14515
|
+
$templateCache.set(
|
|
14522
14516
|
"isoAsync",
|
|
14523
14517
|
"<trans-async><span ng-transclude></span></trans-async>",
|
|
14524
14518
|
);
|
|
@@ -14703,7 +14697,7 @@ describe("$compile", () => {
|
|
|
14703
14697
|
);
|
|
14704
14698
|
|
|
14705
14699
|
initInjector("test1");
|
|
14706
|
-
$templateCache.
|
|
14700
|
+
$templateCache.set("template.html", "<p second>template.html</p>");
|
|
14707
14701
|
expect(() => {
|
|
14708
14702
|
$compile("<div template first></div>");
|
|
14709
14703
|
$rootScope.$digest();
|
|
@@ -14930,7 +14924,7 @@ describe("$compile", () => {
|
|
|
14930
14924
|
}),
|
|
14931
14925
|
);
|
|
14932
14926
|
initInjector("test1");
|
|
14933
|
-
$templateCache.
|
|
14927
|
+
$templateCache.set("template.html", "<div transclude></div>");
|
|
14934
14928
|
element = $compile("<div template></div>")($rootScope);
|
|
14935
14929
|
$rootScope.$digest();
|
|
14936
14930
|
expect(transclude).toBeDefined();
|
|
@@ -14966,7 +14960,7 @@ describe("$compile", () => {
|
|
|
14966
14960
|
}));
|
|
14967
14961
|
initInjector("test1");
|
|
14968
14962
|
|
|
14969
|
-
$templateCache.
|
|
14963
|
+
$templateCache.set(
|
|
14970
14964
|
"inner.html",
|
|
14971
14965
|
"<div inner-again><p>Content</p></div>",
|
|
14972
14966
|
);
|
|
@@ -15063,7 +15057,7 @@ describe("$compile", () => {
|
|
|
15063
15057
|
replace: true,
|
|
15064
15058
|
}));
|
|
15065
15059
|
initInjector("test1");
|
|
15066
|
-
$templateCache.
|
|
15060
|
+
$templateCache.set(
|
|
15067
15061
|
"template.html",
|
|
15068
15062
|
"<div trans-sync>Content To Be Transcluded</div>",
|
|
15069
15063
|
);
|
|
@@ -15171,7 +15165,8 @@ describe("$compile", () => {
|
|
|
15171
15165
|
}),
|
|
15172
15166
|
);
|
|
15173
15167
|
initInjector("test1");
|
|
15174
|
-
$templateCache.
|
|
15168
|
+
$templateCache.set("baz.html", "<div>Baz</div>");
|
|
15169
|
+
debugger;
|
|
15175
15170
|
element = $compile("<trans><inner></inner></trans>")($rootScope);
|
|
15176
15171
|
$rootScope.$digest();
|
|
15177
15172
|
|
|
@@ -15292,7 +15287,7 @@ describe("$compile", () => {
|
|
|
15292
15287
|
}),
|
|
15293
15288
|
);
|
|
15294
15289
|
initInjector("test1");
|
|
15295
|
-
$templateCache.
|
|
15290
|
+
$templateCache.set("inner.html", "<inner></inner>");
|
|
15296
15291
|
element = $compile("<outer></outer>")($rootScope);
|
|
15297
15292
|
$rootScope.$digest();
|
|
15298
15293
|
|
|
@@ -16405,7 +16400,7 @@ describe("$compile", () => {
|
|
|
16405
16400
|
},
|
|
16406
16401
|
}));
|
|
16407
16402
|
initInjector("test1");
|
|
16408
|
-
$templateCache.
|
|
16403
|
+
$templateCache.set("async.html", "<h1>Test</h1>");
|
|
16409
16404
|
});
|
|
16410
16405
|
|
|
16411
16406
|
it("should provide post-digest value in synchronous directive link functions when after overridden attribute", () => {
|
|
@@ -17231,7 +17226,7 @@ describe("$compile", () => {
|
|
|
17231
17226
|
},
|
|
17232
17227
|
}));
|
|
17233
17228
|
initInjector("test1");
|
|
17234
|
-
$templateCache.
|
|
17229
|
+
$templateCache.set("template123", "<p></p>");
|
|
17235
17230
|
|
|
17236
17231
|
$compile(
|
|
17237
17232
|
'<div replace-start foo="1"><span foo="1.1"></span></div>' +
|
|
@@ -17303,7 +17298,7 @@ describe("$compile", () => {
|
|
|
17303
17298
|
: undefined,
|
|
17304
17299
|
}));
|
|
17305
17300
|
initInjector("test1");
|
|
17306
|
-
$templateCache.
|
|
17301
|
+
$templateCache.set("the-dir-template-url", template);
|
|
17307
17302
|
|
|
17308
17303
|
testCompileLinkDataCleanup(
|
|
17309
17304
|
"<div>" +
|