diff --git a/.eslintrc b/.eslintrc index e6a35c2ce3fb..031f52ec4df4 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,10 +1,7 @@ { "parser": "@typescript-eslint/parser", - "parserOptions": { - "sourceType": "module" - }, "extends": [ - "eslint:recommended" + "eslint:recommended", ], "plugins": [ "angular", diff --git a/core/templates/dev/head/App.ts b/core/templates/dev/head/App.ts index 244c9ea77387..63164b8e0f9e 100644 --- a/core/templates/dev/head/App.ts +++ b/core/templates/dev/head/App.ts @@ -68,8 +68,6 @@ require('app.constants.ts'); // loaded after app.constants.ts require('I18nFooter.ts'); -var oppia = require('AppInit.ts').module; - oppia.config([ '$compileProvider', '$cookiesProvider', '$httpProvider', '$interpolateProvider', '$locationProvider', diff --git a/core/templates/dev/head/AppInit.ts b/core/templates/dev/head/AppInit.ts index 60a4b670c07c..b011fa28e4c9 100644 --- a/core/templates/dev/head/AppInit.ts +++ b/core/templates/dev/head/AppInit.ts @@ -16,39 +16,11 @@ * @fileoverview File for initializing the main oppia module. */ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { StaticProvider } from '@angular/core'; - -@NgModule({ - imports: [ - BrowserModule - ] -}) -class MainAngularModule { - // Empty placeholder method to satisfy the `Compiler`. - ngDoBootstrap() {} -} - -import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; -import { downgradeModule } from '@angular/upgrade/static'; - -const bootstrapFn = (extraProviders: StaticProvider[]) => { - const platformRef = platformBrowserDynamic(extraProviders); - return platformRef.bootstrapModule(MainAngularModule); -}; -const downgradedModule = downgradeModule(bootstrapFn); - -declare var angular: any; - var oppia = angular.module( 'oppia', [ 'dndLists', 'headroom', 'infinite-scroll', 'ngAnimate', 'ngAudio', 'ngCookies', 'ngImgCrop', 'ngJoyRide', 'ngMaterial', 'ngResource', 'ngSanitize', 'ngTouch', 'pascalprecht.translate', - 'toastr', 'ui.bootstrap', 'ui.sortable', 'ui.tree', 'ui.validate', - downgradedModule + 'toastr', 'ui.bootstrap', 'ui.sortable', 'ui.tree', 'ui.validate' ].concat( window.GLOBALS ? (window.GLOBALS.ADDITIONAL_ANGULAR_MODULES || []) : [])); - -exports.module = oppia; diff --git a/core/templates/dev/head/I18nFooter.ts b/core/templates/dev/head/I18nFooter.ts index 89a01f7602bb..025295ffda85 100755 --- a/core/templates/dev/head/I18nFooter.ts +++ b/core/templates/dev/head/I18nFooter.ts @@ -18,8 +18,6 @@ * @author milagro.teruel@gmail.com (Milagro Teruel) */ -var oppia = require('AppInit.ts').module; - oppia.controller('I18nFooter', [ '$cookies', '$http', '$rootScope', '$scope', '$timeout', '$translate', 'UserService', diff --git a/core/templates/dev/head/app.constants.ts b/core/templates/dev/head/app.constants.ts index 38efec231200..50ef7fac7173 100644 --- a/core/templates/dev/head/app.constants.ts +++ b/core/templates/dev/head/app.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Shared constants for the Oppia module. */ -var oppia = require('AppInit.ts').module; - for (var constantName in constants) { oppia.constant(constantName, constants[constantName]); } diff --git a/core/templates/dev/head/base_components/BaseContentDirective.ts b/core/templates/dev/head/base_components/BaseContentDirective.ts index e4b97c8498e7..8b65b476778c 100644 --- a/core/templates/dev/head/base_components/BaseContentDirective.ts +++ b/core/templates/dev/head/base_components/BaseContentDirective.ts @@ -20,8 +20,6 @@ require('pages/OppiaFooterDirective.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('baseContent', [ 'UrlInterpolationService', function(UrlInterpolationService) { diff --git a/core/templates/dev/head/base_components/WarningLoaderDirective.ts b/core/templates/dev/head/base_components/WarningLoaderDirective.ts index 6765eadde1a9..13be100ac353 100644 --- a/core/templates/dev/head/base_components/WarningLoaderDirective.ts +++ b/core/templates/dev/head/base_components/WarningLoaderDirective.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('warningLoader', [ 'UrlInterpolationService', function(UrlInterpolationService) { diff --git a/core/templates/dev/head/components/button-directives/create-activity-button.directive.ts b/core/templates/dev/head/components/button-directives/create-activity-button.directive.ts index 1167c77556cd..374d660f4702 100644 --- a/core/templates/dev/head/components/button-directives/create-activity-button.directive.ts +++ b/core/templates/dev/head/components/button-directives/create-activity-button.directive.ts @@ -23,8 +23,6 @@ require('services/contextual/UrlService.ts'); require('services/SiteAnalyticsService.ts'); require('services/UserService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('createActivityButton', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/button-directives/exploration-embed-button.service.ts b/core/templates/dev/head/components/button-directives/exploration-embed-button.service.ts index 7d3ae62ccc80..56efeaec1732 100644 --- a/core/templates/dev/head/components/button-directives/exploration-embed-button.service.ts +++ b/core/templates/dev/head/components/button-directives/exploration-embed-button.service.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/SiteAnalyticsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationEmbedButtonService', [ '$uibModal', 'SiteAnalyticsService', 'UrlInterpolationService', function($uibModal, SiteAnalyticsService, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/button-directives/hint-and-solution-buttons.directive.ts b/core/templates/dev/head/components/button-directives/hint-and-solution-buttons.directive.ts index 95493c9e8af6..e19b5344a7d0 100644 --- a/core/templates/dev/head/components/button-directives/hint-and-solution-buttons.directive.ts +++ b/core/templates/dev/head/components/button-directives/hint-and-solution-buttons.directive.ts @@ -31,8 +31,6 @@ require('services/contextual/DeviceInfoService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('hintAndSolutionButtons', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/button-directives/social-buttons.directive.ts b/core/templates/dev/head/components/button-directives/social-buttons.directive.ts index 389673a033c8..4ba9ed5f1002 100644 --- a/core/templates/dev/head/components/button-directives/social-buttons.directive.ts +++ b/core/templates/dev/head/components/button-directives/social-buttons.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('socialButtons', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/ck-editor-helpers/ck-editor-rte.directive.ts b/core/templates/dev/head/components/ck-editor-helpers/ck-editor-rte.directive.ts index 40f5a11dc688..0c97abc15489 100644 --- a/core/templates/dev/head/components/ck-editor-helpers/ck-editor-rte.directive.ts +++ b/core/templates/dev/head/components/ck-editor-helpers/ck-editor-rte.directive.ts @@ -19,8 +19,6 @@ require('services/ContextService.ts'); require('services/RteHelperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('ckEditorRte', [ 'ContextService', 'RteHelperService', 'PAGE_CONTEXT', function(ContextService, RteHelperService, PAGE_CONTEXT) { diff --git a/core/templates/dev/head/components/ck-editor-helpers/ck-editor-widgets.initializer.ts b/core/templates/dev/head/components/ck-editor-helpers/ck-editor-widgets.initializer.ts index 9a913e344b9d..9f09df2d6a39 100644 --- a/core/templates/dev/head/components/ck-editor-helpers/ck-editor-widgets.initializer.ts +++ b/core/templates/dev/head/components/ck-editor-helpers/ck-editor-widgets.initializer.ts @@ -21,8 +21,6 @@ require('rich_text_components/richTextComponentsRequires.ts'); require('services/HtmlEscaperService.ts'); require('services/RteHelperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.run([ '$timeout', '$compile', '$rootScope', '$uibModal', 'RteHelperService', 'HtmlEscaperService', diff --git a/core/templates/dev/head/components/common-layout-directives/common-elements/alert-message.directive.ts b/core/templates/dev/head/components/common-layout-directives/common-elements/alert-message.directive.ts index 389cd863cdc0..3af9e8b0470e 100644 --- a/core/templates/dev/head/components/common-layout-directives/common-elements/alert-message.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/common-elements/alert-message.directive.ts @@ -18,8 +18,6 @@ require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('alertMessage', [function() { return { restrict: 'E', diff --git a/core/templates/dev/head/components/common-layout-directives/common-elements/attribution-guide.directive.ts b/core/templates/dev/head/components/common-layout-directives/common-elements/attribution-guide.directive.ts index 2c38f75048da..662ad37ecdac 100644 --- a/core/templates/dev/head/components/common-layout-directives/common-elements/attribution-guide.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/common-elements/attribution-guide.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/BrowserCheckerService.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('attributionGuide', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/common-layout-directives/common-elements/background-banner.directive.ts b/core/templates/dev/head/components/common-layout-directives/common-elements/background-banner.directive.ts index 0f57c54bb9d5..6f7e7b172632 100644 --- a/core/templates/dev/head/components/common-layout-directives/common-elements/background-banner.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/common-elements/background-banner.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('backgroundBanner', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/common-layout-directives/common-elements/loading-dots.directive.ts b/core/templates/dev/head/components/common-layout-directives/common-elements/loading-dots.directive.ts index 4c29013c5e3d..efb7decb3e64 100644 --- a/core/templates/dev/head/components/common-layout-directives/common-elements/loading-dots.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/common-elements/loading-dots.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('loadingDots', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/common-layout-directives/common-elements/promo-bar.directive.ts b/core/templates/dev/head/components/common-layout-directives/common-elements/promo-bar.directive.ts index a93820107658..94e69db9f78a 100644 --- a/core/templates/dev/head/components/common-layout-directives/common-elements/promo-bar.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/common-elements/promo-bar.directive.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/PromoBarService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('promoBar', [ '$window', 'PromoBarService', 'UrlInterpolationService', function($window, PromoBarService, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/common-layout-directives/common-elements/sharing-links.directive.ts b/core/templates/dev/head/components/common-layout-directives/common-elements/sharing-links.directive.ts index 69d56dd3c7bd..fe4720bf9e4f 100644 --- a/core/templates/dev/head/components/common-layout-directives/common-elements/sharing-links.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/common-elements/sharing-links.directive.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); require('services/SiteAnalyticsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('sharingLinks', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/common-layout-directives/navigation-bars/side-navigation-bar.directive.ts b/core/templates/dev/head/components/common-layout-directives/navigation-bars/side-navigation-bar.directive.ts index 92b6b71ee1f4..4055d065c6f7 100644 --- a/core/templates/dev/head/components/common-layout-directives/navigation-bars/side-navigation-bar.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/navigation-bars/side-navigation-bar.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('sideNavigationBar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/common-layout-directives/navigation-bars/top-navigation-bar.directive.ts b/core/templates/dev/head/components/common-layout-directives/navigation-bars/top-navigation-bar.directive.ts index 7e2098396ef9..16783015dad5 100644 --- a/core/templates/dev/head/components/common-layout-directives/navigation-bars/top-navigation-bar.directive.ts +++ b/core/templates/dev/head/components/common-layout-directives/navigation-bars/top-navigation-bar.directive.ts @@ -27,8 +27,6 @@ require('services/UserService.ts'); require('services/contextual/DeviceInfoService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topNavigationBar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/entity-creation-services/collection-creation.service.ts b/core/templates/dev/head/components/entity-creation-services/collection-creation.service.ts index 7b1e19d1f94f..1c4ca56cb0d4 100644 --- a/core/templates/dev/head/components/entity-creation-services/collection-creation.service.ts +++ b/core/templates/dev/head/components/entity-creation-services/collection-creation.service.ts @@ -24,8 +24,6 @@ require('services/SiteAnalyticsService.ts'); // duplicated code between CollectionCreationService and // ExplorationCreationService. -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionCreationService', [ '$http', '$rootScope', '$timeout', '$window', 'AlertsService', 'SiteAnalyticsService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/entity-creation-services/exploration-creation.service.ts b/core/templates/dev/head/components/entity-creation-services/exploration-creation.service.ts index 14982f2bcbab..e8e40999eb66 100644 --- a/core/templates/dev/head/components/entity-creation-services/exploration-creation.service.ts +++ b/core/templates/dev/head/components/entity-creation-services/exploration-creation.service.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); require('services/SiteAnalyticsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationCreationService', [ '$http', '$rootScope', '$timeout', '$uibModal', '$window', 'AlertsService', 'SiteAnalyticsService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/entity-creation-services/question-creation.service.ts b/core/templates/dev/head/components/entity-creation-services/question-creation.service.ts index ca3da1c07ea4..cb4ca180289d 100644 --- a/core/templates/dev/head/components/entity-creation-services/question-creation.service.ts +++ b/core/templates/dev/head/components/entity-creation-services/question-creation.service.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionCreationService', [ '$http', '$q', 'UrlInterpolationService', function($http, $q, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/entity-creation-services/skill-creation.service.ts b/core/templates/dev/head/components/entity-creation-services/skill-creation.service.ts index 12b74f807b56..c83eae07e8da 100644 --- a/core/templates/dev/head/components/entity-creation-services/skill-creation.service.ts +++ b/core/templates/dev/head/components/entity-creation-services/skill-creation.service.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SkillCreationService', [ '$http', '$rootScope', '$timeout', '$window', 'AlertsService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/entity-creation-services/story-creation.service.ts b/core/templates/dev/head/components/entity-creation-services/story-creation.service.ts index 766d351d744b..36b2332f5404 100644 --- a/core/templates/dev/head/components/entity-creation-services/story-creation.service.ts +++ b/core/templates/dev/head/components/entity-creation-services/story-creation.service.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/topic-editor-page/services/topic-editor-state.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryCreationService', [ '$http', '$rootScope', '$timeout', '$uibModal', '$window', 'AlertsService', 'TopicEditorStateService', 'TopicUpdateService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/entity-creation-services/topic-creation.service.ts.ts b/core/templates/dev/head/components/entity-creation-services/topic-creation.service.ts.ts index 5d3974b38091..a9bd3d3328ad 100644 --- a/core/templates/dev/head/components/entity-creation-services/topic-creation.service.ts.ts +++ b/core/templates/dev/head/components/entity-creation-services/topic-creation.service.ts.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicCreationService', [ '$http', '$rootScope', '$timeout', '$uibModal', '$window', 'AlertsService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/apply-validation.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/apply-validation.directive.ts index fd5ba5102cdf..989405fa7dfc 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/apply-validation.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/apply-validation.directive.ts @@ -19,8 +19,6 @@ require('filters/string-utility-filters/underscores-to-camel-case.filter.ts'); /* eslint-disable angular/directive-restrict */ -var oppia = require('AppInit.ts').module; - oppia.directive('applyValidation', ['$filter', function($filter) { return { require: 'ngModel', diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/audio-file-uploader.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/audio-file-uploader.directive.ts index 28f9a6816d47..6d4ff893823f 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/audio-file-uploader.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/audio-file-uploader.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/IdGenerationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('audioFileUploader', [ 'IdGenerationService', 'UrlInterpolationService', function(IdGenerationService, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/html-select.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/html-select.directive.ts index c9dbaa47ce1f..067ff680d520 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/html-select.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/html-select.directive.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); // Attribute 'val' is presented to the user. After user selection, the // corresponding attribute 'id' is assigned to 'selection' -var oppia = require('AppInit.ts').module; - oppia.directive('htmlSelect', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/image-uploader.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/image-uploader.directive.ts index 189c5531e7e0..e583a5d3e534 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/image-uploader.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/image-uploader.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/IdGenerationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('imageUploader', [ 'IdGenerationService', 'UrlInterpolationService', function(IdGenerationService, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/object-editor.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/object-editor.directive.ts index 8ae0c0b47ebf..165547bde8ff 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/object-editor.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/object-editor.directive.ts @@ -18,8 +18,6 @@ // Individual object editor directives are in extensions/objects/templates. -var oppia = require('AppInit.ts').module; - oppia.directive('objectEditor', ['$compile', '$log', function($compile, $log) { return { scope: { diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/require-is-float.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/require-is-float.directive.ts index 332909a25242..1fc59509dbc5 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/require-is-float.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/require-is-float.directive.ts @@ -22,8 +22,6 @@ require('components/forms/validators/is-float.filter.ts'); /* eslint-disable angular/directive-restrict */ -var oppia = require('AppInit.ts').module; - oppia.directive('requireIsFloat', ['$filter', function($filter) { return { require: 'ngModel', diff --git a/core/templates/dev/head/components/forms/custom-forms-directives/select2-dropdown.directive.ts b/core/templates/dev/head/components/forms/custom-forms-directives/select2-dropdown.directive.ts index 05c54686eeb2..bae49b72a1e1 100644 --- a/core/templates/dev/head/components/forms/custom-forms-directives/select2-dropdown.directive.ts +++ b/core/templates/dev/head/components/forms/custom-forms-directives/select2-dropdown.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('select2Dropdown', [ 'UrlInterpolationService', function(UrlInterpolationService) { // Directive for incorporating select2 dropdowns. diff --git a/core/templates/dev/head/components/forms/forms-templates/mark-all-audio-and-translations-as-needing-update.controller.ts b/core/templates/dev/head/components/forms/forms-templates/mark-all-audio-and-translations-as-needing-update.controller.ts index dd9018433eab..5481f102af45 100644 --- a/core/templates/dev/head/components/forms/forms-templates/mark-all-audio-and-translations-as-needing-update.controller.ts +++ b/core/templates/dev/head/components/forms/forms-templates/mark-all-audio-and-translations-as-needing-update.controller.ts @@ -17,8 +17,6 @@ * mark_all_audio_and_translations_as_needing_update modal. */ -var oppia = require('AppInit.ts').module; - oppia.controller('MarkAllAudioAndTranslationsAsNeedingUpdateController', [ '$scope', '$uibModalInstance', function($scope, $uibModalInstance) { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-bool-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-bool-editor.directive.ts index 680e7d58b613..6ed9b6b90a04 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-bool-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-bool-editor.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedBoolEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-choices-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-choices-editor.directive.ts index fe29565c193f..fefeac72b1f2 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-choices-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-choices-editor.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/NestedDirectivesRecursionTimeoutPreventionService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedChoicesEditor', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-custom-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-custom-editor.directive.ts index 3c7c4e717d8b..5c68c09c407e 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-custom-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-custom-editor.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/NestedDirectivesRecursionTimeoutPreventionService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedCustomEditor', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-dict-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-dict-editor.directive.ts index 4f57da46448a..f87b32a54f41 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-dict-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-dict-editor.directive.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/IdGenerationService.ts'); require('services/NestedDirectivesRecursionTimeoutPreventionService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedDictEditor', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-editor.directive.ts index 28cbf72998e8..69807df781c1 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-editor.directive.ts @@ -45,8 +45,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-expression-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-expression-editor.directive.ts index 5f756b07b1a8..3fbbf9b437b6 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-expression-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-expression-editor.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedExpressionEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-float-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-float-editor.directive.ts index eab6d4c56385..bd8bc23b1ca5 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-float-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-float-editor.directive.ts @@ -20,8 +20,6 @@ require('components/forms/validators/is-float.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedFloatEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-html-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-html-editor.directive.ts index e3ed6bcfdccb..3cfab6553687 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-html-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-html-editor.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedHtmlEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-int-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-int-editor.directive.ts index a3810e842655..b062213677c2 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-int-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-int-editor.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedIntEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-list-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-list-editor.directive.ts index 1797a7db6bd4..e446f9b59de5 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-list-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-list-editor.directive.ts @@ -26,8 +26,6 @@ require('services/SchemaDefaultValueService.ts'); require('services/SchemaUndefinedLastElementService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedListEditor', [ 'FocusManagerService', 'IdGenerationService', 'NestedDirectivesRecursionTimeoutPreventionService', diff --git a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-unicode-editor.directive.ts b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-unicode-editor.directive.ts index 60b878788dec..207f180d1209 100644 --- a/core/templates/dev/head/components/forms/schema-based-editors/schema-based-unicode-editor.directive.ts +++ b/core/templates/dev/head/components/forms/schema-based-editors/schema-based-unicode-editor.directive.ts @@ -20,8 +20,6 @@ require('filters/convert-unicode-with-params-to-html.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/contextual/DeviceInfoService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedUnicodeEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-custom-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-custom-viewer.directive.ts index 3d98a768ae5a..5f6013821542 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-custom-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-custom-viewer.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/NestedDirectivesRecursionTimeoutPreventionService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedCustomViewer', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-dict-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-dict-viewer.directive.ts index c8db4da49a52..1c310f13990d 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-dict-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-dict-viewer.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/NestedDirectivesRecursionTimeoutPreventionService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedDictViewer', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-html-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-html-viewer.directive.ts index cd1b5f3a55ba..e800e14270b6 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-html-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-html-viewer.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedHtmlViewer', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-list-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-list-viewer.directive.ts index b5b022c04c42..714fb1829670 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-list-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-list-viewer.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/NestedDirectivesRecursionTimeoutPreventionService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedListViewer', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-primitive-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-primitive-viewer.directive.ts index 0a982d56c069..9fef83d51bbf 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-primitive-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-primitive-viewer.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedPrimitiveViewer', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-unicode-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-unicode-viewer.directive.ts index 9103e29fdffb..855f08c6e8a1 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-unicode-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-unicode-viewer.directive.ts @@ -19,8 +19,6 @@ require('filters/convert-unicode-with-params-to-html.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedUnicodeViewer', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/schema-viewers/schema-based-viewer.directive.ts b/core/templates/dev/head/components/forms/schema-viewers/schema-based-viewer.directive.ts index 8f82023735f2..5cc1bb945e0a 100644 --- a/core/templates/dev/head/components/forms/schema-viewers/schema-based-viewer.directive.ts +++ b/core/templates/dev/head/components/forms/schema-viewers/schema-based-viewer.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('schemaBasedViewer', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/forms/validators/is-at-least.filter.ts b/core/templates/dev/head/components/forms/validators/is-at-least.filter.ts index 67c621c91e3c..789c1ed10046 100644 --- a/core/templates/dev/head/components/forms/validators/is-at-least.filter.ts +++ b/core/templates/dev/head/components/forms/validators/is-at-least.filter.ts @@ -17,8 +17,6 @@ args. */ -var oppia = require('AppInit.ts').module; - oppia.filter('isAtLeast', [function() { return function(input, args) { return (input >= args.minValue); diff --git a/core/templates/dev/head/components/forms/validators/is-at-most.filter.ts b/core/templates/dev/head/components/forms/validators/is-at-most.filter.ts index 3938c2572814..79be9f3a79b2 100644 --- a/core/templates/dev/head/components/forms/validators/is-at-most.filter.ts +++ b/core/templates/dev/head/components/forms/validators/is-at-most.filter.ts @@ -17,8 +17,6 @@ args. */ -var oppia = require('AppInit.ts').module; - oppia.filter('isAtMost', [function() { return function(input, args) { return (input <= args.maxValue); diff --git a/core/templates/dev/head/components/forms/validators/is-float.filter.ts b/core/templates/dev/head/components/forms/validators/is-float.filter.ts index f5cf900e7421..3ef52f590b34 100644 --- a/core/templates/dev/head/components/forms/validators/is-float.filter.ts +++ b/core/templates/dev/head/components/forms/validators/is-float.filter.ts @@ -16,8 +16,6 @@ * @fileoverview Validator to check if input is float. */ -var oppia = require('AppInit.ts').module; - oppia.filter('isFloat', [function() { return function(input) { var FLOAT_REGEXP = /(?=.*\d)^\-?\d*(\.|\,)?\d*\%?$/; diff --git a/core/templates/dev/head/components/forms/validators/is-integer.filter.ts b/core/templates/dev/head/components/forms/validators/is-integer.filter.ts index 4e727303dabe..1c6968e5bb5a 100644 --- a/core/templates/dev/head/components/forms/validators/is-integer.filter.ts +++ b/core/templates/dev/head/components/forms/validators/is-integer.filter.ts @@ -16,8 +16,6 @@ * @fileoverview Validator to check if input is integer. */ -var oppia = require('AppInit.ts').module; - oppia.filter('isInteger', [function() { return function(input) { return Number.isInteger(Number(input)); diff --git a/core/templates/dev/head/components/forms/validators/is-nonempty.filter.ts b/core/templates/dev/head/components/forms/validators/is-nonempty.filter.ts index 0f4a023dc8ac..473bc1a54095 100644 --- a/core/templates/dev/head/components/forms/validators/is-nonempty.filter.ts +++ b/core/templates/dev/head/components/forms/validators/is-nonempty.filter.ts @@ -16,8 +16,6 @@ * @fileoverview Validator to check if input is nonempty. */ -var oppia = require('AppInit.ts').module; - oppia.filter('isNonempty', [function() { return function(input) { return Boolean(input); diff --git a/core/templates/dev/head/components/graph-services/graph-layout.service.ts b/core/templates/dev/head/components/graph-services/graph-layout.service.ts index 5fdc1e0b62f9..b639ec9fb744 100644 --- a/core/templates/dev/head/components/graph-services/graph-layout.service.ts +++ b/core/templates/dev/head/components/graph-services/graph-layout.service.ts @@ -17,8 +17,6 @@ */ // Service for computing layout of state graph nodes. -var oppia = require('AppInit.ts').module; - oppia.factory('StateGraphLayoutService', [ '$filter', '$log', 'MAX_NODES_PER_ROW', function($filter, $log, MAX_NODES_PER_ROW) { diff --git a/core/templates/dev/head/components/profile-link-directives/circular-image.directive.ts b/core/templates/dev/head/components/profile-link-directives/circular-image.directive.ts index 045d9604b7ef..083dccfc4ab1 100644 --- a/core/templates/dev/head/components/profile-link-directives/circular-image.directive.ts +++ b/core/templates/dev/head/components/profile-link-directives/circular-image.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('circularImage', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/profile-link-directives/profile-link-image.directive.ts b/core/templates/dev/head/components/profile-link-directives/profile-link-image.directive.ts index 39443a25f527..fbce35ac3c64 100644 --- a/core/templates/dev/head/components/profile-link-directives/profile-link-image.directive.ts +++ b/core/templates/dev/head/components/profile-link-directives/profile-link-image.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('profileLinkImage', [ 'UrlInterpolationService', 'SYSTEM_USER_IDS', function(UrlInterpolationService, SYSTEM_USER_IDS) { diff --git a/core/templates/dev/head/components/profile-link-directives/profile-link-text.directive.ts b/core/templates/dev/head/components/profile-link-directives/profile-link-text.directive.ts index a10e5bee20e1..32417913e52b 100644 --- a/core/templates/dev/head/components/profile-link-directives/profile-link-text.directive.ts +++ b/core/templates/dev/head/components/profile-link-directives/profile-link-text.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('profileLinkText', [ 'UrlInterpolationService', 'SYSTEM_USER_IDS', function(UrlInterpolationService, SYSTEM_USER_IDS) { diff --git a/core/templates/dev/head/components/question-directives/question-editor/question-editor.directive.ts b/core/templates/dev/head/components/question-directives/question-editor/question-editor.directive.ts index c2039308f001..4337d58edc8c 100644 --- a/core/templates/dev/head/components/question-directives/question-editor/question-editor.directive.ts +++ b/core/templates/dev/head/components/question-directives/question-editor/question-editor.directive.ts @@ -37,8 +37,6 @@ require('services/EditabilityService.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('questionEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/question-directives/question-player/question-player.directive.ts b/core/templates/dev/head/components/question-directives/question-player/question-player.directive.ts index e7d08b11c442..c154427ad69d 100644 --- a/core/templates/dev/head/components/question-directives/question-player/question-player.directive.ts +++ b/core/templates/dev/head/components/question-directives/question-player/question-player.directive.ts @@ -103,8 +103,6 @@ require( require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('questionPlayer', [ '$http', 'UrlInterpolationService', function( diff --git a/core/templates/dev/head/components/question-directives/question-player/services/question-player-state.service.ts b/core/templates/dev/head/components/question-directives/question-player/services/question-player-state.service.ts index 5c023bba944f..ce8eec7ff760 100644 --- a/core/templates/dev/head/components/question-directives/question-player/services/question-player-state.service.ts +++ b/core/templates/dev/head/components/question-directives/question-player/services/question-player-state.service.ts @@ -17,8 +17,6 @@ * in the test session. */ -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionPlayerStateService', [ function() { var questionPlayerState = {}; diff --git a/core/templates/dev/head/components/question-directives/questions-list/questions-list.directive.ts b/core/templates/dev/head/components/question-directives/questions-list/questions-list.directive.ts index 7769e7c8ad1a..8be3c5ed8ea1 100644 --- a/core/templates/dev/head/components/question-directives/questions-list/questions-list.directive.ts +++ b/core/templates/dev/head/components/question-directives/questions-list/questions-list.directive.ts @@ -37,8 +37,6 @@ require( require('services/AlertsService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('questionsList', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/ratings/rating-computation/rating-computation.service.ts b/core/templates/dev/head/components/ratings/rating-computation/rating-computation.service.ts index 596b3ce29db1..8a6099bceb20 100644 --- a/core/templates/dev/head/components/ratings/rating-computation/rating-computation.service.ts +++ b/core/templates/dev/head/components/ratings/rating-computation/rating-computation.service.ts @@ -16,8 +16,6 @@ * @fileoverview Service for computing the average rating. */ -var oppia = require('AppInit.ts').module; - oppia.factory('RatingComputationService', [function() { var areRatingsShown = function(ratingFrequencies) { var MINIMUM_ACCEPTABLE_NUMBER_OF_RATINGS = 1; diff --git a/core/templates/dev/head/components/ratings/rating-display/rating-display.directive.ts b/core/templates/dev/head/components/ratings/rating-display/rating-display.directive.ts index c402274b9cd1..1baa8f7d932f 100644 --- a/core/templates/dev/head/components/ratings/rating-display/rating-display.directive.ts +++ b/core/templates/dev/head/components/ratings/rating-display/rating-display.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('ratingDisplay', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/score-ring/score-ring.directive.ts b/core/templates/dev/head/components/score-ring/score-ring.directive.ts index f01b67c1e252..2497b2407637 100644 --- a/core/templates/dev/head/components/score-ring/score-ring.directive.ts +++ b/core/templates/dev/head/components/score-ring/score-ring.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for the animated score ring. */ -var oppia = require('AppInit.ts').module; - oppia.directive('scoreRing', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/answer-group-editor/answer-group-editor.directive.ts b/core/templates/dev/head/components/state-directives/answer-group-editor/answer-group-editor.directive.ts index 6ee82f68b875..0ea08263d54a 100644 --- a/core/templates/dev/head/components/state-directives/answer-group-editor/answer-group-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/answer-group-editor/answer-group-editor.directive.ts @@ -36,8 +36,6 @@ require( 'state-property.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('answerGroupEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/answer-group-editor/summary-list-header.directive.ts b/core/templates/dev/head/components/state-directives/answer-group-editor/summary-list-header.directive.ts index 71598b94c3c9..d4789fb4e577 100644 --- a/core/templates/dev/head/components/state-directives/answer-group-editor/summary-list-header.directive.ts +++ b/core/templates/dev/head/components/state-directives/answer-group-editor/summary-list-header.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('summaryListHeader', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/hint-editor/hint-editor.directive.ts b/core/templates/dev/head/components/state-directives/hint-editor/hint-editor.directive.ts index 0e116db44559..c890f49e1be9 100644 --- a/core/templates/dev/head/components/state-directives/hint-editor/hint-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/hint-editor/hint-editor.directive.ts @@ -26,8 +26,6 @@ require( 'state-property.service.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('hintEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/outcome-editor/outcome-destination-editor.directive.ts b/core/templates/dev/head/components/state-directives/outcome-editor/outcome-destination-editor.directive.ts index 62b981d77fb6..d6af3f2dc76a 100644 --- a/core/templates/dev/head/components/state-directives/outcome-editor/outcome-destination-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/outcome-editor/outcome-destination-editor.directive.ts @@ -27,8 +27,6 @@ require('services/EditabilityService.ts'); require('services/UserService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('outcomeDestinationEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/outcome-editor/outcome-editor.directive.ts b/core/templates/dev/head/components/state-directives/outcome-editor/outcome-editor.directive.ts index 09016fd3ce30..512905961a79 100644 --- a/core/templates/dev/head/components/state-directives/outcome-editor/outcome-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/outcome-editor/outcome-editor.directive.ts @@ -24,8 +24,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('outcomeEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/outcome-editor/outcome-feedback-editor.directive.ts b/core/templates/dev/head/components/state-directives/outcome-editor/outcome-feedback-editor.directive.ts index e2557c740d23..9c471b5e005b 100644 --- a/core/templates/dev/head/components/state-directives/outcome-editor/outcome-feedback-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/outcome-editor/outcome-feedback-editor.directive.ts @@ -19,8 +19,6 @@ require('domain/exploration/SubtitledHtmlObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('outcomeFeedbackEditor', [ 'SubtitledHtmlObjectFactory', 'UrlInterpolationService', function(SubtitledHtmlObjectFactory, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/state-directives/response-header/response-header.directive.ts b/core/templates/dev/head/components/state-directives/response-header/response-header.directive.ts index 579c2726eb20..06835d7cd1ee 100644 --- a/core/templates/dev/head/components/state-directives/response-header/response-header.directive.ts +++ b/core/templates/dev/head/components/state-directives/response-header/response-header.directive.ts @@ -25,8 +25,6 @@ require( 'state-property.service.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('responseHeader', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/rule-editor/rule-editor.directive.ts b/core/templates/dev/head/components/state-directives/rule-editor/rule-editor.directive.ts index d2ba349b0ef8..963ba0afabd4 100644 --- a/core/templates/dev/head/components/state-directives/rule-editor/rule-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/rule-editor/rule-editor.directive.ts @@ -33,8 +33,6 @@ require('services/ValidatorsService.ts'); // to a rule. It also includes 'Cancel' and 'Save Answer' buttons which call // respective 'onCancelRuleEdit' and 'onSaveRule' callbacks when called. These // buttons only show up if 'isEditingRuleInline' is true. -var oppia = require('AppInit.ts').module; - oppia.directive('ruleEditor', [ '$log', 'UrlInterpolationService', function($log, UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-directives/rule-editor/rule-type-selector.directive.ts b/core/templates/dev/head/components/state-directives/rule-editor/rule-type-selector.directive.ts index 609b9d5d1ecd..ea4af88e7446 100644 --- a/core/templates/dev/head/components/state-directives/rule-editor/rule-type-selector.directive.ts +++ b/core/templates/dev/head/components/state-directives/rule-editor/rule-type-selector.directive.ts @@ -23,8 +23,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('ruleTypeSelector', [function() { return { restrict: 'E', diff --git a/core/templates/dev/head/components/state-directives/solution-editor/solution-editor.directive.ts b/core/templates/dev/head/components/state-directives/solution-editor/solution-editor.directive.ts index 404f9ffaff93..d7ee485ff52d 100644 --- a/core/templates/dev/head/components/state-directives/solution-editor/solution-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/solution-editor/solution-editor.directive.ts @@ -36,8 +36,6 @@ require('services/AlertsService.ts'); require('services/ContextService.ts'); require('services/ExplorationHtmlFormatterService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('solutionEditor', [ '$uibModal', 'AlertsService', 'ContextService', 'ExplorationHtmlFormatterService', 'SolutionObjectFactory', diff --git a/core/templates/dev/head/components/state-directives/solution-editor/solution-explanation-editor.directive.ts b/core/templates/dev/head/components/state-directives/solution-editor/solution-explanation-editor.directive.ts index 9cf8be42ba87..d1ca16293466 100644 --- a/core/templates/dev/head/components/state-directives/solution-editor/solution-explanation-editor.directive.ts +++ b/core/templates/dev/head/components/state-directives/solution-editor/solution-explanation-editor.directive.ts @@ -22,8 +22,6 @@ require( 'state-property.service.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('solutionExplanationEditor', [ 'StateSolutionService', 'UrlInterpolationService', function(StateSolutionService, UrlInterpolationService) { diff --git a/core/templates/dev/head/components/state-editor/state-content-editor/state-content-editor.directive.ts b/core/templates/dev/head/components/state-editor/state-content-editor/state-content-editor.directive.ts index 0149ba0de22d..f69182fbde56 100644 --- a/core/templates/dev/head/components/state-editor/state-content-editor/state-content-editor.directive.ts +++ b/core/templates/dev/head/components/state-editor/state-content-editor/state-content-editor.directive.ts @@ -28,8 +28,6 @@ require( 'state-property.service.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateContentEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-content.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-content.service.ts index 204092414db9..896511a14c9d 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-content.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-content.service.ts @@ -17,8 +17,6 @@ */ // TODO(sll): Add validation. -var oppia = require('AppInit.ts').module; - oppia.factory('StateContentService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-customization-args.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-customization-args.service.ts index 750fa1399823..655ad6107e00 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-customization-args.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-customization-args.service.ts @@ -19,8 +19,6 @@ */ // TODO(sll): Add validation. -var oppia = require('AppInit.ts').module; - oppia.factory('StateCustomizationArgsService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-editor.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-editor.service.ts index 38e94641d841..fa57d4664e9b 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-editor.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-editor.service.ts @@ -21,8 +21,6 @@ require( 'pages/exploration-editor-page/editor-tab/services/' + 'solution-validity.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateEditorService', [ '$log', 'SolutionValidityService', function( diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-hints.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-hints.service.ts index 442d2dd36411..28ee3d3d6676 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-hints.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-hints.service.ts @@ -16,8 +16,6 @@ * @fileoverview A data service that stores the current interaction hints. */ -var oppia = require('AppInit.ts').module; - oppia.factory('StateHintsService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-interaction-id.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-interaction-id.service.ts index bc05a2b0585c..90caa071f30a 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-interaction-id.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-interaction-id.service.ts @@ -17,8 +17,6 @@ */ // TODO(sll): Add validation. -var oppia = require('AppInit.ts').module; - oppia.factory('StateInteractionIdService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-param-changes.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-param-changes.service.ts index 2cf446e7043f..d25f284aa52a 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-param-changes.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-param-changes.service.ts @@ -18,8 +18,6 @@ */ // TODO(sll): Add validation. -var oppia = require('AppInit.ts').module; - oppia.factory('StateParamChangesService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-property.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-property.service.ts index edba44594ea9..cd38b6841ecb 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-property.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-property.service.ts @@ -18,8 +18,6 @@ require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StatePropertyService', [ '$log', 'AlertsService', function($log, AlertsService) { diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-recorded-voiceovers.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-recorded-voiceovers.service.ts index 9cbe67e2314f..a8a220a743c0 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-recorded-voiceovers.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-recorded-voiceovers.service.ts @@ -21,8 +21,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateRecordedVoiceoversService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solicit-answer-details.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solicit-answer-details.service.ts index 2a7af98a24f5..a11d0098bf2c 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solicit-answer-details.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solicit-answer-details.service.ts @@ -20,8 +20,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateSolicitAnswerDetailsService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solution.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solution.service.ts index 976e7ebf0549..da5676acc666 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solution.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-solution.service.ts @@ -16,8 +16,6 @@ * @fileoverview A data service that stores the current interaction solution. */ -var oppia = require('AppInit.ts').module; - oppia.factory('StateSolutionService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-written-translations.service.ts b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-written-translations.service.ts index 46ce1a1b2324..7951b7ab52f5 100644 --- a/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-written-translations.service.ts +++ b/core/templates/dev/head/components/state-editor/state-editor-properties-services/state-written-translations.service.ts @@ -16,8 +16,6 @@ * @fileoverview A data service that stores the written translations. */ -var oppia = require('AppInit.ts').module; - oppia.factory('StateWrittenTranslationsService', [ 'StatePropertyService', function(StatePropertyService) { var child = Object.create(StatePropertyService); diff --git a/core/templates/dev/head/components/state-editor/state-editor.constants.ts b/core/templates/dev/head/components/state-editor/state-editor.constants.ts index 0a5feb08472f..ec0879218fc2 100644 --- a/core/templates/dev/head/components/state-editor/state-editor.constants.ts +++ b/core/templates/dev/head/components/state-editor/state-editor.constants.ts @@ -16,7 +16,5 @@ * @fileoverview Constants for the state editor directive. */ -var oppia = require('AppInit.ts').module; - oppia.constant('INFO_MESSAGE_SOLUTION_IS_INVALID_FOR_QUESTION', 'The current solution does not correspond to a correct answer.'); diff --git a/core/templates/dev/head/components/state-editor/state-editor.directive.ts b/core/templates/dev/head/components/state-editor/state-editor.directive.ts index 5ab024e3d6c1..b132cb6e734d 100644 --- a/core/templates/dev/head/components/state-editor/state-editor.directive.ts +++ b/core/templates/dev/head/components/state-editor/state-editor.directive.ts @@ -42,8 +42,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-solicit-answer-details.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-editor/state-hints-editor/state-hints-editor.directive.ts b/core/templates/dev/head/components/state-editor/state-hints-editor/state-hints-editor.directive.ts index c3d97a85cf22..134b00e0e4d6 100644 --- a/core/templates/dev/head/components/state-editor/state-hints-editor/state-hints-editor.directive.ts +++ b/core/templates/dev/head/components/state-editor/state-hints-editor/state-hints-editor.directive.ts @@ -39,8 +39,6 @@ require('services/AlertsService.ts'); require('services/EditabilityService.ts'); require('services/GenerateContentIdService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateHintsEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.spec.ts b/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.spec.ts index 9081e2e06c69..c923da7a4ba0 100644 --- a/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.spec.ts +++ b/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.spec.ts @@ -16,10 +16,6 @@ * @fileoverview Unit tests for the controller of 'State Interactions'. */ -require( - 'pages/exploration-editor-page/editor-tab/' + - 'exploration-editor-tab.directive.ts'); - require('pages/exploration-editor-page/services/change-list.service.ts'); require('pages/exploration-editor-page/services/exploration-states.service.ts'); require( @@ -62,8 +58,6 @@ describe('State Interaction controller', function() { var $httpBackend; var mockExplorationData; var outerScope, directiveScope; - var $componentController; - var stateEditorCtrl; beforeEach(angular.mock.module('directiveTemplates')); beforeEach(function() { @@ -78,9 +72,7 @@ describe('State Interaction controller', function() { }); beforeEach(angular.mock.inject(function( - _$componentController_, $compile, $controller, $injector, $rootScope, - $templateCache) { - $componentController = _$componentController_; + $compile, $controller, $injector, $rootScope, $templateCache) { scope = $rootScope.$new(); ecs = $injector.get('StateEditorService'); cls = $injector.get('ChangeListService'); @@ -196,7 +188,8 @@ describe('State Interaction controller', function() { } }); - stateEditorCtrl = $componentController('explorationEditorTab', { + var stateEditorCtrl = $controller('ExplorationEditorTab', { + $scope: scope, StateEditorService: ecs, ChangeListService: cls, ExplorationStatesService: ess, @@ -206,7 +199,7 @@ describe('State Interaction controller', function() { } }, INTERACTION_SPECS: IS - }, {}); + }); var templateHtml = $templateCache.get( '/pages/exploration_editor/editor_tab/' + @@ -235,7 +228,7 @@ describe('State Interaction controller', function() { it('should keep non-empty content when setting a terminal interaction', function() { ecs.setActiveStateName('First State'); - stateEditorCtrl.initStateEditor(); + scope.initStateEditor(); var state = ess.getState('First State'); scs.init('First State', state.content); @@ -257,7 +250,7 @@ describe('State Interaction controller', function() { it('should change to default text when adding a terminal interaction', function() { ecs.setActiveStateName('End State'); - stateEditorCtrl.initStateEditor(); + scope.initStateEditor(); var state = ess.getState('End State'); scs.init('End State', state.content); @@ -279,7 +272,7 @@ describe('State Interaction controller', function() { it('should not default text when adding a non-terminal interaction', function() { ecs.setActiveStateName('End State'); - stateEditorCtrl.initStateEditor(); + scope.initStateEditor(); var state = ess.getState('End State'); siis.init( diff --git a/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.ts b/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.ts index 20525b29a590..3add7ee417b9 100644 --- a/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.ts +++ b/core/templates/dev/head/components/state-editor/state-interaction-editor/state-interaction-editor.directive.ts @@ -49,8 +49,6 @@ require('services/EditabilityService.ts'); require('services/ExplorationHtmlFormatterService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateInteractionEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-editor/state-responses-editor/state-responses.directive.ts b/core/templates/dev/head/components/state-editor/state-responses-editor/state-responses.directive.ts index ab3d2dfc044a..bbe50e2ddc17 100644 --- a/core/templates/dev/head/components/state-editor/state-responses-editor/state-responses.directive.ts +++ b/core/templates/dev/head/components/state-editor/state-responses-editor/state-responses.directive.ts @@ -67,8 +67,6 @@ require('services/ExplorationHtmlFormatterService.ts'); require('services/GenerateContentIdService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateResponses', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/state-editor/state-solution-editor/state-solution-editor.directive.ts b/core/templates/dev/head/components/state-editor/state-solution-editor/state-solution-editor.directive.ts index dc4c5223e764..2ae91912f089 100644 --- a/core/templates/dev/head/components/state-editor/state-solution-editor/state-solution-editor.directive.ts +++ b/core/templates/dev/head/components/state-editor/state-solution-editor/state-solution-editor.directive.ts @@ -58,8 +58,6 @@ require('services/GenerateContentIdService.ts'); require('components/state-editor/state-editor.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateSolutionEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/summary-tile/collection-summary-tile.constants.ts b/core/templates/dev/head/components/summary-tile/collection-summary-tile.constants.ts index 9136fcb2152a..354558494c7a 100644 --- a/core/templates/dev/head/components/summary-tile/collection-summary-tile.constants.ts +++ b/core/templates/dev/head/components/summary-tile/collection-summary-tile.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for summary tile for collections. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'COLLECTION_VIEWER_URL', '/collection/'); oppia.constant( diff --git a/core/templates/dev/head/components/summary-tile/collection-summary-tile.directive.ts b/core/templates/dev/head/components/summary-tile/collection-summary-tile.directive.ts index dcb74c535164..dd63bf00ccf4 100644 --- a/core/templates/dev/head/components/summary-tile/collection-summary-tile.directive.ts +++ b/core/templates/dev/head/components/summary-tile/collection-summary-tile.directive.ts @@ -25,8 +25,6 @@ require('services/UserService.ts'); require('components/summary-tile/collection-summary-tile.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionSummaryTile', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/summary-tile/exploration-summary-tile.directive.ts b/core/templates/dev/head/components/summary-tile/exploration-summary-tile.directive.ts index 166ec56a0a7c..405b9b130a07 100644 --- a/core/templates/dev/head/components/summary-tile/exploration-summary-tile.directive.ts +++ b/core/templates/dev/head/components/summary-tile/exploration-summary-tile.directive.ts @@ -29,8 +29,6 @@ require('services/UserService.ts'); require('services/contextual/UrlService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationSummaryTile', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/summary-tile/story-summary-tile.directive.ts b/core/templates/dev/head/components/summary-tile/story-summary-tile.directive.ts index 0e8967b36b7d..975b1b87a888 100644 --- a/core/templates/dev/head/components/summary-tile/story-summary-tile.directive.ts +++ b/core/templates/dev/head/components/summary-tile/story-summary-tile.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storySummaryTile', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/components/version-diff-visualization/codemirror-mergeview.directive.ts b/core/templates/dev/head/components/version-diff-visualization/codemirror-mergeview.directive.ts index a5a88d57b763..fb890bd939c9 100644 --- a/core/templates/dev/head/components/version-diff-visualization/codemirror-mergeview.directive.ts +++ b/core/templates/dev/head/components/version-diff-visualization/codemirror-mergeview.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for the codemirror mergeview component. */ -var oppia = require('AppInit.ts').module; - oppia.directive('codemirrorMergeview', [ function() { return { diff --git a/core/templates/dev/head/components/version-diff-visualization/version-diff-visualization.directive.ts b/core/templates/dev/head/components/version-diff-visualization/version-diff-visualization.directive.ts index 535fb101daa7..dacd0d887c97 100644 --- a/core/templates/dev/head/components/version-diff-visualization/version-diff-visualization.directive.ts +++ b/core/templates/dev/head/components/version-diff-visualization/version-diff-visualization.directive.ts @@ -23,8 +23,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('versionDiffVisualization', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/directives/AngularHtmlBindDirective.ts b/core/templates/dev/head/directives/AngularHtmlBindDirective.ts index 3bf3095a82ae..0be0132a4418 100644 --- a/core/templates/dev/head/directives/AngularHtmlBindDirective.ts +++ b/core/templates/dev/head/directives/AngularHtmlBindDirective.ts @@ -20,8 +20,6 @@ // HTML bind directive that trusts the value it is given and also evaluates // custom directive tags in the provided value. -var oppia = require('AppInit.ts').module; - oppia.directive('angularHtmlBind', ['$compile', function($compile) { return { restrict: 'E', diff --git a/core/templates/dev/head/directives/FocusOnDirective.ts b/core/templates/dev/head/directives/FocusOnDirective.ts index a69f58588465..bb709e2edc50 100644 --- a/core/templates/dev/head/directives/FocusOnDirective.ts +++ b/core/templates/dev/head/directives/FocusOnDirective.ts @@ -18,8 +18,6 @@ * NB: Reusable component directives should go in the components/ folder. */ -var oppia = require('AppInit.ts').module; - // When set as an attr of an element, moves focus to that element // when a 'focusOn' event is broadcast. oppia.directive('focusOn', [ diff --git a/core/templates/dev/head/directives/MathjaxBindDirective.ts b/core/templates/dev/head/directives/MathjaxBindDirective.ts index 0c972bdc2a33..8ef77e34bae6 100644 --- a/core/templates/dev/head/directives/MathjaxBindDirective.ts +++ b/core/templates/dev/head/directives/MathjaxBindDirective.ts @@ -18,8 +18,6 @@ * NB: Reusable component directives should go in the components/ folder. */ -var oppia = require('AppInit.ts').module; - oppia.directive('mathjaxBind', [function() { return { restrict: 'E', diff --git a/core/templates/dev/head/domain/classifier/AnswerClassificationResultObjectFactory.ts b/core/templates/dev/head/domain/classifier/AnswerClassificationResultObjectFactory.ts index e6af6985e072..53e4dfd5acc8 100644 --- a/core/templates/dev/head/domain/classifier/AnswerClassificationResultObjectFactory.ts +++ b/core/templates/dev/head/domain/classifier/AnswerClassificationResultObjectFactory.ts @@ -17,8 +17,6 @@ * Classification Result domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AnswerClassificationResultObjectFactory', [function() { var AnswerClassificationResult = function( outcome, answerGroupIndex, ruleIndex, classificationCategorization) { diff --git a/core/templates/dev/head/domain/classifier/ClassifierObjectFactory.ts b/core/templates/dev/head/domain/classifier/ClassifierObjectFactory.ts index dbb5412a2c46..9ce1a43421dd 100644 --- a/core/templates/dev/head/domain/classifier/ClassifierObjectFactory.ts +++ b/core/templates/dev/head/domain/classifier/ClassifierObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ClassifierObjectFactory', [function() { var Classifier = function(algorithmId, classifierData, dataSchemaVersion) { this.algorithmId = algorithmId; diff --git a/core/templates/dev/head/domain/classifier/PredictionResultObjectFactory.ts b/core/templates/dev/head/domain/classifier/PredictionResultObjectFactory.ts index ed6ede417196..a0d7dbe7fd32 100644 --- a/core/templates/dev/head/domain/classifier/PredictionResultObjectFactory.ts +++ b/core/templates/dev/head/domain/classifier/PredictionResultObjectFactory.ts @@ -17,8 +17,6 @@ * result domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('PredictionResultObjectFactory', [function() { /** * Stores the prediction result for an answer as returned by the diff --git a/core/templates/dev/head/domain/collection/CollectionNodeObjectFactory.ts b/core/templates/dev/head/domain/collection/CollectionNodeObjectFactory.ts index 5c68c6153556..c1d54d227b2e 100644 --- a/core/templates/dev/head/domain/collection/CollectionNodeObjectFactory.ts +++ b/core/templates/dev/head/domain/collection/CollectionNodeObjectFactory.ts @@ -17,8 +17,6 @@ * collection node domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionNodeObjectFactory', [ 'ACTIVITY_STATUS_PRIVATE', function(ACTIVITY_STATUS_PRIVATE) { diff --git a/core/templates/dev/head/domain/collection/CollectionObjectFactory.ts b/core/templates/dev/head/domain/collection/CollectionObjectFactory.ts index af559fa1818f..c0dbf10f7e71 100644 --- a/core/templates/dev/head/domain/collection/CollectionObjectFactory.ts +++ b/core/templates/dev/head/domain/collection/CollectionObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/collection/CollectionNodeObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionObjectFactory', [ 'CollectionNodeObjectFactory', function(CollectionNodeObjectFactory) { diff --git a/core/templates/dev/head/domain/collection/CollectionPlaythroughObjectFactory.ts b/core/templates/dev/head/domain/collection/CollectionPlaythroughObjectFactory.ts index 7548fa6a64fe..6c13c7ad889a 100644 --- a/core/templates/dev/head/domain/collection/CollectionPlaythroughObjectFactory.ts +++ b/core/templates/dev/head/domain/collection/CollectionPlaythroughObjectFactory.ts @@ -17,8 +17,6 @@ * collection playthrough domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionPlaythroughObjectFactory', [function() { // TODO(bhenning): Add setters for some of these properties. Setters allow // the collection editor to setup specifically configured playthrough diff --git a/core/templates/dev/head/domain/collection/CollectionRightsBackendApiService.ts b/core/templates/dev/head/domain/collection/CollectionRightsBackendApiService.ts index 4803f0adc165..47c7d3115536 100644 --- a/core/templates/dev/head/domain/collection/CollectionRightsBackendApiService.ts +++ b/core/templates/dev/head/domain/collection/CollectionRightsBackendApiService.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionRightsBackendApiService', [ '$http', '$log', '$q', 'UrlInterpolationService', 'COLLECTION_RIGHTS_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/collection/CollectionRightsObjectFactory.ts b/core/templates/dev/head/domain/collection/CollectionRightsObjectFactory.ts index 923980b33ab5..2a7c3f9dc804 100644 --- a/core/templates/dev/head/domain/collection/CollectionRightsObjectFactory.ts +++ b/core/templates/dev/head/domain/collection/CollectionRightsObjectFactory.ts @@ -17,8 +17,6 @@ * collection rights domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionRightsObjectFactory', [ function() { var CollectionRights = function(collectionRightsObject) { diff --git a/core/templates/dev/head/domain/collection/CollectionUpdateService.ts b/core/templates/dev/head/domain/collection/CollectionUpdateService.ts index 168ac0b48096..69115d14ab92 100644 --- a/core/templates/dev/head/domain/collection/CollectionUpdateService.ts +++ b/core/templates/dev/head/domain/collection/CollectionUpdateService.ts @@ -25,8 +25,6 @@ require('domain/editor/undo_redo/UndoRedoService.ts'); require('domain/collection/collection-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionUpdateService', [ 'ChangeObjectFactory', 'CollectionNodeObjectFactory', 'UndoRedoService', diff --git a/core/templates/dev/head/domain/collection/CollectionValidationService.ts b/core/templates/dev/head/domain/collection/CollectionValidationService.ts index acea279734bf..083f0c9047ff 100644 --- a/core/templates/dev/head/domain/collection/CollectionValidationService.ts +++ b/core/templates/dev/head/domain/collection/CollectionValidationService.ts @@ -22,8 +22,6 @@ require( 'pages/collection-editor-page/services/collection-linearizer.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionValidationService', [ 'CollectionLinearizerService', function(CollectionLinearizerService) { diff --git a/core/templates/dev/head/domain/collection/EditableCollectionBackendApiService.ts b/core/templates/dev/head/domain/collection/EditableCollectionBackendApiService.ts index e34fedb68ce7..8418fab8a9db 100644 --- a/core/templates/dev/head/domain/collection/EditableCollectionBackendApiService.ts +++ b/core/templates/dev/head/domain/collection/EditableCollectionBackendApiService.ts @@ -31,8 +31,6 @@ require('domain/utilities/UrlInterpolationService.ts'); // Discuss and decide whether this is a good approach and then remove this TODO // after deciding and acting upon the decision (which would mean implementing // it if it's agreed upon). -var oppia = require('AppInit.ts').module; - oppia.factory('EditableCollectionBackendApiService', [ '$http', '$q', 'ReadOnlyCollectionBackendApiService', 'UrlInterpolationService', 'COLLECTION_DATA_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/collection/GuestCollectionProgressObjectFactory.ts b/core/templates/dev/head/domain/collection/GuestCollectionProgressObjectFactory.ts index bcb7a5ef38dd..3a300e03215c 100644 --- a/core/templates/dev/head/domain/collection/GuestCollectionProgressObjectFactory.ts +++ b/core/templates/dev/head/domain/collection/GuestCollectionProgressObjectFactory.ts @@ -17,8 +17,6 @@ * represents the progress of a guest playing through a collection. */ -var oppia = require('AppInit.ts').module; - oppia.factory('GuestCollectionProgressObjectFactory', [ function() { var GuestCollectionProgress = function(completedExplorationsMap) { diff --git a/core/templates/dev/head/domain/collection/GuestCollectionProgressService.ts b/core/templates/dev/head/domain/collection/GuestCollectionProgressService.ts index cc560be8433b..69b47a424be5 100644 --- a/core/templates/dev/head/domain/collection/GuestCollectionProgressService.ts +++ b/core/templates/dev/head/domain/collection/GuestCollectionProgressService.ts @@ -27,8 +27,6 @@ require('domain/collection/GuestCollectionProgressObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('GuestCollectionProgressService', [ '$window', 'GuestCollectionProgressObjectFactory', function($window, GuestCollectionProgressObjectFactory) { diff --git a/core/templates/dev/head/domain/collection/ReadOnlyCollectionBackendApiService.ts b/core/templates/dev/head/domain/collection/ReadOnlyCollectionBackendApiService.ts index 0f21fca48b15..66bae2d24e7b 100644 --- a/core/templates/dev/head/domain/collection/ReadOnlyCollectionBackendApiService.ts +++ b/core/templates/dev/head/domain/collection/ReadOnlyCollectionBackendApiService.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); // separate CollectionDataService implementation which returns a local copy of // the collection instead. This file should not be included on the page in that // scenario. -var oppia = require('AppInit.ts').module; - oppia.factory('ReadOnlyCollectionBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'COLLECTION_DATA_URL_TEMPLATE', function($http, $q, UrlInterpolationService, COLLECTION_DATA_URL_TEMPLATE) { diff --git a/core/templates/dev/head/domain/collection/SearchExplorationsBackendApiService.ts b/core/templates/dev/head/domain/collection/SearchExplorationsBackendApiService.ts index 6b0c5ee070dc..010c5a4ec55a 100644 --- a/core/templates/dev/head/domain/collection/SearchExplorationsBackendApiService.ts +++ b/core/templates/dev/head/domain/collection/SearchExplorationsBackendApiService.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SearchExplorationsBackendApiService', [ '$http', '$q', 'AlertsService', 'UrlInterpolationService', 'SEARCH_EXPLORATION_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/collection/collection-domain.constants.ts b/core/templates/dev/head/domain/collection/collection-domain.constants.ts index c5134133b0d8..de1e35a8232b 100644 --- a/core/templates/dev/head/domain/collection/collection-domain.constants.ts +++ b/core/templates/dev/head/domain/collection/collection-domain.constants.ts @@ -21,8 +21,6 @@ // backend. // NOTE TO DEVELOPERS: the properties 'prerequisite_skills' and // 'acquired_skills' are deprecated. Do not use them. -var oppia = require('AppInit.ts').module; - oppia.constant('CMD_ADD_COLLECTION_NODE', 'add_collection_node'); oppia.constant('CMD_SWAP_COLLECTION_NODES', 'swap_nodes'); oppia.constant('CMD_DELETE_COLLECTION_NODE', 'delete_collection_node'); diff --git a/core/templates/dev/head/domain/creator_dashboard/CreatorDashboardBackendApiService.ts b/core/templates/dev/head/domain/creator_dashboard/CreatorDashboardBackendApiService.ts index 3c985e9216c7..b9d254ab7fb9 100644 --- a/core/templates/dev/head/domain/creator_dashboard/CreatorDashboardBackendApiService.ts +++ b/core/templates/dev/head/domain/creator_dashboard/CreatorDashboardBackendApiService.ts @@ -17,8 +17,6 @@ * backend. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CreatorDashboardBackendApiService', ['$http', function($http) { var _fetchDashboardData = function() { return $http.get('/creatordashboardhandler/data'); diff --git a/core/templates/dev/head/domain/editor/editor-domain.constants.ts b/core/templates/dev/head/domain/editor/editor-domain.constants.ts index 6266ae1a25c5..b23467ac3e25 100644 --- a/core/templates/dev/head/domain/editor/editor-domain.constants.ts +++ b/core/templates/dev/head/domain/editor/editor-domain.constants.ts @@ -16,7 +16,5 @@ * @fileoverview Constants for editor domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'EVENT_UNDO_REDO_SERVICE_CHANGE_APPLIED', 'undoRedoServiceChangeApplied'); diff --git a/core/templates/dev/head/domain/editor/undo_redo/BaseUndoRedoService.ts b/core/templates/dev/head/domain/editor/undo_redo/BaseUndoRedoService.ts index 93b0793f71a0..60554b3c0bfc 100644 --- a/core/templates/dev/head/domain/editor/undo_redo/BaseUndoRedoService.ts +++ b/core/templates/dev/head/domain/editor/undo_redo/BaseUndoRedoService.ts @@ -24,8 +24,6 @@ require('domain/editor/editor-domain.constants.ts'); * instance of this service exists at a time, so multiple undo/redo stacks are * not currently supported. */ -var oppia = require('AppInit.ts').module; - oppia.factory('BaseUndoRedoService', [ '$rootScope', 'EVENT_UNDO_REDO_SERVICE_CHANGE_APPLIED', function($rootScope, EVENT_UNDO_REDO_SERVICE_CHANGE_APPLIED) { diff --git a/core/templates/dev/head/domain/editor/undo_redo/ChangeObjectFactory.ts b/core/templates/dev/head/domain/editor/undo_redo/ChangeObjectFactory.ts index da9c4338466d..45192c6ab64c 100644 --- a/core/templates/dev/head/domain/editor/undo_redo/ChangeObjectFactory.ts +++ b/core/templates/dev/head/domain/editor/undo_redo/ChangeObjectFactory.ts @@ -21,8 +21,6 @@ // TODO(bhenning): Consolidate the backend ExplorationChange and // CollectionChange domain objects. -var oppia = require('AppInit.ts').module; - oppia.factory('ChangeObjectFactory', [function() { var Change = function( backendChangeObject, applyChangeToObject, reverseChangeToObject) { diff --git a/core/templates/dev/head/domain/editor/undo_redo/QuestionUndoRedoService.ts b/core/templates/dev/head/domain/editor/undo_redo/QuestionUndoRedoService.ts index f01346def436..835b4dc69db4 100644 --- a/core/templates/dev/head/domain/editor/undo_redo/QuestionUndoRedoService.ts +++ b/core/templates/dev/head/domain/editor/undo_redo/QuestionUndoRedoService.ts @@ -17,8 +17,6 @@ * domain object. */ -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionUndoRedoService', [ 'BaseUndoRedoService', function(BaseUndoRedoService) { var child = Object.create(BaseUndoRedoService); diff --git a/core/templates/dev/head/domain/editor/undo_redo/UndoRedoService.ts b/core/templates/dev/head/domain/editor/undo_redo/UndoRedoService.ts index 8b99dbb9f84f..a4aaf80183ca 100644 --- a/core/templates/dev/head/domain/editor/undo_redo/UndoRedoService.ts +++ b/core/templates/dev/head/domain/editor/undo_redo/UndoRedoService.ts @@ -18,8 +18,6 @@ require('domain/editor/undo_redo/BaseUndoRedoService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('UndoRedoService', [ 'BaseUndoRedoService', function(BaseUndoRedoService) { var child = Object.create(BaseUndoRedoService); diff --git a/core/templates/dev/head/domain/exploration/AnswerGroupObjectFactory.ts b/core/templates/dev/head/domain/exploration/AnswerGroupObjectFactory.ts index 4cacf2e6346d..28b27986f5ec 100644 --- a/core/templates/dev/head/domain/exploration/AnswerGroupObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/AnswerGroupObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/exploration/OutcomeObjectFactory.ts'); require('domain/exploration/RuleObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AnswerGroupObjectFactory', [ 'OutcomeObjectFactory', 'RuleObjectFactory', function(OutcomeObjectFactory, RuleObjectFactory) { diff --git a/core/templates/dev/head/domain/exploration/AnswerStatsObjectFactory.ts b/core/templates/dev/head/domain/exploration/AnswerStatsObjectFactory.ts index 1ade18df13af..6376d0f43d44 100644 --- a/core/templates/dev/head/domain/exploration/AnswerStatsObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/AnswerStatsObjectFactory.ts @@ -17,8 +17,6 @@ * particular answer from some particular state. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AnswerStatsObjectFactory', [function() { /** * @constructor diff --git a/core/templates/dev/head/domain/exploration/AudioTranslationObjectFactory.ts b/core/templates/dev/head/domain/exploration/AudioTranslationObjectFactory.ts index a019e0d06d3b..0a50506c6365 100644 --- a/core/templates/dev/head/domain/exploration/AudioTranslationObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/AudioTranslationObjectFactory.ts @@ -17,8 +17,6 @@ * AudioTranslation domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AudioTranslationObjectFactory', [function() { var AudioTranslation = function(filename, fileSizeBytes, needsUpdate) { this.filename = filename; diff --git a/core/templates/dev/head/domain/exploration/ContentIdsToAudioTranslationsObjectFactory.ts b/core/templates/dev/head/domain/exploration/ContentIdsToAudioTranslationsObjectFactory.ts index 66bea1f6d0c5..e039a0f71802 100644 --- a/core/templates/dev/head/domain/exploration/ContentIdsToAudioTranslationsObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ContentIdsToAudioTranslationsObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/exploration/AudioTranslationObjectFactory.ts'); require('domain/utilities/LanguageUtilService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ContentIdsToAudioTranslationsObjectFactory', [ 'AudioTranslationObjectFactory', 'LanguageUtilService', 'COMPONENT_NAME_FEEDBACK', function(AudioTranslationObjectFactory, diff --git a/core/templates/dev/head/domain/exploration/EditableExplorationBackendApiService.ts b/core/templates/dev/head/domain/exploration/EditableExplorationBackendApiService.ts index 0cc9cf20d95d..c91ac23efc50 100644 --- a/core/templates/dev/head/domain/exploration/EditableExplorationBackendApiService.ts +++ b/core/templates/dev/head/domain/exploration/EditableExplorationBackendApiService.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EditableExplorationBackendApiService', [ '$http', '$q', 'ReadOnlyExplorationBackendApiService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/domain/exploration/ExplorationDraftObjectFactory.ts b/core/templates/dev/head/domain/exploration/ExplorationDraftObjectFactory.ts index 1bc86929d28e..876be526d079 100644 --- a/core/templates/dev/head/domain/exploration/ExplorationDraftObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ExplorationDraftObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationDraftObjectFactory', [ function() { var ExplorationDraft = function(draftChanges, draftChangeListId) { diff --git a/core/templates/dev/head/domain/exploration/ExplorationObjectFactory.ts b/core/templates/dev/head/domain/exploration/ExplorationObjectFactory.ts index 8624fb293b01..cd126287b3fc 100644 --- a/core/templates/dev/head/domain/exploration/ExplorationObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ExplorationObjectFactory.ts @@ -22,8 +22,6 @@ require('domain/exploration/ParamSpecsObjectFactory.ts'); require('domain/exploration/StatesObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationObjectFactory', [ '$log', 'ParamChangesObjectFactory', 'ParamSpecsObjectFactory', 'StatesObjectFactory', 'UrlInterpolationService', diff --git a/core/templates/dev/head/domain/exploration/HintObjectFactory.ts b/core/templates/dev/head/domain/exploration/HintObjectFactory.ts index bd21a353ad6c..e0fc4e2a2707 100644 --- a/core/templates/dev/head/domain/exploration/HintObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/HintObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/exploration/SubtitledHtmlObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('HintObjectFactory', [ 'SubtitledHtmlObjectFactory', function(SubtitledHtmlObjectFactory) { diff --git a/core/templates/dev/head/domain/exploration/InteractionObjectFactory.ts b/core/templates/dev/head/domain/exploration/InteractionObjectFactory.ts index 52656a2bc046..b6104f494d5f 100644 --- a/core/templates/dev/head/domain/exploration/InteractionObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/InteractionObjectFactory.ts @@ -22,8 +22,6 @@ require('domain/exploration/HintObjectFactory.ts'); require('domain/exploration/OutcomeObjectFactory.ts'); require('domain/exploration/SolutionObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('InteractionObjectFactory', [ 'AnswerGroupObjectFactory', 'HintObjectFactory', 'OutcomeObjectFactory', 'SolutionObjectFactory', diff --git a/core/templates/dev/head/domain/exploration/OutcomeObjectFactory.ts b/core/templates/dev/head/domain/exploration/OutcomeObjectFactory.ts index 7c1a23b75b15..17245e1c83c8 100644 --- a/core/templates/dev/head/domain/exploration/OutcomeObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/OutcomeObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/exploration/SubtitledHtmlObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('OutcomeObjectFactory', [ 'SubtitledHtmlObjectFactory', function(SubtitledHtmlObjectFactory) { diff --git a/core/templates/dev/head/domain/exploration/ParamChangeObjectFactory.ts b/core/templates/dev/head/domain/exploration/ParamChangeObjectFactory.ts index 55a1353371ce..fad79bba1075 100644 --- a/core/templates/dev/head/domain/exploration/ParamChangeObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ParamChangeObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ParamChangeObjectFactory', [function() { var ParamChange = function(customizationArgs, generatorId, name) { this.customizationArgs = customizationArgs; diff --git a/core/templates/dev/head/domain/exploration/ParamChangesObjectFactory.ts b/core/templates/dev/head/domain/exploration/ParamChangesObjectFactory.ts index 0e3084f14122..18913e6a165c 100644 --- a/core/templates/dev/head/domain/exploration/ParamChangesObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ParamChangesObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/exploration/ParamChangeObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ParamChangesObjectFactory', [ 'ParamChangeObjectFactory', function(ParamChangeObjectFactory) { diff --git a/core/templates/dev/head/domain/exploration/ParamMetadataObjectFactory.ts b/core/templates/dev/head/domain/exploration/ParamMetadataObjectFactory.ts index a4daa6aa94f5..5cc23cbc3ced 100644 --- a/core/templates/dev/head/domain/exploration/ParamMetadataObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ParamMetadataObjectFactory.ts @@ -19,8 +19,6 @@ require('pages/exploration-editor-page/services/parameter-metadata.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ParamMetadataObjectFactory', [ 'PARAM_ACTION_GET', 'PARAM_ACTION_SET', function(PARAM_ACTION_GET, PARAM_ACTION_SET) { diff --git a/core/templates/dev/head/domain/exploration/ParamSpecObjectFactory.ts b/core/templates/dev/head/domain/exploration/ParamSpecObjectFactory.ts index 28bfb3a33917..0015f68dbfaf 100644 --- a/core/templates/dev/head/domain/exploration/ParamSpecObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ParamSpecObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/exploration/ParamTypeObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ParamSpecObjectFactory', [ 'ParamTypeObjectFactory', function(ParamTypeObjectFactory) { diff --git a/core/templates/dev/head/domain/exploration/ParamSpecsObjectFactory.ts b/core/templates/dev/head/domain/exploration/ParamSpecsObjectFactory.ts index 2717308ff5c8..312ee8f98a6b 100644 --- a/core/templates/dev/head/domain/exploration/ParamSpecsObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ParamSpecsObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/exploration/ParamSpecObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ParamSpecsObjectFactory', [ 'ParamSpecObjectFactory', function(ParamSpecObjectFactory) { diff --git a/core/templates/dev/head/domain/exploration/ParamTypeObjectFactory.ts b/core/templates/dev/head/domain/exploration/ParamTypeObjectFactory.ts index 6cbf6bc3d487..554221f91ea1 100644 --- a/core/templates/dev/head/domain/exploration/ParamTypeObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/ParamTypeObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ParamTypeObjectFactory', [function() { /** * @private @constructor diff --git a/core/templates/dev/head/domain/exploration/ReadOnlyExplorationBackendApiService.ts b/core/templates/dev/head/domain/exploration/ReadOnlyExplorationBackendApiService.ts index a9f0b394dab0..8dee44b4b261 100644 --- a/core/templates/dev/head/domain/exploration/ReadOnlyExplorationBackendApiService.ts +++ b/core/templates/dev/head/domain/exploration/ReadOnlyExplorationBackendApiService.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ReadOnlyExplorationBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'EXPLORATION_DATA_URL_TEMPLATE', 'EXPLORATION_VERSION_DATA_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/exploration/RecordedVoiceoversObjectFactory.ts b/core/templates/dev/head/domain/exploration/RecordedVoiceoversObjectFactory.ts index 6e8a282151e8..6e7eccf2bd12 100644 --- a/core/templates/dev/head/domain/exploration/RecordedVoiceoversObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/RecordedVoiceoversObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/exploration/VoiceoverObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('RecordedVoiceoversObjectFactory', [ 'VoiceoverObjectFactory', 'COMPONENT_NAME_FEEDBACK', function( diff --git a/core/templates/dev/head/domain/exploration/RuleObjectFactory.ts b/core/templates/dev/head/domain/exploration/RuleObjectFactory.ts index 4971a8dc6cb9..90858876d75b 100644 --- a/core/templates/dev/head/domain/exploration/RuleObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/RuleObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('RuleObjectFactory', [function() { var Rule = function(type, inputs) { this.type = type; diff --git a/core/templates/dev/head/domain/exploration/SolutionObjectFactory.ts b/core/templates/dev/head/domain/exploration/SolutionObjectFactory.ts index 4c3e85cfaaf3..e7173e6de2d7 100644 --- a/core/templates/dev/head/domain/exploration/SolutionObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/SolutionObjectFactory.ts @@ -24,8 +24,6 @@ require('filters/string-utility-filters/convert-to-plain-text.filter.ts'); require('services/ExplorationHtmlFormatterService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SolutionObjectFactory', [ '$filter', 'ExplorationHtmlFormatterService', 'FractionObjectFactory', 'HtmlEscaperService', 'NumberWithUnitsObjectFactory', diff --git a/core/templates/dev/head/domain/exploration/StatesObjectFactory.ts b/core/templates/dev/head/domain/exploration/StatesObjectFactory.ts index 56a6bc0df1f4..2ed5a09f8bc4 100644 --- a/core/templates/dev/head/domain/exploration/StatesObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/StatesObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/state/StateObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StatesObjectFactory', [ 'StateObjectFactory', 'INTERACTION_SPECS', function(StateObjectFactory, INTERACTION_SPECS) { diff --git a/core/templates/dev/head/domain/exploration/SubtitledHtmlObjectFactory.ts b/core/templates/dev/head/domain/exploration/SubtitledHtmlObjectFactory.ts index 54d0b1b237f4..507620030414 100644 --- a/core/templates/dev/head/domain/exploration/SubtitledHtmlObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/SubtitledHtmlObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SubtitledHtmlObjectFactory', [function() { var SubtitledHtml = function(html, contentId) { this._html = html; diff --git a/core/templates/dev/head/domain/exploration/VoiceoverObjectFactory.ts b/core/templates/dev/head/domain/exploration/VoiceoverObjectFactory.ts index 956734aa0b17..ebc8876ba1bc 100644 --- a/core/templates/dev/head/domain/exploration/VoiceoverObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/VoiceoverObjectFactory.ts @@ -17,8 +17,6 @@ * Voiceover domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('VoiceoverObjectFactory', [function() { var Voiceover = function(filename, fileSizeBytes, needsUpdate) { this.filename = filename; diff --git a/core/templates/dev/head/domain/exploration/WrittenTranslationObjectFactory.ts b/core/templates/dev/head/domain/exploration/WrittenTranslationObjectFactory.ts index 41a1dc43fcf7..bb6258fe5342 100644 --- a/core/templates/dev/head/domain/exploration/WrittenTranslationObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/WrittenTranslationObjectFactory.ts @@ -17,8 +17,6 @@ * WrittenTranslation domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('WrittenTranslationObjectFactory', [function() { var WrittenTranslation = function(html, needsUpdate) { this.html = html; diff --git a/core/templates/dev/head/domain/exploration/WrittenTranslationsObjectFactory.ts b/core/templates/dev/head/domain/exploration/WrittenTranslationsObjectFactory.ts index 212f03fab568..edc81d5a8c33 100644 --- a/core/templates/dev/head/domain/exploration/WrittenTranslationsObjectFactory.ts +++ b/core/templates/dev/head/domain/exploration/WrittenTranslationsObjectFactory.ts @@ -21,8 +21,6 @@ require('domain/exploration/AudioTranslationObjectFactory.ts'); require('domain/exploration/WrittenTranslationObjectFactory.ts'); require('domain/utilities/LanguageUtilService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('WrittenTranslationsObjectFactory', [ 'WrittenTranslationObjectFactory', function(WrittenTranslationObjectFactory) { var WrittenTranslations = function(translationsMapping) { diff --git a/core/templates/dev/head/domain/feedback_message/FeedbackMessageSummaryObjectFactory.ts b/core/templates/dev/head/domain/feedback_message/FeedbackMessageSummaryObjectFactory.ts index 2d6f0babbfca..eb1268ca1ae9 100644 --- a/core/templates/dev/head/domain/feedback_message/FeedbackMessageSummaryObjectFactory.ts +++ b/core/templates/dev/head/domain/feedback_message/FeedbackMessageSummaryObjectFactory.ts @@ -17,8 +17,6 @@ message domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('FeedbackMessageSummaryObjectFactory', [function() { var FeedbackMessageSummary = function( messageId, text, updatedStatus, suggestionHtml, currentContentHtml, diff --git a/core/templates/dev/head/domain/feedback_thread/FeedbackThreadObjectFactory.ts b/core/templates/dev/head/domain/feedback_thread/FeedbackThreadObjectFactory.ts index ae7c347cd815..bed1ba04f029 100644 --- a/core/templates/dev/head/domain/feedback_thread/FeedbackThreadObjectFactory.ts +++ b/core/templates/dev/head/domain/feedback_thread/FeedbackThreadObjectFactory.ts @@ -17,8 +17,6 @@ thread domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('FeedbackThreadObjectFactory', [function() { var FeedbackThread = function( status, subject, summary, originalAuthorName, lastUpdated, messageCount, diff --git a/core/templates/dev/head/domain/feedback_thread/FeedbackThreadSummaryObjectFactory.ts b/core/templates/dev/head/domain/feedback_thread/FeedbackThreadSummaryObjectFactory.ts index 462f2a4453a7..bd2f46935526 100644 --- a/core/templates/dev/head/domain/feedback_thread/FeedbackThreadSummaryObjectFactory.ts +++ b/core/templates/dev/head/domain/feedback_thread/FeedbackThreadSummaryObjectFactory.ts @@ -17,8 +17,6 @@ domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('FeedbackThreadSummaryObjectFactory', [function() { var FeedbackThreadSummary = function( status, originalAuthorId, lastUpdated, lastMessageText, totalMessageCount, diff --git a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardActivityIdsObjectFactory.ts b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardActivityIdsObjectFactory.ts index cdee1d2f78e9..7465e6003c8a 100644 --- a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardActivityIdsObjectFactory.ts +++ b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardActivityIdsObjectFactory.ts @@ -17,8 +17,6 @@ dashboard activity ids domain object. */ -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerDashboardActivityIdsObjectFactory', [function() { var LearnerDashboardActivityIds = function( incompleteExplorationIds, incompleteCollectionIds, diff --git a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardBackendApiService.ts b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardBackendApiService.ts index 27f277dcfad7..f08d97dd5c5b 100644 --- a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardBackendApiService.ts +++ b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardBackendApiService.ts @@ -17,8 +17,6 @@ * backend. */ -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerDashboardBackendApiService', ['$http', function($http) { var _fetchLearnerDashboardData = function() { return $http.get('/learnerdashboardhandler/data'); diff --git a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIconsDirective.ts b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIconsDirective.ts index 015b1dba71c9..9beb3f01d5c1 100644 --- a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIconsDirective.ts +++ b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIconsDirective.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('learnerDashboardIcons', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIdsBackendApiService.ts b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIdsBackendApiService.ts index 1d779550b52f..336912f0318f 100644 --- a/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIdsBackendApiService.ts +++ b/core/templates/dev/head/domain/learner_dashboard/LearnerDashboardIdsBackendApiService.ts @@ -17,8 +17,6 @@ * activities present in the learner dashboard. */ -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerDashboardIdsBackendApiService', [ '$http', function($http) { var _fetchLearnerDashboardIds = function() { diff --git a/core/templates/dev/head/domain/learner_dashboard/LearnerPlaylistService.ts b/core/templates/dev/head/domain/learner_dashboard/LearnerPlaylistService.ts index b523be4ba298..792a847e2456 100644 --- a/core/templates/dev/head/domain/learner_dashboard/LearnerPlaylistService.ts +++ b/core/templates/dev/head/domain/learner_dashboard/LearnerPlaylistService.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerPlaylistService', [ '$http', '$uibModal', 'AlertsService', 'UrlInterpolationService', function($http, $uibModal, AlertsService, UrlInterpolationService) { diff --git a/core/templates/dev/head/domain/objects/FractionObjectFactory.ts b/core/templates/dev/head/domain/objects/FractionObjectFactory.ts index 8c0294dc825b..2fb190aea8ef 100644 --- a/core/templates/dev/head/domain/objects/FractionObjectFactory.ts +++ b/core/templates/dev/head/domain/objects/FractionObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/objects/objects-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('FractionObjectFactory', [ 'FRACTION_PARSING_ERRORS', function(FRACTION_PARSING_ERRORS) { var Fraction = function(isNegative, wholeNumber, numerator, denominator) { diff --git a/core/templates/dev/head/domain/objects/NumberWithUnitsObjectFactory.ts b/core/templates/dev/head/domain/objects/NumberWithUnitsObjectFactory.ts index a239063c4f7f..f0c5cf670c82 100644 --- a/core/templates/dev/head/domain/objects/NumberWithUnitsObjectFactory.ts +++ b/core/templates/dev/head/domain/objects/NumberWithUnitsObjectFactory.ts @@ -35,8 +35,6 @@ require('domain/objects/objects-domain.constants.ts'); base_unit: Define the unit in terms of base unit only if the defined custom unit is a sub unit else assign it 'null' value.*/ -var oppia = require('AppInit.ts').module; - oppia.factory('NumberWithUnitsObjectFactory', [ 'FractionObjectFactory', 'UnitsObjectFactory', 'CURRENCY_UNITS', 'NUMBER_WITH_UNITS_PARSING_ERRORS', function( diff --git a/core/templates/dev/head/domain/objects/UnitsObjectFactory.ts b/core/templates/dev/head/domain/objects/UnitsObjectFactory.ts index 26ac0aa8832d..ba6a4fc80a34 100644 --- a/core/templates/dev/head/domain/objects/UnitsObjectFactory.ts +++ b/core/templates/dev/head/domain/objects/UnitsObjectFactory.ts @@ -16,8 +16,6 @@ * @fileoverview Factory for creating instances of Units domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('UnitsObjectFactory', ['CURRENCY_UNITS', function(CURRENCY_UNITS) { var Units = function(unitsList) { diff --git a/core/templates/dev/head/domain/objects/objects-domain.constants.ts b/core/templates/dev/head/domain/objects/objects-domain.constants.ts index 9745cab50af5..f66ad311ba95 100644 --- a/core/templates/dev/head/domain/objects/objects-domain.constants.ts +++ b/core/templates/dev/head/domain/objects/objects-domain.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for objects domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant('FRACTION_PARSING_ERRORS', { INVALID_CHARS: 'Please only use numerical digits, spaces or forward slashes (/)', diff --git a/core/templates/dev/head/domain/question/EditableQuestionBackendApiService.ts b/core/templates/dev/head/domain/question/EditableQuestionBackendApiService.ts index 732b6a972d2d..182c1615e22e 100644 --- a/core/templates/dev/head/domain/question/EditableQuestionBackendApiService.ts +++ b/core/templates/dev/head/domain/question/EditableQuestionBackendApiService.ts @@ -29,8 +29,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/question/question-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EditableQuestionBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'EDITABLE_QUESTION_DATA_URL_TEMPLATE', 'QUESTION_CREATION_URL', diff --git a/core/templates/dev/head/domain/question/PretestQuestionBackendApiService.ts b/core/templates/dev/head/domain/question/PretestQuestionBackendApiService.ts index 8942a1bea986..d3441cedcb25 100644 --- a/core/templates/dev/head/domain/question/PretestQuestionBackendApiService.ts +++ b/core/templates/dev/head/domain/question/PretestQuestionBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/question/question-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PretestQuestionBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'PRETEST_QUESTIONS_URL_TEMPLATE', function( diff --git a/core/templates/dev/head/domain/question/QuestionObjectFactory.ts b/core/templates/dev/head/domain/question/QuestionObjectFactory.ts index 270ddd921ae6..c50b9710b16a 100644 --- a/core/templates/dev/head/domain/question/QuestionObjectFactory.ts +++ b/core/templates/dev/head/domain/question/QuestionObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/state/StateObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionObjectFactory', [ 'StateObjectFactory', 'INTERACTION_SPECS', function(StateObjectFactory, INTERACTION_SPECS) { diff --git a/core/templates/dev/head/domain/question/QuestionPlayerBackendApiService.ts b/core/templates/dev/head/domain/question/QuestionPlayerBackendApiService.ts index 952c523efa5f..01271bb23b6f 100644 --- a/core/templates/dev/head/domain/question/QuestionPlayerBackendApiService.ts +++ b/core/templates/dev/head/domain/question/QuestionPlayerBackendApiService.ts @@ -18,8 +18,6 @@ require('domain/question/question-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionPlayerBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'QUESTION_PLAYER_URL_TEMPLATE', function($http, $q, UrlInterpolationService, QUESTION_PLAYER_URL_TEMPLATE) { diff --git a/core/templates/dev/head/domain/question/QuestionUpdateService.ts b/core/templates/dev/head/domain/question/QuestionUpdateService.ts index 193c10539789..c1ff7475a6a6 100644 --- a/core/templates/dev/head/domain/question/QuestionUpdateService.ts +++ b/core/templates/dev/head/domain/question/QuestionUpdateService.ts @@ -23,8 +23,6 @@ require('domain/question/QuestionObjectFactory.ts'); require('domain/question/question-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionUpdateService', [ 'ChangeObjectFactory', 'QuestionObjectFactory', 'QuestionUndoRedoService', 'CMD_UPDATE_QUESTION_PROPERTY', 'QUESTION_PROPERTY_LANGUAGE_CODE', diff --git a/core/templates/dev/head/domain/question/question-domain.constants.ts b/core/templates/dev/head/domain/question/question-domain.constants.ts index fbfa099e5bbb..bd07de59f03e 100644 --- a/core/templates/dev/head/domain/question/question-domain.constants.ts +++ b/core/templates/dev/head/domain/question/question-domain.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for question domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'EDITABLE_QUESTION_DATA_URL_TEMPLATE', '/question_editor_handler/data/'); diff --git a/core/templates/dev/head/domain/sidebar/SidebarStatusService.ts b/core/templates/dev/head/domain/sidebar/SidebarStatusService.ts index 9854d7dc5ca2..e836f1fc78da 100644 --- a/core/templates/dev/head/domain/sidebar/SidebarStatusService.ts +++ b/core/templates/dev/head/domain/sidebar/SidebarStatusService.ts @@ -19,8 +19,6 @@ require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SidebarStatusService', [ 'WindowDimensionsService', function(WindowDimensionsService) { var pendingSidebarClick = false; diff --git a/core/templates/dev/head/domain/skill/ConceptCardBackendApiService.ts b/core/templates/dev/head/domain/skill/ConceptCardBackendApiService.ts index e916e1a1ceca..7739e1611593 100644 --- a/core/templates/dev/head/domain/skill/ConceptCardBackendApiService.ts +++ b/core/templates/dev/head/domain/skill/ConceptCardBackendApiService.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/skill/skill-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ConceptCardBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'CONCEPT_CARD_DATA_URL_TEMPLATE', function($http, $q, UrlInterpolationService, CONCEPT_CARD_DATA_URL_TEMPLATE) { diff --git a/core/templates/dev/head/domain/skill/ConceptCardObjectFactory.ts b/core/templates/dev/head/domain/skill/ConceptCardObjectFactory.ts index bcb1e66d463d..a34e7eba4307 100644 --- a/core/templates/dev/head/domain/skill/ConceptCardObjectFactory.ts +++ b/core/templates/dev/head/domain/skill/ConceptCardObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/exploration/ContentIdsToAudioTranslationsObjectFactory.ts'); require('domain/exploration/SubtitledHtmlObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ConceptCardObjectFactory', [ 'ContentIdsToAudioTranslationsObjectFactory', 'SubtitledHtmlObjectFactory', 'COMPONENT_NAME_EXPLANATION', diff --git a/core/templates/dev/head/domain/skill/EditableSkillBackendApiService.ts b/core/templates/dev/head/domain/skill/EditableSkillBackendApiService.ts index ea24ba5e982c..60ebe8f01714 100644 --- a/core/templates/dev/head/domain/skill/EditableSkillBackendApiService.ts +++ b/core/templates/dev/head/domain/skill/EditableSkillBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/skill/skill-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EditableSkillBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'EDITABLE_SKILL_DATA_URL_TEMPLATE', 'SKILL_EDITOR_QUESTION_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/skill/MisconceptionObjectFactory.ts b/core/templates/dev/head/domain/skill/MisconceptionObjectFactory.ts index 4b3c95967e66..14ff9926e523 100644 --- a/core/templates/dev/head/domain/skill/MisconceptionObjectFactory.ts +++ b/core/templates/dev/head/domain/skill/MisconceptionObjectFactory.ts @@ -17,8 +17,6 @@ * misconceptions. */ -var oppia = require('AppInit.ts').module; - oppia.factory('MisconceptionObjectFactory', [ function() { var Misconception = function(id, name, notes, feedback) { diff --git a/core/templates/dev/head/domain/skill/SkillObjectFactory.ts b/core/templates/dev/head/domain/skill/SkillObjectFactory.ts index 96e49e640894..327104f74b42 100644 --- a/core/templates/dev/head/domain/skill/SkillObjectFactory.ts +++ b/core/templates/dev/head/domain/skill/SkillObjectFactory.ts @@ -21,8 +21,6 @@ require('domain/skill/ConceptCardObjectFactory.ts'); require('domain/skill/MisconceptionObjectFactory.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SkillObjectFactory', [ 'ConceptCardObjectFactory', 'MisconceptionObjectFactory', 'ValidatorsService', function( diff --git a/core/templates/dev/head/domain/skill/SkillRightsBackendApiService.ts b/core/templates/dev/head/domain/skill/SkillRightsBackendApiService.ts index 80b97c2e03fb..acb79bbbb71c 100644 --- a/core/templates/dev/head/domain/skill/SkillRightsBackendApiService.ts +++ b/core/templates/dev/head/domain/skill/SkillRightsBackendApiService.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SkillRightsBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'SKILL_PUBLISH_URL_TEMPLATE', 'SKILL_RIGHTS_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/skill/SkillRightsObjectFactory.ts b/core/templates/dev/head/domain/skill/SkillRightsObjectFactory.ts index 6de0d9a218f5..3a1bd18fa234 100644 --- a/core/templates/dev/head/domain/skill/SkillRightsObjectFactory.ts +++ b/core/templates/dev/head/domain/skill/SkillRightsObjectFactory.ts @@ -17,8 +17,6 @@ * skill rights domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SkillRightsObjectFactory', [ function() { var SkillRights = function( diff --git a/core/templates/dev/head/domain/skill/SkillSummaryObjectFactory.ts b/core/templates/dev/head/domain/skill/SkillSummaryObjectFactory.ts index 01b0d6b9556d..83590986eda6 100644 --- a/core/templates/dev/head/domain/skill/SkillSummaryObjectFactory.ts +++ b/core/templates/dev/head/domain/skill/SkillSummaryObjectFactory.ts @@ -17,8 +17,6 @@ * skill summary domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SkillSummaryObjectFactory', [ function() { var SkillSummary = function(skillId, skillDescription) { diff --git a/core/templates/dev/head/domain/skill/SkillUpdateService.ts b/core/templates/dev/head/domain/skill/SkillUpdateService.ts index 29e2dde75bf9..708f4f3dc972 100644 --- a/core/templates/dev/head/domain/skill/SkillUpdateService.ts +++ b/core/templates/dev/head/domain/skill/SkillUpdateService.ts @@ -22,8 +22,6 @@ require('domain/skill/SkillObjectFactory.ts'); require('domain/skill/skill-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SkillUpdateService', [ 'ChangeObjectFactory', 'SkillObjectFactory', 'UndoRedoService', 'CMD_ADD_SKILL_MISCONCEPTION', diff --git a/core/templates/dev/head/domain/skill/skill-domain.constants.ts b/core/templates/dev/head/domain/skill/skill-domain.constants.ts index 7e59ce943723..9d43a5d12be1 100644 --- a/core/templates/dev/head/domain/skill/skill-domain.constants.ts +++ b/core/templates/dev/head/domain/skill/skill-domain.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for skill domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'CONCEPT_CARD_DATA_URL_TEMPLATE', '/concept_card_handler/'); diff --git a/core/templates/dev/head/domain/state/StateObjectFactory.ts b/core/templates/dev/head/domain/state/StateObjectFactory.ts index 965c62b1bd49..873799f7b9b1 100644 --- a/core/templates/dev/head/domain/state/StateObjectFactory.ts +++ b/core/templates/dev/head/domain/state/StateObjectFactory.ts @@ -24,8 +24,6 @@ require('domain/exploration/ParamChangesObjectFactory.ts'); require('domain/exploration/SubtitledHtmlObjectFactory.ts'); require('domain/exploration/WrittenTranslationsObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateObjectFactory', [ 'InteractionObjectFactory', 'ParamChangesObjectFactory', 'RecordedVoiceoversObjectFactory', 'SubtitledHtmlObjectFactory', diff --git a/core/templates/dev/head/domain/state_card/StateCardObjectFactory.ts b/core/templates/dev/head/domain/state_card/StateCardObjectFactory.ts index 39645389ae90..384ac0a58f29 100644 --- a/core/templates/dev/head/domain/state_card/StateCardObjectFactory.ts +++ b/core/templates/dev/head/domain/state_card/StateCardObjectFactory.ts @@ -22,8 +22,6 @@ require( 'audio-translation-language.service.ts'); require('services/ExplorationHtmlFormatterService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateCardObjectFactory', [ 'AudioTranslationLanguageService', 'ExplorationHtmlFormatterService', 'INTERACTION_DISPLAY_MODE_INLINE', 'INTERACTION_SPECS', diff --git a/core/templates/dev/head/domain/statistics/ImprovementActionButtonObjectFactory.ts b/core/templates/dev/head/domain/statistics/ImprovementActionButtonObjectFactory.ts index 4db92b8dcfb0..5052d060e1f9 100644 --- a/core/templates/dev/head/domain/statistics/ImprovementActionButtonObjectFactory.ts +++ b/core/templates/dev/head/domain/statistics/ImprovementActionButtonObjectFactory.ts @@ -17,8 +17,6 @@ * resolve a particular improvement suggestion. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ImprovementActionButtonObjectFactory', [function() { /** * @constructor diff --git a/core/templates/dev/head/domain/statistics/LearnerActionObjectFactory.ts b/core/templates/dev/head/domain/statistics/LearnerActionObjectFactory.ts index 02ab9e09047b..d60d8f96dfb3 100644 --- a/core/templates/dev/head/domain/statistics/LearnerActionObjectFactory.ts +++ b/core/templates/dev/head/domain/statistics/LearnerActionObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/statistics/statistics-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerActionObjectFactory', [ 'LEARNER_ACTION_SCHEMA_LATEST_VERSION', function(LEARNER_ACTION_SCHEMA_LATEST_VERSION) { diff --git a/core/templates/dev/head/domain/statistics/PlaythroughImprovementCardObjectFactory.ts b/core/templates/dev/head/domain/statistics/PlaythroughImprovementCardObjectFactory.ts index 68522fc0a053..24c219bbd6fa 100644 --- a/core/templates/dev/head/domain/statistics/PlaythroughImprovementCardObjectFactory.ts +++ b/core/templates/dev/head/domain/statistics/PlaythroughImprovementCardObjectFactory.ts @@ -23,8 +23,6 @@ require('services/PlaythroughIssuesService.ts'); require('domain/statistics/statistics-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PlaythroughImprovementCardObjectFactory', [ '$uibModal', 'ImprovementActionButtonObjectFactory', 'PlaythroughIssuesService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/domain/statistics/PlaythroughIssueObjectFactory.ts b/core/templates/dev/head/domain/statistics/PlaythroughIssueObjectFactory.ts index d9cdacb46d63..2a45ac911809 100644 --- a/core/templates/dev/head/domain/statistics/PlaythroughIssueObjectFactory.ts +++ b/core/templates/dev/head/domain/statistics/PlaythroughIssueObjectFactory.ts @@ -17,8 +17,6 @@ * Issue domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('PlaythroughIssueObjectFactory', [function() { /** * @constructor diff --git a/core/templates/dev/head/domain/statistics/PlaythroughObjectFactory.ts b/core/templates/dev/head/domain/statistics/PlaythroughObjectFactory.ts index 5a35951f9948..24ba88c1ed3c 100644 --- a/core/templates/dev/head/domain/statistics/PlaythroughObjectFactory.ts +++ b/core/templates/dev/head/domain/statistics/PlaythroughObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/statistics/LearnerActionObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PlaythroughObjectFactory', [ 'LearnerActionObjectFactory', function(LearnerActionObjectFactory) { /** diff --git a/core/templates/dev/head/domain/statistics/statistics-domain.constants.ts b/core/templates/dev/head/domain/statistics/statistics-domain.constants.ts index 2969ff2c88d5..2e86452d8533 100644 --- a/core/templates/dev/head/domain/statistics/statistics-domain.constants.ts +++ b/core/templates/dev/head/domain/statistics/statistics-domain.constants.ts @@ -16,7 +16,5 @@ * @fileoverview Constants for the statistics domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant('LEARNER_ACTION_SCHEMA_LATEST_VERSION', 1); oppia.constant('PLAYTHROUGH_IMPROVEMENT_CARD_TYPE', 'playthrough'); diff --git a/core/templates/dev/head/domain/story/EditableStoryBackendApiService.ts b/core/templates/dev/head/domain/story/EditableStoryBackendApiService.ts index 8a53d2145679..fee11d3b9409 100644 --- a/core/templates/dev/head/domain/story/EditableStoryBackendApiService.ts +++ b/core/templates/dev/head/domain/story/EditableStoryBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/story/story-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EditableStoryBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'EDITABLE_STORY_DATA_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/story/StoryContentsObjectFactory.ts b/core/templates/dev/head/domain/story/StoryContentsObjectFactory.ts index df5e2275085e..9c372e1b716d 100644 --- a/core/templates/dev/head/domain/story/StoryContentsObjectFactory.ts +++ b/core/templates/dev/head/domain/story/StoryContentsObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/story/StoryNodeObjectFactory.ts'); require('pages/story-editor-page/story-editor-page.controller.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryContentsObjectFactory', [ 'StoryNodeObjectFactory', 'NODE_ID_PREFIX', function(StoryNodeObjectFactory, NODE_ID_PREFIX) { diff --git a/core/templates/dev/head/domain/story/StoryNodeObjectFactory.ts b/core/templates/dev/head/domain/story/StoryNodeObjectFactory.ts index 9533fe6723c7..bc859be5943b 100644 --- a/core/templates/dev/head/domain/story/StoryNodeObjectFactory.ts +++ b/core/templates/dev/head/domain/story/StoryNodeObjectFactory.ts @@ -19,8 +19,6 @@ require('pages/story-editor-page/story-editor-page.controller.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryNodeObjectFactory', ['NODE_ID_PREFIX', function(NODE_ID_PREFIX) { var StoryNode = function( diff --git a/core/templates/dev/head/domain/story/StoryObjectFactory.ts b/core/templates/dev/head/domain/story/StoryObjectFactory.ts index aab0926e4c79..f1c17fa2d407 100644 --- a/core/templates/dev/head/domain/story/StoryObjectFactory.ts +++ b/core/templates/dev/head/domain/story/StoryObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/story/StoryContentsObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryObjectFactory', ['StoryContentsObjectFactory', function(StoryContentsObjectFactory) { var Story = function( diff --git a/core/templates/dev/head/domain/story/StoryUpdateService.ts b/core/templates/dev/head/domain/story/StoryUpdateService.ts index 1b13ac4ccf83..d5e65b7ccfb8 100644 --- a/core/templates/dev/head/domain/story/StoryUpdateService.ts +++ b/core/templates/dev/head/domain/story/StoryUpdateService.ts @@ -24,8 +24,6 @@ require('domain/editor/undo_redo/UndoRedoService.ts'); require('domain/story/story-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryUpdateService', [ 'ChangeObjectFactory', 'UndoRedoService', 'CMD_ADD_STORY_NODE', 'CMD_DELETE_STORY_NODE', diff --git a/core/templates/dev/head/domain/story/story-domain.constants.ts b/core/templates/dev/head/domain/story/story-domain.constants.ts index a0274ab2c960..7175873f6071 100644 --- a/core/templates/dev/head/domain/story/story-domain.constants.ts +++ b/core/templates/dev/head/domain/story/story-domain.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for story domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'EDITABLE_STORY_DATA_URL_TEMPLATE', '/story_editor_handler/data//'); diff --git a/core/templates/dev/head/domain/story_viewer/ReadOnlyStoryNodeObjectFactory.ts b/core/templates/dev/head/domain/story_viewer/ReadOnlyStoryNodeObjectFactory.ts index 2e561f53cb27..90fb5d41caff 100644 --- a/core/templates/dev/head/domain/story_viewer/ReadOnlyStoryNodeObjectFactory.ts +++ b/core/templates/dev/head/domain/story_viewer/ReadOnlyStoryNodeObjectFactory.ts @@ -17,8 +17,6 @@ * story viewer. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ReadOnlyStoryNodeObjectFactory', [function() { var StoryNode = function( id, title, destinationNodeIds, prerequisiteSkillIds, acquiredSkillIds, diff --git a/core/templates/dev/head/domain/story_viewer/StoryPlaythroughObjectFactory.ts b/core/templates/dev/head/domain/story_viewer/StoryPlaythroughObjectFactory.ts index c0a91dc206bf..8ea59af2b6b8 100644 --- a/core/templates/dev/head/domain/story_viewer/StoryPlaythroughObjectFactory.ts +++ b/core/templates/dev/head/domain/story_viewer/StoryPlaythroughObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/story_viewer/ReadOnlyStoryNodeObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryPlaythroughObjectFactory', [ 'ReadOnlyStoryNodeObjectFactory', function(ReadOnlyStoryNodeObjectFactory) { // Stores information about a current playthrough of a story for a diff --git a/core/templates/dev/head/domain/story_viewer/StoryViewerBackendApiService.ts b/core/templates/dev/head/domain/story_viewer/StoryViewerBackendApiService.ts index 995e1102d81d..a0929b60016d 100644 --- a/core/templates/dev/head/domain/story_viewer/StoryViewerBackendApiService.ts +++ b/core/templates/dev/head/domain/story_viewer/StoryViewerBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/story_viewer/story-viewer-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryViewerBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'STORY_DATA_URL_TEMPLATE', 'STORY_NODE_COMPLETION_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/story_viewer/story-viewer-domain.constants.ts b/core/templates/dev/head/domain/story_viewer/story-viewer-domain.constants.ts index d8a1c5f79891..078ce97ea934 100644 --- a/core/templates/dev/head/domain/story_viewer/story-viewer-domain.constants.ts +++ b/core/templates/dev/head/domain/story_viewer/story-viewer-domain.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for story viewer domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'STORY_DATA_URL_TEMPLATE', '/story_data_handler/'); diff --git a/core/templates/dev/head/domain/suggestion/SuggestionObjectFactory.ts b/core/templates/dev/head/domain/suggestion/SuggestionObjectFactory.ts index 3ec0666db8b2..508262ba156d 100644 --- a/core/templates/dev/head/domain/suggestion/SuggestionObjectFactory.ts +++ b/core/templates/dev/head/domain/suggestion/SuggestionObjectFactory.ts @@ -17,8 +17,6 @@ domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionObjectFactory', [function() { var Suggestion = function( suggestionType, suggestionId, targetType, targetId, status, authorName, diff --git a/core/templates/dev/head/domain/suggestion/SuggestionThreadObjectFactory.ts b/core/templates/dev/head/domain/suggestion/SuggestionThreadObjectFactory.ts index a2b0b22495d6..1d89acde1b1e 100644 --- a/core/templates/dev/head/domain/suggestion/SuggestionThreadObjectFactory.ts +++ b/core/templates/dev/head/domain/suggestion/SuggestionThreadObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/suggestion/SuggestionObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionThreadObjectFactory', [ 'SuggestionObjectFactory', function(SuggestionObjectFactory) { var SuggestionThread = function( diff --git a/core/templates/dev/head/domain/summary/ExplorationSummaryBackendApiService.ts b/core/templates/dev/head/domain/summary/ExplorationSummaryBackendApiService.ts index 5820ae825806..67670d4ebba6 100644 --- a/core/templates/dev/head/domain/summary/ExplorationSummaryBackendApiService.ts +++ b/core/templates/dev/head/domain/summary/ExplorationSummaryBackendApiService.ts @@ -20,8 +20,6 @@ require('services/AlertsService.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationSummaryBackendApiService', [ '$http', '$q', 'AlertsService', 'ValidatorsService', 'EXPLORATION_SUMMARY_DATA_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/topic/EditableTopicBackendApiService.ts b/core/templates/dev/head/domain/topic/EditableTopicBackendApiService.ts index 0e28b6134945..0918cbe2c643 100644 --- a/core/templates/dev/head/domain/topic/EditableTopicBackendApiService.ts +++ b/core/templates/dev/head/domain/topic/EditableTopicBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/topic/topic-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EditableTopicBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'EDITABLE_TOPIC_DATA_URL_TEMPLATE', 'SUBTOPIC_PAGE_EDITOR_DATA_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/topic/SubtopicObjectFactory.ts b/core/templates/dev/head/domain/topic/SubtopicObjectFactory.ts index 4b6c26496773..d1f579f006f1 100644 --- a/core/templates/dev/head/domain/topic/SubtopicObjectFactory.ts +++ b/core/templates/dev/head/domain/topic/SubtopicObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/skill/SkillSummaryObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SubtopicObjectFactory', ['SkillSummaryObjectFactory', function(SkillSummaryObjectFactory) { var Subtopic = function( diff --git a/core/templates/dev/head/domain/topic/SubtopicPageContentsObjectFactory.ts b/core/templates/dev/head/domain/topic/SubtopicPageContentsObjectFactory.ts index b8a4fda4cb49..241df52410af 100644 --- a/core/templates/dev/head/domain/topic/SubtopicPageContentsObjectFactory.ts +++ b/core/templates/dev/head/domain/topic/SubtopicPageContentsObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/exploration/ContentIdsToAudioTranslationsObjectFactory.ts'); require('domain/exploration/SubtitledHtmlObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SubtopicPageContentsObjectFactory', [ 'ContentIdsToAudioTranslationsObjectFactory', 'SubtitledHtmlObjectFactory', function( diff --git a/core/templates/dev/head/domain/topic/SubtopicPageObjectFactory.ts b/core/templates/dev/head/domain/topic/SubtopicPageObjectFactory.ts index a116de39e415..98bd0fb19afa 100644 --- a/core/templates/dev/head/domain/topic/SubtopicPageObjectFactory.ts +++ b/core/templates/dev/head/domain/topic/SubtopicPageObjectFactory.ts @@ -19,8 +19,6 @@ require('domain/topic/SubtopicPageContentsObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SubtopicPageObjectFactory', [ 'SubtopicPageContentsObjectFactory', function(SubtopicPageContentsObjectFactory) { diff --git a/core/templates/dev/head/domain/topic/TopicObjectFactory.ts b/core/templates/dev/head/domain/topic/TopicObjectFactory.ts index 392251bb9627..2953742b48a3 100644 --- a/core/templates/dev/head/domain/topic/TopicObjectFactory.ts +++ b/core/templates/dev/head/domain/topic/TopicObjectFactory.ts @@ -20,8 +20,6 @@ require('domain/skill/SkillSummaryObjectFactory.ts'); require('domain/topic/SubtopicObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicObjectFactory', [ 'SkillSummaryObjectFactory', 'SubtopicObjectFactory', function(SkillSummaryObjectFactory, SubtopicObjectFactory) { diff --git a/core/templates/dev/head/domain/topic/TopicRightsBackendApiService.ts b/core/templates/dev/head/domain/topic/TopicRightsBackendApiService.ts index fb6e515830c6..88b550272031 100644 --- a/core/templates/dev/head/domain/topic/TopicRightsBackendApiService.ts +++ b/core/templates/dev/head/domain/topic/TopicRightsBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/topic/topic-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicRightsBackendApiService', [ '$http', '$log', '$q', 'UrlInterpolationService', 'TOPIC_MANAGER_RIGHTS_URL_TEMPLATE', 'TOPIC_RIGHTS_URL_TEMPLATE', diff --git a/core/templates/dev/head/domain/topic/TopicRightsObjectFactory.ts b/core/templates/dev/head/domain/topic/TopicRightsObjectFactory.ts index 2a3468a2ee06..dcead88dc83d 100644 --- a/core/templates/dev/head/domain/topic/TopicRightsObjectFactory.ts +++ b/core/templates/dev/head/domain/topic/TopicRightsObjectFactory.ts @@ -17,8 +17,6 @@ * topic rights domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('TopicRightsObjectFactory', [ function() { var TopicRights = function(published, canPublishTopic, canEditTopic) { diff --git a/core/templates/dev/head/domain/topic/TopicUpdateService.ts b/core/templates/dev/head/domain/topic/TopicUpdateService.ts index 11c1691492bb..2fa2926b85aa 100644 --- a/core/templates/dev/head/domain/topic/TopicUpdateService.ts +++ b/core/templates/dev/head/domain/topic/TopicUpdateService.ts @@ -24,8 +24,6 @@ require('domain/editor/undo_redo/UndoRedoService.ts'); require('domain/topic/topic-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicUpdateService', [ 'ChangeObjectFactory', 'UndoRedoService', 'CMD_ADD_SUBTOPIC', 'CMD_ADD_UNCATEGORIZED_SKILL_ID', diff --git a/core/templates/dev/head/domain/topic/topic-domain.constants.ts b/core/templates/dev/head/domain/topic/topic-domain.constants.ts index 5430eb7bdc9f..25fcb1a33088 100644 --- a/core/templates/dev/head/domain/topic/topic-domain.constants.ts +++ b/core/templates/dev/head/domain/topic/topic-domain.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for topic domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'TOPIC_EDITOR_STORY_URL_TEMPLATE', '/topic_editor_story_handler/'); diff --git a/core/templates/dev/head/domain/topic_viewer/TopicViewerBackendApiService.ts b/core/templates/dev/head/domain/topic_viewer/TopicViewerBackendApiService.ts index 6543642d1a47..769651d48c54 100644 --- a/core/templates/dev/head/domain/topic_viewer/TopicViewerBackendApiService.ts +++ b/core/templates/dev/head/domain/topic_viewer/TopicViewerBackendApiService.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('domain/topic_viewer/topic-viewer-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicViewerBackendApiService', [ '$http', '$q', 'UrlInterpolationService', 'TOPIC_DATA_URL_TEMPLATE', function($http, $q, UrlInterpolationService, TOPIC_DATA_URL_TEMPLATE) { diff --git a/core/templates/dev/head/domain/topic_viewer/topic-viewer-domain.constants.ts b/core/templates/dev/head/domain/topic_viewer/topic-viewer-domain.constants.ts index 3754d6b11949..3bfe4cc9cebf 100644 --- a/core/templates/dev/head/domain/topic_viewer/topic-viewer-domain.constants.ts +++ b/core/templates/dev/head/domain/topic_viewer/topic-viewer-domain.constants.ts @@ -16,7 +16,5 @@ * @fileoverview Constants for the topic viewer domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'TOPIC_DATA_URL_TEMPLATE', '/topic_data_handler/'); diff --git a/core/templates/dev/head/domain/topics_and_skills_dashboard/TopicsAndSkillsDashboardBackendApiService.ts b/core/templates/dev/head/domain/topics_and_skills_dashboard/TopicsAndSkillsDashboardBackendApiService.ts index 01215968add9..d21112bc2d26 100644 --- a/core/templates/dev/head/domain/topics_and_skills_dashboard/TopicsAndSkillsDashboardBackendApiService.ts +++ b/core/templates/dev/head/domain/topics_and_skills_dashboard/TopicsAndSkillsDashboardBackendApiService.ts @@ -21,8 +21,6 @@ require( 'domain/topics_and_skills_dashboard/' + 'topics-and-skills-dashboard-domain.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicsAndSkillsDashboardBackendApiService', [ '$http', 'MERGE_SKILLS_URL', function($http, MERGE_SKILLS_URL) { var _fetchDashboardData = function() { diff --git a/core/templates/dev/head/domain/topics_and_skills_dashboard/topics-and-skills-dashboard-domain.constants.ts b/core/templates/dev/head/domain/topics_and_skills_dashboard/topics-and-skills-dashboard-domain.constants.ts index 01dea16b05d4..6d5b335c5bea 100644 --- a/core/templates/dev/head/domain/topics_and_skills_dashboard/topics-and-skills-dashboard-domain.constants.ts +++ b/core/templates/dev/head/domain/topics_and_skills_dashboard/topics-and-skills-dashboard-domain.constants.ts @@ -16,6 +16,4 @@ * @fileoverview Constants for topics and skills dashboard domain. */ -var oppia = require('AppInit.ts').module; - oppia.constant('MERGE_SKILLS_URL', '/merge_skills_handler'); diff --git a/core/templates/dev/head/domain/user/UserInfoObjectFactory.ts b/core/templates/dev/head/domain/user/UserInfoObjectFactory.ts index 4e9571c83b62..e4777bced41a 100644 --- a/core/templates/dev/head/domain/user/UserInfoObjectFactory.ts +++ b/core/templates/dev/head/domain/user/UserInfoObjectFactory.ts @@ -17,8 +17,6 @@ * domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('UserInfoObjectFactory', [function() { var UserInfo = function( isModerator, isAdmin, isSuperAdmin, isTopicManager, canCreateCollections, diff --git a/core/templates/dev/head/domain/utilities/AudioFileObjectFactory.ts b/core/templates/dev/head/domain/utilities/AudioFileObjectFactory.ts index 7aac9d692024..4877ef61d9f8 100644 --- a/core/templates/dev/head/domain/utilities/AudioFileObjectFactory.ts +++ b/core/templates/dev/head/domain/utilities/AudioFileObjectFactory.ts @@ -16,8 +16,6 @@ * @fileoverview Object factory for creating audio files. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AudioFileObjectFactory', [ function() { var AudioFile = function(filename, data) { diff --git a/core/templates/dev/head/domain/utilities/AudioLanguageObjectFactory.ts b/core/templates/dev/head/domain/utilities/AudioLanguageObjectFactory.ts index 6afa504dae1a..617151995851 100644 --- a/core/templates/dev/head/domain/utilities/AudioLanguageObjectFactory.ts +++ b/core/templates/dev/head/domain/utilities/AudioLanguageObjectFactory.ts @@ -16,8 +16,6 @@ * @fileoverview Object factory for creating audio languages. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AudioLanguageObjectFactory', [ function() { var AudioLanguage = function(id, description, relatedLanguages) { diff --git a/core/templates/dev/head/domain/utilities/AutogeneratedAudioLanguageObjectFactory.ts b/core/templates/dev/head/domain/utilities/AutogeneratedAudioLanguageObjectFactory.ts index 5821b6c001e5..3e06122cede5 100644 --- a/core/templates/dev/head/domain/utilities/AutogeneratedAudioLanguageObjectFactory.ts +++ b/core/templates/dev/head/domain/utilities/AutogeneratedAudioLanguageObjectFactory.ts @@ -16,8 +16,6 @@ * @fileoverview Object factory for creating autogenerated audio languages. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AutogeneratedAudioLanguageObjectFactory', [ function() { var AutogeneratedAudioLanguage = diff --git a/core/templates/dev/head/domain/utilities/BrowserCheckerService.ts b/core/templates/dev/head/domain/utilities/BrowserCheckerService.ts index d95b2f0e1f89..1ee6ccaf4edc 100644 --- a/core/templates/dev/head/domain/utilities/BrowserCheckerService.ts +++ b/core/templates/dev/head/domain/utilities/BrowserCheckerService.ts @@ -16,8 +16,6 @@ * @fileoverview Utility service for checking web browser type. */ -var oppia = require('AppInit.ts').module; - oppia.factory('BrowserCheckerService', [ 'AUTOGENERATED_AUDIO_LANGUAGES', function(AUTOGENERATED_AUDIO_LANGUAGES) { diff --git a/core/templates/dev/head/domain/utilities/FileDownloadRequestObjectFactory.ts b/core/templates/dev/head/domain/utilities/FileDownloadRequestObjectFactory.ts index 24a8cbbb16ae..108b59552015 100644 --- a/core/templates/dev/head/domain/utilities/FileDownloadRequestObjectFactory.ts +++ b/core/templates/dev/head/domain/utilities/FileDownloadRequestObjectFactory.ts @@ -16,8 +16,6 @@ * @fileoverview Object factory for creating audio files. */ -var oppia = require('AppInit.ts').module; - oppia.factory('FileDownloadRequestObjectFactory', [ function() { var FileDownloadRequest = function(filename, canceler) { diff --git a/core/templates/dev/head/domain/utilities/ImageFileObjectFactory.ts b/core/templates/dev/head/domain/utilities/ImageFileObjectFactory.ts index 3eca5a8da10e..df54293ab336 100644 --- a/core/templates/dev/head/domain/utilities/ImageFileObjectFactory.ts +++ b/core/templates/dev/head/domain/utilities/ImageFileObjectFactory.ts @@ -16,8 +16,6 @@ * @fileoverview Object factory for creating image files. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ImageFileObjectFactory', [function() { var ImageFile = function(filename, data) { this.filename = filename; diff --git a/core/templates/dev/head/domain/utilities/LanguageUtilService.ts b/core/templates/dev/head/domain/utilities/LanguageUtilService.ts index 7d9972852ebd..71a7cfdf081c 100644 --- a/core/templates/dev/head/domain/utilities/LanguageUtilService.ts +++ b/core/templates/dev/head/domain/utilities/LanguageUtilService.ts @@ -20,8 +20,6 @@ require('domain/utilities/AudioLanguageObjectFactory.ts'); require('domain/utilities/AutogeneratedAudioLanguageObjectFactory.ts'); require('domain/utilities/BrowserCheckerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('LanguageUtilService', [ 'AudioLanguageObjectFactory', 'AutogeneratedAudioLanguageObjectFactory', 'BrowserCheckerService', 'ALL_LANGUAGE_CODES', diff --git a/core/templates/dev/head/domain/utilities/StopwatchObjectFactory.ts b/core/templates/dev/head/domain/utilities/StopwatchObjectFactory.ts index b46adf6d673f..5cbe7a991d8e 100644 --- a/core/templates/dev/head/domain/utilities/StopwatchObjectFactory.ts +++ b/core/templates/dev/head/domain/utilities/StopwatchObjectFactory.ts @@ -18,8 +18,6 @@ // A simple service that provides stopwatch instances. Each stopwatch can be // independently reset and queried for the current time. -var oppia = require('AppInit.ts').module; - oppia.factory('StopwatchObjectFactory', ['$log', function($log) { var Stopwatch = function() { this.startTime = null; diff --git a/core/templates/dev/head/domain/utilities/UrlInterpolationService.ts b/core/templates/dev/head/domain/utilities/UrlInterpolationService.ts index 90394f99097e..8ccdde4d6219 100644 --- a/core/templates/dev/head/domain/utilities/UrlInterpolationService.ts +++ b/core/templates/dev/head/domain/utilities/UrlInterpolationService.ts @@ -16,14 +16,11 @@ require('services/AlertsService.ts'); require('services/contextual/UrlService.ts'); require('services/UtilsService.ts'); -require('app.constants.ts'); /** * @fileoverview Service to construct URLs by inserting variables within them as * necessary to have a fully-qualified URL. */ -var oppia = require('AppInit.ts').module; - oppia.factory('UrlInterpolationService', [ 'AlertsService', 'UrlService', 'UtilsService', 'DEV_MODE', function(AlertsService, UrlService, UtilsService, DEV_MODE) { diff --git a/core/templates/dev/head/expressions/ExpressionEvaluatorService.ts b/core/templates/dev/head/expressions/ExpressionEvaluatorService.ts index 7b90cb328ed5..5b0520c938b8 100644 --- a/core/templates/dev/head/expressions/ExpressionEvaluatorService.ts +++ b/core/templates/dev/head/expressions/ExpressionEvaluatorService.ts @@ -66,8 +66,6 @@ require('expressions/ExpressionParserService.js'); require('expressions/ExpressionSyntaxTreeService.ts'); // Service for expression evaluation. -var oppia = require('AppInit.ts').module; - oppia.factory('ExpressionEvaluatorService', [ '$log', 'ExpressionParserService', 'ExpressionSyntaxTreeService', function($log, ExpressionParserService, ExpressionSyntaxTreeService) { diff --git a/core/templates/dev/head/expressions/ExpressionInterpolationService.ts b/core/templates/dev/head/expressions/ExpressionInterpolationService.ts index 7f0d2caf161f..5404ab88563e 100644 --- a/core/templates/dev/head/expressions/ExpressionInterpolationService.ts +++ b/core/templates/dev/head/expressions/ExpressionInterpolationService.ts @@ -35,8 +35,6 @@ require('services/HtmlEscaperService.ts'); // processUnicode('abc{{a}}', [{}]) returns null. // processUnicode('{[a}}', [{'a': ''}]) returns // ''. -var oppia = require('AppInit.ts').module; - oppia.factory('ExpressionInterpolationService', [ '$filter', 'ExpressionEvaluatorService', 'ExpressionParserService', 'ExpressionSyntaxTreeService', 'HtmlEscaperService', diff --git a/core/templates/dev/head/expressions/ExpressionParserService.js b/core/templates/dev/head/expressions/ExpressionParserService.js index b38049faab12..bb23397191dd 100644 --- a/core/templates/dev/head/expressions/ExpressionParserService.js +++ b/core/templates/dev/head/expressions/ExpressionParserService.js @@ -1,5 +1,3 @@ -var oppia = require('AppInit.ts').module; - oppia.factory('ExpressionParserService', ['$log', function($log) { /* * Generated by PEG.js 0.8.0. diff --git a/core/templates/dev/head/expressions/ExpressionSyntaxTreeService.ts b/core/templates/dev/head/expressions/ExpressionSyntaxTreeService.ts index 703dbdbf985a..3dd22a070224 100644 --- a/core/templates/dev/head/expressions/ExpressionSyntaxTreeService.ts +++ b/core/templates/dev/head/expressions/ExpressionSyntaxTreeService.ts @@ -18,8 +18,6 @@ require('expressions/ExpressionParserService.js'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExpressionSyntaxTreeService', [ '$log', 'ExpressionParserService', 'PARAMETER_TYPES', function($log, ExpressionParserService, PARAMETER_TYPES) { diff --git a/core/templates/dev/head/expressions/ExpressionTypeParserService.ts b/core/templates/dev/head/expressions/ExpressionTypeParserService.ts index c9021d650a7b..13bfd5a35dcd 100644 --- a/core/templates/dev/head/expressions/ExpressionTypeParserService.ts +++ b/core/templates/dev/head/expressions/ExpressionTypeParserService.ts @@ -19,8 +19,6 @@ require('expressions/ExpressionParserService.js'); require('expressions/ExpressionSyntaxTreeService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExpressionTypeParserService', [ '$log', 'ExpressionParserService', 'ExpressionSyntaxTreeService', 'PARAMETER_TYPES', diff --git a/core/templates/dev/head/filters/convert-html-to-unicode.filter.ts b/core/templates/dev/head/filters/convert-html-to-unicode.filter.ts index 6547ac9ca96a..0741d0826d01 100644 --- a/core/templates/dev/head/filters/convert-html-to-unicode.filter.ts +++ b/core/templates/dev/head/filters/convert-html-to-unicode.filter.ts @@ -16,8 +16,6 @@ * @fileoverview Converts HTML to unicode. */ -var oppia = require('AppInit.ts').module; - oppia.filter('convertHtmlToUnicode', [function() { return function(html) { return angular.element('
' + html + '
').text(); diff --git a/core/templates/dev/head/filters/convert-unicode-to-html.filter.ts b/core/templates/dev/head/filters/convert-unicode-to-html.filter.ts index 0bf8332de49c..108c0425dd47 100644 --- a/core/templates/dev/head/filters/convert-unicode-to-html.filter.ts +++ b/core/templates/dev/head/filters/convert-unicode-to-html.filter.ts @@ -18,8 +18,6 @@ require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.filter('convertUnicodeToHtml', [ '$sanitize', 'HtmlEscaperService', function($sanitize, HtmlEscaperService) { diff --git a/core/templates/dev/head/filters/convert-unicode-with-params-to-html.filter.ts b/core/templates/dev/head/filters/convert-unicode-with-params-to-html.filter.ts index 2d730e42f244..814b3f4bfa8c 100644 --- a/core/templates/dev/head/filters/convert-unicode-with-params-to-html.filter.ts +++ b/core/templates/dev/head/filters/convert-unicode-with-params-to-html.filter.ts @@ -23,8 +23,6 @@ require('filters/convert-unicode-to-html.filter.ts'); -var oppia = require('AppInit.ts').module; - oppia.filter('convertUnicodeWithParamsToHtml', ['$filter', function($filter) { var assert = function(text) { if (!text) { diff --git a/core/templates/dev/head/filters/format-rte-preview.filter.ts b/core/templates/dev/head/filters/format-rte-preview.filter.ts index ccb49ef64f3b..1088a2b047bd 100644 --- a/core/templates/dev/head/filters/format-rte-preview.filter.ts +++ b/core/templates/dev/head/filters/format-rte-preview.filter.ts @@ -22,8 +22,6 @@ eg:

Sample1 Sample2

will give as output: Sample1 [Math] Sample2 */ -var oppia = require('AppInit.ts').module; - oppia.filter('formatRtePreview', ['$filter', function($filter) { return function(html) { html = html.replace(/ /ig, ' '); diff --git a/core/templates/dev/head/filters/format-timer.filter.ts b/core/templates/dev/head/filters/format-timer.filter.ts index 147ccdb8ecc5..c2b9068fc297 100644 --- a/core/templates/dev/head/filters/format-timer.filter.ts +++ b/core/templates/dev/head/filters/format-timer.filter.ts @@ -16,8 +16,6 @@ * @fileoverview FormatTimer filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('formatTimer', [function() { return function(input) { var formatNum = function(n) { diff --git a/core/templates/dev/head/filters/parameterize-rule-description.filter.ts b/core/templates/dev/head/filters/parameterize-rule-description.filter.ts index dad514050a18..2b3c9c473ce5 100644 --- a/core/templates/dev/head/filters/parameterize-rule-description.filter.ts +++ b/core/templates/dev/head/filters/parameterize-rule-description.filter.ts @@ -23,8 +23,6 @@ require('filters/format-rte-preview.filter.ts'); // Filter that changes {{...}} tags into the corresponding parameter input // values. Note that this returns an HTML string to accommodate the case of // multiple-choice input and image-click input. -var oppia = require('AppInit.ts').module; - oppia.filter('parameterizeRuleDescription', [ '$filter', 'INTERACTION_SPECS', 'FractionObjectFactory', 'NumberWithUnitsObjectFactory', function( $filter, INTERACTION_SPECS, diff --git a/core/templates/dev/head/filters/remove-duplicates-in-array.filter.ts b/core/templates/dev/head/filters/remove-duplicates-in-array.filter.ts index c705ba94abc9..be4dd4d2e8e7 100644 --- a/core/templates/dev/head/filters/remove-duplicates-in-array.filter.ts +++ b/core/templates/dev/head/filters/remove-duplicates-in-array.filter.ts @@ -16,8 +16,6 @@ * @fileoverview RemoveDuplicatesInArray filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('removeDuplicatesInArray', [function() { return function(input) { if (!input.filter) { diff --git a/core/templates/dev/head/filters/string-utility-filters/camel-case-to-hyphens.filter.ts b/core/templates/dev/head/filters/string-utility-filters/camel-case-to-hyphens.filter.ts index 8abc6855860a..888de8e0f768 100644 --- a/core/templates/dev/head/filters/string-utility-filters/camel-case-to-hyphens.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/camel-case-to-hyphens.filter.ts @@ -16,8 +16,6 @@ * @fileoverview CamelCaseToHyphens filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('camelCaseToHyphens', [function() { return function(input) { var result = input.replace(/([a-z])?([A-Z])/g, '$1-$2').toLowerCase(); diff --git a/core/templates/dev/head/filters/string-utility-filters/capitalize.filter.ts b/core/templates/dev/head/filters/string-utility-filters/capitalize.filter.ts index 916165f1717e..3cfcf5527b4c 100644 --- a/core/templates/dev/head/filters/string-utility-filters/capitalize.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/capitalize.filter.ts @@ -16,8 +16,6 @@ * @fileoverview Capitalize filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('capitalize', [function() { return function(input) { if (!input) { diff --git a/core/templates/dev/head/filters/string-utility-filters/convert-to-plain-text.filter.ts b/core/templates/dev/head/filters/string-utility-filters/convert-to-plain-text.filter.ts index 769d2360ad81..4dc004353a14 100644 --- a/core/templates/dev/head/filters/string-utility-filters/convert-to-plain-text.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/convert-to-plain-text.filter.ts @@ -16,8 +16,6 @@ * @fileoverview ConvertToPlainText filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('convertToPlainText', [function() { return function(input) { var strippedText = input.replace(/(<([^>]+)>)/ig, ''); diff --git a/core/templates/dev/head/filters/string-utility-filters/get-abbreviated-text.filter.ts b/core/templates/dev/head/filters/string-utility-filters/get-abbreviated-text.filter.ts index d5a34752dfe2..83ce19f9a36c 100644 --- a/core/templates/dev/head/filters/string-utility-filters/get-abbreviated-text.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/get-abbreviated-text.filter.ts @@ -16,8 +16,6 @@ * @fileoverview GetAbbreviatedText filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('getAbbreviatedText', [function() { return function(text, characterCount) { if (text.length > characterCount) { diff --git a/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace-punctuation-and-case.filter.ts b/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace-punctuation-and-case.filter.ts index 4f5482669a55..c7afec9832c7 100644 --- a/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace-punctuation-and-case.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace-punctuation-and-case.filter.ts @@ -20,8 +20,6 @@ // line, and removes blank lines. Note that any spaces whose removal does not // result in two alphanumeric "words" being joined together are also removed, // so "hello ? " becomes "hello?". -var oppia = require('AppInit.ts').module; - oppia.filter('normalizeWhitespacePunctuationAndCase', [function() { return function(input) { if (typeof input === 'string' || input instanceof String) { diff --git a/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace.filter.ts b/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace.filter.ts index 4c7c52f0f523..c49f0ad3735c 100644 --- a/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/normalize-whitespace.filter.ts @@ -20,8 +20,6 @@ require('services/UtilsService.ts'); // Filter that removes whitespace from the beginning and end of a string, and // replaces interior whitespace with a single space character. -var oppia = require('AppInit.ts').module; - oppia.filter('normalizeWhitespace', ['UtilsService', function(UtilsService) { return function(input) { if (UtilsService.isString(input)) { diff --git a/core/templates/dev/head/filters/string-utility-filters/replace-inputs-with-ellipses.filter.ts b/core/templates/dev/head/filters/string-utility-filters/replace-inputs-with-ellipses.filter.ts index 4c569402511d..6b7c1dbca797 100644 --- a/core/templates/dev/head/filters/string-utility-filters/replace-inputs-with-ellipses.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/replace-inputs-with-ellipses.filter.ts @@ -17,8 +17,6 @@ */ // Filter that replaces all {{...}} in a string with '...'. -var oppia = require('AppInit.ts').module; - oppia.filter('replaceInputsWithEllipses', [function() { var pattern = /\{\{\s*(\w+)\s*(\|\s*\w+\s*)?\}\}/g; return function(input) { diff --git a/core/templates/dev/head/filters/string-utility-filters/truncate-and-capitalize.filter.ts b/core/templates/dev/head/filters/string-utility-filters/truncate-and-capitalize.filter.ts index 2e2de68bc209..90b70f9dcc67 100644 --- a/core/templates/dev/head/filters/string-utility-filters/truncate-and-capitalize.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/truncate-and-capitalize.filter.ts @@ -17,8 +17,6 @@ */ // Note that this filter does not truncate at the middle of a word. -var oppia = require('AppInit.ts').module; - oppia.filter('truncateAndCapitalize', [function() { return function(input, maxNumberOfCharacters) { if (!input) { diff --git a/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-ellipsis.filter.ts b/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-ellipsis.filter.ts index 15310b2c87b7..58b0ecba2df4 100644 --- a/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-ellipsis.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-ellipsis.filter.ts @@ -17,8 +17,6 @@ */ // Filter that truncates a string at the first '...'. -var oppia = require('AppInit.ts').module; - oppia.filter('truncateAtFirstEllipsis', [function() { var pattern = /\.\.\./g; return function(input) { diff --git a/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-line.filter.ts b/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-line.filter.ts index 222d2eb5a390..fc49350d3429 100644 --- a/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-line.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/truncate-at-first-line.filter.ts @@ -16,8 +16,6 @@ * @fileoverview TruncateAtFirstLine filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('truncateAtFirstLine', [function() { return function(input) { if (!input) { diff --git a/core/templates/dev/head/filters/string-utility-filters/truncate.filter.ts b/core/templates/dev/head/filters/string-utility-filters/truncate.filter.ts index 88acb543893c..f5297802ed65 100644 --- a/core/templates/dev/head/filters/string-utility-filters/truncate.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/truncate.filter.ts @@ -19,8 +19,6 @@ require('filters/string-utility-filters/convert-to-plain-text.filter.ts'); // Filter that truncates long descriptors. -var oppia = require('AppInit.ts').module; - oppia.filter('truncate', ['$filter', function($filter) { return function(input, length, suffix) { if (!input) { diff --git a/core/templates/dev/head/filters/string-utility-filters/underscores-to-camel-case.filter.ts b/core/templates/dev/head/filters/string-utility-filters/underscores-to-camel-case.filter.ts index e57313a25457..a4b260385a6c 100644 --- a/core/templates/dev/head/filters/string-utility-filters/underscores-to-camel-case.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/underscores-to-camel-case.filter.ts @@ -16,8 +16,6 @@ * @fileoverview UnderscoresToCamelCase filter for Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.filter('underscoresToCamelCase', [function() { return function(input) { return input.replace(/_+(.)/g, function(match, group1) { diff --git a/core/templates/dev/head/filters/string-utility-filters/wrap-text-with-ellipsis.filter.ts b/core/templates/dev/head/filters/string-utility-filters/wrap-text-with-ellipsis.filter.ts index b2e130c7ba33..0684d08cb4b2 100644 --- a/core/templates/dev/head/filters/string-utility-filters/wrap-text-with-ellipsis.filter.ts +++ b/core/templates/dev/head/filters/string-utility-filters/wrap-text-with-ellipsis.filter.ts @@ -19,8 +19,6 @@ require('filters/string-utility-filters/normalize-whitespace.filter.ts'); require('services/UtilsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.filter('wrapTextWithEllipsis', [ '$filter', 'UtilsService', function($filter, UtilsService) { return function(input, characterCount) { diff --git a/core/templates/dev/head/filters/summarize-nonnegative-number.filter.ts b/core/templates/dev/head/filters/summarize-nonnegative-number.filter.ts index ae731d97629b..5b2f37bd9fcb 100644 --- a/core/templates/dev/head/filters/summarize-nonnegative-number.filter.ts +++ b/core/templates/dev/head/filters/summarize-nonnegative-number.filter.ts @@ -20,8 +20,6 @@ // the appropriate metric prefix (K, M or B). For example, 167656 // becomes 167.7K. // Users of this filter should ensure that the input is a non-negative number. -var oppia = require('AppInit.ts').module; - oppia.filter('summarizeNonnegativeNumber', [function() { return function(input) { input = Number(input); diff --git a/core/templates/dev/head/filters/truncate-input-based-on-interaction-answer-type.filter.ts b/core/templates/dev/head/filters/truncate-input-based-on-interaction-answer-type.filter.ts index c7186c85bb71..73149c39118c 100644 --- a/core/templates/dev/head/filters/truncate-input-based-on-interaction-answer-type.filter.ts +++ b/core/templates/dev/head/filters/truncate-input-based-on-interaction-answer-type.filter.ts @@ -24,8 +24,6 @@ require('filters/string-utility-filters/truncate.filter.ts'); truncated. * @param {integer} length - Truncated length of answer. */ -var oppia = require('AppInit.ts').module; - oppia.filter('truncateInputBasedOnInteractionAnswerType', [ '$filter', 'INTERACTION_SPECS', function($filter, INTERACTION_SPECS) { return function(input, interactionId, length) { diff --git a/core/templates/dev/head/pages/Base.ts b/core/templates/dev/head/pages/Base.ts index 3848d6fb7b61..34ee87cbd853 100644 --- a/core/templates/dev/head/pages/Base.ts +++ b/core/templates/dev/head/pages/Base.ts @@ -24,8 +24,6 @@ require('app.constants.ts'); * @fileoverview Oppia's base controller. */ -var oppia = require('AppInit.ts').module; - oppia.controller('Base', [ '$document', '$rootScope', '$scope', 'AlertsService', 'BackgroundMaskService', 'SidebarStatusService', 'UrlInterpolationService', 'UrlService', 'DEV_MODE', diff --git a/core/templates/dev/head/pages/OppiaFooterDirective.ts b/core/templates/dev/head/pages/OppiaFooterDirective.ts index 14235b782b85..d4682dc171f8 100644 --- a/core/templates/dev/head/pages/OppiaFooterDirective.ts +++ b/core/templates/dev/head/pages/OppiaFooterDirective.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaFooter', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/about-page/about-page.controller.ts b/core/templates/dev/head/pages/about-page/about-page.controller.ts index aefbe76c1800..7bdf83a73c71 100644 --- a/core/templates/dev/head/pages/about-page/about-page.controller.ts +++ b/core/templates/dev/head/pages/about-page/about-page.controller.ts @@ -22,8 +22,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('aboutPage', ['UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/about-page/about-page.scripts.ts b/core/templates/dev/head/pages/about-page/about-page.scripts.ts index 8e54dfdd50f2..32626bf76252 100644 --- a/core/templates/dev/head/pages/about-page/about-page.scripts.ts +++ b/core/templates/dev/head/pages/about-page/about-page.scripts.ts @@ -16,7 +16,6 @@ * @fileoverview Directive scripts for the about page. */ -require('App.ts'); - require('base_components/BaseContentDirective.ts'); + require('pages/about-page/about-page.controller.ts'); diff --git a/core/templates/dev/head/pages/admin-page/activities-tab/admin-dev-mode-activities-tab.directive.ts b/core/templates/dev/head/pages/admin-page/activities-tab/admin-dev-mode-activities-tab.directive.ts index c050fcc07191..5c7ccba99e40 100644 --- a/core/templates/dev/head/pages/admin-page/activities-tab/admin-dev-mode-activities-tab.directive.ts +++ b/core/templates/dev/head/pages/admin-page/activities-tab/admin-dev-mode-activities-tab.directive.ts @@ -23,8 +23,6 @@ require('pages/admin-page/services/admin-task-manager.service.ts'); require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminDevModeActivitiesTab', [ '$http', '$window', 'AdminTaskManagerService', 'UrlInterpolationService', 'ADMIN_HANDLER_URL', diff --git a/core/templates/dev/head/pages/admin-page/activities-tab/admin-prod-mode-activities-tab.directive.ts b/core/templates/dev/head/pages/admin-page/activities-tab/admin-prod-mode-activities-tab.directive.ts index da38158233b6..e4c6e4366a77 100644 --- a/core/templates/dev/head/pages/admin-page/activities-tab/admin-prod-mode-activities-tab.directive.ts +++ b/core/templates/dev/head/pages/admin-page/activities-tab/admin-prod-mode-activities-tab.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminProdModeActivitiesTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/admin-page/admin-page.constants.ts b/core/templates/dev/head/pages/admin-page/admin-page.constants.ts index 58f941986473..134a6e141137 100644 --- a/core/templates/dev/head/pages/admin-page/admin-page.constants.ts +++ b/core/templates/dev/head/pages/admin-page/admin-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the Oppia admin page. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'ADMIN_ROLE_HANDLER_URL', '/adminrolehandler'); diff --git a/core/templates/dev/head/pages/admin-page/admin-page.directive.ts b/core/templates/dev/head/pages/admin-page/admin-page.directive.ts index 2bc1afff266f..e8b72d33959d 100644 --- a/core/templates/dev/head/pages/admin-page/admin-page.directive.ts +++ b/core/templates/dev/head/pages/admin-page/admin-page.directive.ts @@ -79,8 +79,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/admin-page/services/admin-router.service.ts'); require('services/UtilsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminPage', ['UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/admin-page/admin-page.scripts.ts b/core/templates/dev/head/pages/admin-page/admin-page.scripts.ts index 5492fa5e19f9..7f0b8ccd9eec 100644 --- a/core/templates/dev/head/pages/admin-page/admin-page.scripts.ts +++ b/core/templates/dev/head/pages/admin-page/admin-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directives required in admin panel. */ -require('App.ts'); - require('pages/admin-page/admin-page.directive.ts'); diff --git a/core/templates/dev/head/pages/admin-page/config-tab/admin-config-tab.directive.ts b/core/templates/dev/head/pages/admin-page/config-tab/admin-config-tab.directive.ts index 90e1d8f89a80..89f6e3059581 100644 --- a/core/templates/dev/head/pages/admin-page/config-tab/admin-config-tab.directive.ts +++ b/core/templates/dev/head/pages/admin-page/config-tab/admin-config-tab.directive.ts @@ -21,8 +21,6 @@ require('pages/admin-page/services/admin-task-manager.service.ts'); require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminConfigTab', [ '$http', '$window', 'AdminTaskManagerService', 'UrlInterpolationService', 'ADMIN_HANDLER_URL', function($http, $window, AdminTaskManagerService, diff --git a/core/templates/dev/head/pages/admin-page/jobs-tab/admin-jobs-tab.directive.ts b/core/templates/dev/head/pages/admin-page/jobs-tab/admin-jobs-tab.directive.ts index f2bfe90ede59..0883e93a9841 100644 --- a/core/templates/dev/head/pages/admin-page/jobs-tab/admin-jobs-tab.directive.ts +++ b/core/templates/dev/head/pages/admin-page/jobs-tab/admin-jobs-tab.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminJobsTab', [ '$http', '$timeout', 'UrlInterpolationService', 'ADMIN_HANDLER_URL', 'ADMIN_JOB_OUTPUT_URL_TEMPLATE', diff --git a/core/templates/dev/head/pages/admin-page/misc-tab/admin-misc-tab.directive.ts b/core/templates/dev/head/pages/admin-page/misc-tab/admin-misc-tab.directive.ts index dbd6d7742db3..29a34dd18011 100644 --- a/core/templates/dev/head/pages/admin-page/misc-tab/admin-misc-tab.directive.ts +++ b/core/templates/dev/head/pages/admin-page/misc-tab/admin-misc-tab.directive.ts @@ -21,8 +21,6 @@ require('pages/admin-page/services/admin-task-manager.service.ts'); require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminMiscTab', [ '$http', '$window', 'AdminTaskManagerService', 'UrlInterpolationService', 'ADMIN_HANDLER_URL', 'ADMIN_TOPICS_CSV_DOWNLOAD_HANDLER_URL', diff --git a/core/templates/dev/head/pages/admin-page/navbar/admin-navbar.directive.ts b/core/templates/dev/head/pages/admin-page/navbar/admin-navbar.directive.ts index c00f77e63880..ad469a8cd1cd 100644 --- a/core/templates/dev/head/pages/admin-page/navbar/admin-navbar.directive.ts +++ b/core/templates/dev/head/pages/admin-page/navbar/admin-navbar.directive.ts @@ -22,8 +22,6 @@ require('services/UserService.ts'); require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminNavbar', [ 'AdminRouterService', 'UrlInterpolationService', 'ADMIN_TAB_URLS', 'LOGOUT_URL', 'PROFILE_URL_TEMPLATE', diff --git a/core/templates/dev/head/pages/admin-page/roles-tab/admin-roles-tab.directive.ts b/core/templates/dev/head/pages/admin-page/roles-tab/admin-roles-tab.directive.ts index 81c55eb50fa9..a78b5659bd27 100644 --- a/core/templates/dev/head/pages/admin-page/roles-tab/admin-roles-tab.directive.ts +++ b/core/templates/dev/head/pages/admin-page/roles-tab/admin-roles-tab.directive.ts @@ -23,8 +23,6 @@ require('pages/admin-page/services/admin-task-manager.service.ts'); require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('adminRolesTab', [ '$http', 'AdminTaskManagerService', 'UrlInterpolationService', 'ADMIN_ROLE_HANDLER_URL', diff --git a/core/templates/dev/head/pages/admin-page/roles-tab/role-graph.directive.ts b/core/templates/dev/head/pages/admin-page/roles-tab/role-graph.directive.ts index 3a73a0f223b2..339206cbfdca 100644 --- a/core/templates/dev/head/pages/admin-page/roles-tab/role-graph.directive.ts +++ b/core/templates/dev/head/pages/admin-page/roles-tab/role-graph.directive.ts @@ -20,8 +20,6 @@ require('components/graph-services/graph-layout.service.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('filters/string-utility-filters/truncate.filter.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('roleGraph', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/admin-page/services/admin-router.service.ts b/core/templates/dev/head/pages/admin-page/services/admin-router.service.ts index c2462041a29c..5d134395b4d2 100644 --- a/core/templates/dev/head/pages/admin-page/services/admin-router.service.ts +++ b/core/templates/dev/head/pages/admin-page/services/admin-router.service.ts @@ -19,8 +19,6 @@ require('pages/admin-page/admin-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AdminRouterService', [ 'ADMIN_TAB_URLS', function(ADMIN_TAB_URLS) { diff --git a/core/templates/dev/head/pages/admin-page/services/admin-task-manager.service.ts b/core/templates/dev/head/pages/admin-page/services/admin-task-manager.service.ts index 301aef1950de..c0a2343760a8 100644 --- a/core/templates/dev/head/pages/admin-page/services/admin-task-manager.service.ts +++ b/core/templates/dev/head/pages/admin-page/services/admin-task-manager.service.ts @@ -17,8 +17,6 @@ * page. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AdminTaskManagerService', [ function() { var taskIsRunning = false; diff --git a/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.constants.ts b/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.constants.ts index 603233c729f7..9fa2a225804c 100644 --- a/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.constants.ts +++ b/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.constants.ts @@ -17,8 +17,6 @@ */ // TODO(bhenning): These constants should be provided by the backend. -var oppia = require('AppInit.ts').module; - oppia.constant( 'EDITABLE_COLLECTION_DATA_URL_TEMPLATE', '/collection_editor_handler/data/'); diff --git a/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.directive.ts b/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.directive.ts index 1899feae0cf6..feb58475da92 100644 --- a/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.directive.ts @@ -35,8 +35,6 @@ require('services/PageTitleService.ts'); require('pages/collection-editor-page/collection-editor-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionEditorPage', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.scripts.ts b/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.scripts.ts index a6419112b664..8a992ac6ce1c 100644 --- a/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.scripts.ts +++ b/core/templates/dev/head/pages/collection-editor-page/collection-editor-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directives required in collection editor. */ -require('App.ts'); - require('pages/collection-editor-page/collection-editor-page.directive.ts'); require( 'pages/collection-editor-page/navbar/' + diff --git a/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-editor-tab.directive.ts b/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-editor-tab.directive.ts index 156a03fc87cd..e9ac141e9f15 100644 --- a/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-editor-tab.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-editor-tab.directive.ts @@ -29,8 +29,6 @@ require( require( 'pages/collection-editor-page/services/collection-linearizer.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionEditorTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-creator.directive.ts b/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-creator.directive.ts index f88e92479dce..21c537b37f10 100644 --- a/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-creator.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-creator.directive.ts @@ -30,8 +30,6 @@ require('services/AlertsService.ts'); require('services/SiteAnalyticsService.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionNodeCreator', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-editor.directive.ts b/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-editor.directive.ts index 92b2af8bb9bf..5dc8f5b639d6 100644 --- a/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-editor.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/editor-tab/collection-node-editor.directive.ts @@ -26,8 +26,6 @@ require( 'pages/collection-editor-page/services/collection-linearizer.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionNodeEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/history-tab/collection-history-tab.directive.ts b/core/templates/dev/head/pages/collection-editor-page/history-tab/collection-history-tab.directive.ts index 7e645d5a4b16..0524edab8def 100644 --- a/core/templates/dev/head/pages/collection-editor-page/history-tab/collection-history-tab.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/history-tab/collection-history-tab.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionHistoryTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar-breadcrumb.directive.ts index 4a33b2f5fe4c..f9b9d5f11222 100644 --- a/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar-breadcrumb.directive.ts @@ -28,8 +28,6 @@ require('services/stateful/FocusManagerService.ts'); // support both displaying the current title of the collection (or untitled if // it does not yet have one) or setting a new title in the case of an untitled // collection. -var oppia = require('AppInit.ts').module; - oppia.directive('collectionEditorNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar.directive.ts b/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar.directive.ts index 08e63a6a1425..5c886ca2ad84 100644 --- a/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/navbar/collection-editor-navbar.directive.ts @@ -33,8 +33,6 @@ require( require('pages/exploration-editor-page/services/router.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionEditorNavbar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/services/collection-editor-state.service.ts b/core/templates/dev/head/pages/collection-editor-page/services/collection-editor-state.service.ts index 99c90866bc9e..c01bdd1d1c46 100644 --- a/core/templates/dev/head/pages/collection-editor-page/services/collection-editor-state.service.ts +++ b/core/templates/dev/head/pages/collection-editor-page/services/collection-editor-state.service.ts @@ -27,8 +27,6 @@ require('services/AlertsService.ts'); require('pages/collection-editor-page/collection-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionEditorStateService', [ '$rootScope', 'AlertsService', 'CollectionObjectFactory', 'CollectionRightsBackendApiService', 'CollectionRightsObjectFactory', diff --git a/core/templates/dev/head/pages/collection-editor-page/services/collection-linearizer.service.ts b/core/templates/dev/head/pages/collection-editor-page/services/collection-linearizer.service.ts index edfbbb80aa65..d0d24bf42415 100644 --- a/core/templates/dev/head/pages/collection-editor-page/services/collection-linearizer.service.ts +++ b/core/templates/dev/head/pages/collection-editor-page/services/collection-linearizer.service.ts @@ -20,8 +20,6 @@ require('domain/collection/CollectionUpdateService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CollectionLinearizerService', [ 'CollectionUpdateService', function(CollectionUpdateService) { diff --git a/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-details-editor.directive.ts b/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-details-editor.directive.ts index e69e51658b68..7a1d8a487045 100644 --- a/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-details-editor.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-details-editor.directive.ts @@ -29,8 +29,6 @@ require( 'pages/collection-editor-page/services/collection-editor-state.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionDetailsEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-permissions-card.directive.ts b/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-permissions-card.directive.ts index 0a9ed3507cbd..1f4aee30eb04 100644 --- a/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-permissions-card.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-permissions-card.directive.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require( 'pages/collection-editor-page/services/collection-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionPermissionsCard', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-settings-tab.directive.ts b/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-settings-tab.directive.ts index 858d17c0cadb..d980e3720918 100644 --- a/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-settings-tab.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/settings-tab/collection-settings-tab.directive.ts @@ -25,8 +25,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionSettingsTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-editor-page/statistics-tab/collection-statistics-tab.directive.ts b/core/templates/dev/head/pages/collection-editor-page/statistics-tab/collection-statistics-tab.directive.ts index 97fabf20b7ea..994ed56db08c 100644 --- a/core/templates/dev/head/pages/collection-editor-page/statistics-tab/collection-statistics-tab.directive.ts +++ b/core/templates/dev/head/pages/collection-editor-page/statistics-tab/collection-statistics-tab.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionStatisticsTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-player-page/collection-footer/collection-footer.directive.ts b/core/templates/dev/head/pages/collection-player-page/collection-footer/collection-footer.directive.ts index 557061253f1e..99c10517bf59 100644 --- a/core/templates/dev/head/pages/collection-player-page/collection-footer/collection-footer.directive.ts +++ b/core/templates/dev/head/pages/collection-player-page/collection-footer/collection-footer.directive.ts @@ -23,8 +23,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionFooter', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-player-page/collection-local-nav/collection-local-nav.directive.ts b/core/templates/dev/head/pages/collection-player-page/collection-local-nav/collection-local-nav.directive.ts index 087c3783157a..83d357d82921 100644 --- a/core/templates/dev/head/pages/collection-player-page/collection-local-nav/collection-local-nav.directive.ts +++ b/core/templates/dev/head/pages/collection-player-page/collection-local-nav/collection-local-nav.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for the local navigation in the collection view. */ -var oppia = require('AppInit.ts').module; - oppia.directive('collectionLocalNav', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-player-page/collection-node-list/collection-node-list.directive.ts b/core/templates/dev/head/pages/collection-player-page/collection-node-list/collection-node-list.directive.ts index c7268b77bccd..55ca76ce0cf5 100644 --- a/core/templates/dev/head/pages/collection-player-page/collection-node-list/collection-node-list.directive.ts +++ b/core/templates/dev/head/pages/collection-player-page/collection-node-list/collection-node-list.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('collectionNodeList', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/collection-player-page/collection-player-page.directive.ts b/core/templates/dev/head/pages/collection-player-page/collection-player-page.directive.ts index 9a068dd8a8fd..7dc35f1ad37c 100644 --- a/core/templates/dev/head/pages/collection-player-page/collection-player-page.directive.ts +++ b/core/templates/dev/head/pages/collection-player-page/collection-player-page.directive.ts @@ -39,8 +39,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); require('services/PageTitleService.ts'); -var oppia = require('AppInit.ts').module; - oppia.animation('.oppia-collection-animate-slide', function() { return { enter: function(element) { diff --git a/core/templates/dev/head/pages/collection-player-page/collection-player-page.scripts.ts b/core/templates/dev/head/pages/collection-player-page/collection-player-page.scripts.ts index eb4013ea6b86..d7ab7d44969c 100644 --- a/core/templates/dev/head/pages/collection-player-page/collection-player-page.scripts.ts +++ b/core/templates/dev/head/pages/collection-player-page/collection-player-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directives required in collection player. */ -require('App.ts'); - require( 'pages/collection-player-page/collection-footer/' + 'collection-footer.directive.ts'); diff --git a/core/templates/dev/head/pages/contact-page/contact-page.scripts.ts b/core/templates/dev/head/pages/contact-page/contact-page.scripts.ts index 302a97e3f8a0..3c8e858bb9af 100644 --- a/core/templates/dev/head/pages/contact-page/contact-page.scripts.ts +++ b/core/templates/dev/head/pages/contact-page/contact-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview File to import necessary scripts for contact page. */ -require('App.ts'); - require('base_components/BaseContentDirective.ts'); require( 'components/common-layout-directives/common-elements/' + diff --git a/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.constants.ts b/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.constants.ts index 1eaa91af0064..5bb45db4fef9 100644 --- a/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.constants.ts +++ b/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the creator dashboard. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'EXPLORATION_DROPDOWN_STATS', { OPEN_FEEDBACK: 'open_feedback' diff --git a/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.controller.ts b/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.controller.ts index 638de12e85e0..5401c228e15b 100644 --- a/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.controller.ts +++ b/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.controller.ts @@ -85,8 +85,6 @@ require('services/UserService.ts'); require('pages/creator-dashboard-page/creator-dashboard-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('creatorDashboardPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.scripts.ts b/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.scripts.ts index 6718f7447b6c..f6c9fa5cff7f 100644 --- a/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.scripts.ts +++ b/core/templates/dev/head/pages/creator-dashboard-page/creator-dashboard-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directive scripts for the creator dashboard. */ -require('App.ts'); - require('pages/creator-dashboard-page/creator-dashboard-page.controller.ts'); diff --git a/core/templates/dev/head/pages/creator-dashboard-page/suggestion-modal-for-creator-view/suggestion-modal-for-creator-view.service.ts b/core/templates/dev/head/pages/creator-dashboard-page/suggestion-modal-for-creator-view/suggestion-modal-for-creator-view.service.ts index 00ba75317c4f..9e16d991c7db 100644 --- a/core/templates/dev/head/pages/creator-dashboard-page/suggestion-modal-for-creator-view/suggestion-modal-for-creator-view.service.ts +++ b/core/templates/dev/head/pages/creator-dashboard-page/suggestion-modal-for-creator-view/suggestion-modal-for-creator-view.service.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/SuggestionModalService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionModalForCreatorDashboardService', [ '$http', '$log', '$rootScope', '$uibModal', 'UrlInterpolationService', diff --git a/core/templates/dev/head/pages/donate-page/donate-page.controller.ts b/core/templates/dev/head/pages/donate-page/donate-page.controller.ts index 5cfe5e58b57d..4df68bf1fa9a 100644 --- a/core/templates/dev/head/pages/donate-page/donate-page.controller.ts +++ b/core/templates/dev/head/pages/donate-page/donate-page.controller.ts @@ -22,8 +22,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/SiteAnalyticsService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('donatePage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/donate-page/donate-page.scripts.ts b/core/templates/dev/head/pages/donate-page/donate-page.scripts.ts index d8bb231a9f33..83fe756d77eb 100644 --- a/core/templates/dev/head/pages/donate-page/donate-page.scripts.ts +++ b/core/templates/dev/head/pages/donate-page/donate-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the donate page. */ -require('App.ts'); - require('pages/OppiaFooterDirective.ts'); require('pages/donate-page/donate-page.controller.ts'); diff --git a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-data.service.ts b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-data.service.ts index 9665daa67f76..fa1950fc6978 100644 --- a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-data.service.ts +++ b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-data.service.ts @@ -16,8 +16,6 @@ * @fileoverview Services for oppia email dashboard page. */ -var oppia = require('AppInit.ts').module; - oppia.factory('EmailDashboardDataService', [ '$http', '$q', function($http, $q) { var QUERY_DATA_URL = '/emaildashboarddatahandler'; diff --git a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.controller.ts b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.controller.ts index 5b20e39125e3..b33fddc9026e 100644 --- a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.controller.ts +++ b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.controller.ts @@ -21,8 +21,6 @@ require('base_components/BaseContentDirective.ts'); require('pages/email-dashboard-pages/email-dashboard-data.service.ts'); require('services/UserService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('emailDashboardPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.scripts.ts b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.scripts.ts index eb8d71da237d..24afdd87d964 100644 --- a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.scripts.ts +++ b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directive scripts for oppia email dashboard page. */ -require('App.ts'); - require('pages/email-dashboard-pages/email-dashboard-page.controller.ts'); diff --git a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.controller.ts b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.controller.ts index ee24ada2c580..74bf6dd8f480 100644 --- a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.controller.ts +++ b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.controller.ts @@ -20,8 +20,6 @@ require('base_components/BaseContentDirective.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('emailDashboardResultPage', [ 'UrlInterpolationService', function( UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.scripts.ts b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.scripts.ts index 213b5a4cee3d..31a56d33d028 100644 --- a/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.scripts.ts +++ b/core/templates/dev/head/pages/email-dashboard-pages/email-dashboard-result.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directive scripts for oppia email dashboard page. */ -require('App.ts'); - require('pages/email-dashboard-pages/email-dashboard-result.controller.ts'); diff --git a/core/templates/dev/head/pages/error-pages/error-page.controller.ts b/core/templates/dev/head/pages/error-pages/error-page.controller.ts index 652cd8744879..eda6cd0ce442 100644 --- a/core/templates/dev/head/pages/error-pages/error-page.controller.ts +++ b/core/templates/dev/head/pages/error-pages/error-page.controller.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/PageTitleService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('errorPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/error-pages/error-page.scripts.ts b/core/templates/dev/head/pages/error-pages/error-page.scripts.ts index 4ae80df7c63e..0679f9c91e59 100644 --- a/core/templates/dev/head/pages/error-pages/error-page.scripts.ts +++ b/core/templates/dev/head/pages/error-pages/error-page.scripts.ts @@ -16,7 +16,5 @@ * @fileoverview Directive scripts for the error page. */ -require('App.ts'); - require('pages/OppiaFooterDirective.ts'); require('pages/error-pages/error-page.controller.ts'); diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navbar-breadcrumb.directive.ts index fbe226d122c9..0dfc420fcdc3 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navbar-breadcrumb.directive.ts @@ -22,8 +22,6 @@ require('pages/exploration-editor-page/services/exploration-title.service.ts'); require('pages/exploration-editor-page/services/router.service.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('editorNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navigation.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navigation.directive.ts index d9edc5c42ddb..6a40876853b7 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navigation.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-navigation/editor-navigation.directive.ts @@ -33,8 +33,6 @@ require('services/SiteAnalyticsService.ts'); require('services/UserService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('editorNavigation', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/exploration-editor-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/exploration-editor-tab.directive.ts index d457e0cc55e9..9d04b3d896fb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/exploration-editor-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/exploration-editor-tab.directive.ts @@ -49,8 +49,6 @@ require('services/AlertsService.ts'); require('services/ContextService.ts'); require('services/ExplorationFeaturesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationEditorTab', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/exploration-graph.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/exploration-graph.directive.ts index 9e0aaba61c7b..80f1ddf9ea30 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/exploration-graph.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/exploration-graph.directive.ts @@ -26,8 +26,6 @@ require( require('services/AlertsService.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationGraph', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/state-graph-visualization.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/state-graph-visualization.directive.ts index 93a995e10549..15858ccc025c 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/state-graph-visualization.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/graph-directives/state-graph-visualization.directive.ts @@ -26,8 +26,6 @@ require( 'translation-status.service.ts'); /* eslint-disable angular/directive-restrict */ -var oppia = require('AppInit.ts').module; - oppia.directive('stateGraphVisualization', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/answer-groups-cache.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/answer-groups-cache.service.ts index 3222bfcfbdfa..77cdae7e0dea 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/answer-groups-cache.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/answer-groups-cache.service.ts @@ -19,8 +19,6 @@ * This cache should be reset each time the state editor is initialized. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AnswerGroupsCacheService', [function() { var _cache = {}; return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/interaction-details-cache.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/interaction-details-cache.service.ts index 142539b69189..a951c153b20d 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/interaction-details-cache.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/interaction-details-cache.service.ts @@ -20,8 +20,6 @@ * editor is initialized. */ -var oppia = require('AppInit.ts').module; - oppia.factory('InteractionDetailsCacheService', [function() { var _cache = {}; return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/responses.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/responses.service.ts index b6be21ba5b19..b57930c98aac 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/responses.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/responses.service.ts @@ -38,8 +38,6 @@ require('services/ContextService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ResponsesService', [ '$rootScope', 'AlertsService', 'AnswerGroupsCacheService', 'ContextService', 'OutcomeObjectFactory', diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-validity.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-validity.service.ts index e08be68fa1fb..d30c93fe74ba 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-validity.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-validity.service.ts @@ -16,8 +16,6 @@ * @fileoverview Service for keeping track of solution validity. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SolutionValidityService', [ function() { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-verification.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-verification.service.ts index 36c384d2ae33..3ce2b15b9d84 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-verification.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/services/solution-verification.service.ts @@ -23,8 +23,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-editor.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SolutionVerificationService', [ '$injector', 'AngularNameService', 'AnswerClassificationService', 'StateEditorService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-name-editor/state-name-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-name-editor/state-name-editor.directive.ts index 014ae1dc1543..c0e907f4721b 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-name-editor/state-name-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-name-editor/state-name-editor.directive.ts @@ -27,8 +27,6 @@ require( require('services/EditabilityService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateNameEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-param-changes-editor/state-param-changes-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-param-changes-editor/state-param-changes-editor.directive.ts index 934929024d8b..67cc14981d07 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-param-changes-editor/state-param-changes-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/state-param-changes-editor/state-param-changes-editor.directive.ts @@ -28,8 +28,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateParamChangesEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/test-interaction-panel/test-interaction-panel.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/test-interaction-panel/test-interaction-panel.directive.ts index 1632c4655bf9..0d84c1f417ea 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/test-interaction-panel/test-interaction-panel.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/test-interaction-panel/test-interaction-panel.directive.ts @@ -23,8 +23,6 @@ require( require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('testInteractionPanel', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data-editor-panel.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data-editor-panel.service.ts index d45e2e6f00d9..ff06d732f3bb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data-editor-panel.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data-editor-panel.service.ts @@ -47,8 +47,6 @@ require('services/ContextService.ts'); require('services/ExplorationHtmlFormatterService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TrainingDataEditorPanelService', [ '$rootScope', '$uibModal', 'AlertsService', 'UrlInterpolationService', function($rootScope, $uibModal, AlertsService, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data.service.ts index dbc430649455..3b5fdd0b7b22 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-data.service.ts @@ -27,8 +27,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-editor.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TrainingDataService', [ '$http', '$rootScope', 'ExplorationStatesService', 'GraphDataService', 'ResponsesService', 'RuleObjectFactory', 'StateEditorService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-modal.service.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-modal.service.ts index 998329e9c80a..1fb2fad44933 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-modal.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-modal.service.ts @@ -44,8 +44,6 @@ require( require('services/AlertsService.ts'); require('services/ContextService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TrainingModalService', [ '$rootScope', '$uibModal', 'AlertsService', 'UrlInterpolationService', function($rootScope, $uibModal, AlertsService, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-panel.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-panel.directive.ts index 7f77964e1a58..e612e6a40ef3 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-panel.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/training-panel/training-panel.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for the training panel in the state editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('trainingPanel', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/unresolved-answers-overview/unresolved-answers-overview.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/unresolved-answers-overview/unresolved-answers-overview.directive.ts index b9fdafc35f4e..525fb5784b39 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/editor-tab/unresolved-answers-overview/unresolved-answers-overview.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/editor-tab/unresolved-answers-overview/unresolved-answers-overview.directive.ts @@ -31,8 +31,6 @@ require('services/StateTopAnswersStatsService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('unresolvedAnswersOverview', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.constants.ts b/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.constants.ts index dad3bd08051b..111a67462266 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.constants.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.constants.ts @@ -17,8 +17,6 @@ * help tab in the navbar. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'EXPLORATION_TITLE_INPUT_FOCUS_LABEL', 'explorationTitleInputFocusLabel'); diff --git a/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.controller.ts b/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.controller.ts index 14548c110c16..1a990d376d49 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.controller.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.controller.ts @@ -259,8 +259,6 @@ require('services/StateTopAnswersStatsService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationEditorPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.scripts.ts b/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.scripts.ts index 5b0670aa3a94..7a45d1d2eeeb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.scripts.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/exploration-editor-page.scripts.ts @@ -17,8 +17,6 @@ * help tab in the navbar. */ -require('App.ts'); - require( 'pages/exploration-editor-page/editor-navigation/' + 'editor-navbar-breadcrumb.directive.ts'); diff --git a/core/templates/dev/head/pages/exploration-editor-page/exploration-objective-editor/exploration-objective-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/exploration-objective-editor/exploration-objective-editor.directive.ts index 4ddd29a52d8e..03950f9fdd81 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/exploration-objective-editor/exploration-objective-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/exploration-objective-editor/exploration-objective-editor.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require( 'pages/exploration-editor-page/services/exploration-objective.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationObjectiveEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/exploration-save-and-publish-buttons/exploration-save-and-publish-buttons.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/exploration-save-and-publish-buttons/exploration-save-and-publish-buttons.directive.ts index 8b0efa7b2721..e76c963bd2dd 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/exploration-save-and-publish-buttons/exploration-save-and-publish-buttons.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/exploration-save-and-publish-buttons/exploration-save-and-publish-buttons.directive.ts @@ -28,8 +28,6 @@ require( 'pages/exploration-editor-page/services/exploration-warnings.service.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationSaveAndPublishButtons', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/exploration-title-editor/exploration-title-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/exploration-title-editor/exploration-title-editor.directive.ts index b043cd962254..b57357571546 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/exploration-title-editor/exploration-title-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/exploration-title-editor/exploration-title-editor.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationTitleEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/feedback-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/feedback-tab.directive.ts index 81648226e600..bed365cce911 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/feedback-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/feedback-tab.directive.ts @@ -34,8 +34,6 @@ require('services/UserService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('feedbackTab', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-data.service.ts b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-data.service.ts index 98ba12ce5fd1..b921149ac600 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-data.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-data.service.ts @@ -25,8 +25,6 @@ require('services/AlertsService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ThreadDataService', [ '$http', '$log', '$q', 'AlertsService', 'ExplorationDataService', 'FeedbackThreadObjectFactory', 'SuggestionObjectFactory', diff --git a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-status-display.service.ts b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-status-display.service.ts index 831a7a50b5de..56e9c2d44593 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-status-display.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/services/thread-status-display.service.ts @@ -17,8 +17,6 @@ * status label for a thread in the feedback tab of the exploration editor. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ThreadStatusDisplayService', [function() { var _STATUS_CHOICES = [{ id: 'open', diff --git a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/thread-table/thread-table.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/thread-table/thread-table.directive.ts index 718203ce211f..dea9ec745362 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/thread-table/thread-table.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/feedback-tab/thread-table/thread-table.directive.ts @@ -25,8 +25,6 @@ require( 'thread-status-display.service.ts'); require('services/DateTimeFormatService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('threadTable', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/history-tab/history-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/history-tab/history-tab.directive.ts index 3c5f03eaa610..26ae60d8dc0d 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/history-tab/history-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/history-tab/history-tab.directive.ts @@ -31,8 +31,6 @@ require( require('services/DateTimeFormatService.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('historyTab', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/compare-versions.service.ts b/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/compare-versions.service.ts index cbb1d489ca3c..367dc5b38509 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/compare-versions.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/compare-versions.service.ts @@ -24,8 +24,6 @@ require('pages/exploration-editor-page/services/exploration-diff.service.ts'); require( 'pages/exploration-editor-page/history-tab/services/version-tree.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CompareVersionsService', [ '$http', '$q', 'ExplorationDataService', 'ExplorationDiffService', 'ReadOnlyExplorationBackendApiService', 'StateObjectFactory', diff --git a/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/version-tree.service.ts b/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/version-tree.service.ts index fc155cc5de5a..c9f9ca16288c 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/version-tree.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/history-tab/services/version-tree.service.ts @@ -17,8 +17,6 @@ * tree. */ -var oppia = require('AppInit.ts').module; - oppia.factory('VersionTreeService', [function() { var _snapshots = null; var _treeParents = null; diff --git a/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/improvements-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/improvements-tab.directive.ts index 629e4e6eef1f..d07231f7dff2 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/improvements-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/improvements-tab.directive.ts @@ -25,8 +25,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); require('services/ImprovementCardService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('improvementsTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/playthrough-improvement-card/playthrough-improvement-card.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/playthrough-improvement-card/playthrough-improvement-card.directive.ts index 0dc6c16fae2c..c4156ee2c062 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/playthrough-improvement-card/playthrough-improvement-card.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/improvements-tab/playthrough-improvement-card/playthrough-improvement-card.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/PlaythroughIssuesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('playthroughImprovementCard', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/param-changes-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/param-changes-editor.directive.ts index 4bb5882cb462..729fb82c61ed 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/param-changes-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/param-changes-editor.directive.ts @@ -34,8 +34,6 @@ require( require('services/AlertsService.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('paramChangesEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/value-generator-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/value-generator-editor.directive.ts index 4eb8f6e98681..252ec2041a8c 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/value-generator-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/param-changes-editor/value-generator-editor.directive.ts @@ -19,8 +19,6 @@ // Individual value generator directives can be found in // extensions/value_generators/templates. -var oppia = require('AppInit.ts').module; - oppia.directive('valueGeneratorEditor', ['$compile', function($compile) { return { restrict: 'E', diff --git a/core/templates/dev/head/pages/exploration-editor-page/preview-tab/preview-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/preview-tab/preview-tab.directive.ts index d3df38a982f6..a8b981d22e81 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/preview-tab/preview-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/preview-tab/preview-tab.directive.ts @@ -46,8 +46,6 @@ require( require('services/ContextService.ts'); require('services/ExplorationFeaturesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('previewTab', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/angular-name.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/angular-name.service.ts index 9524c16cd22d..2f6eda3869b7 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/angular-name.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/angular-name.service.ts @@ -16,8 +16,6 @@ * @fileoverview A service that maps IDs to Angular names. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AngularNameService', [function() { var angularName = null; diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/autosave-info-modals.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/autosave-info-modals.service.ts index e047408c1251..314f0de69d4a 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/autosave-info-modals.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/autosave-info-modals.service.ts @@ -24,8 +24,6 @@ require( require('pages/exploration-editor-page/services/exploration-data.service.ts'); require('services/LocalStorageService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AutosaveInfoModalsService', [ '$log', '$timeout', '$uibModal', '$window', 'ChangesInHumanReadableFormService', 'ExplorationDataService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/change-list.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/change-list.service.ts index a58d2e5b3434..79fb8964e4ac 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/change-list.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/change-list.service.ts @@ -22,8 +22,6 @@ require( require('pages/exploration-editor-page/services/exploration-data.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ChangeListService', [ '$log', '$rootScope', 'AlertsService', 'AutosaveInfoModalsService', 'ExplorationDataService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/changes-in-human-readable-form.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/changes-in-human-readable-form.service.ts index 1be8ba30dc4d..125aa7bcd639 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/changes-in-human-readable-form.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/changes-in-human-readable-form.service.ts @@ -18,8 +18,6 @@ require('services/UtilsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ChangesInHumanReadableFormService', [ 'UtilsService', function(UtilsService) { var CMD_ADD_STATE = 'add_state'; diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/editor-first-time-events.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/editor-first-time-events.service.ts index c96ab713ddc0..c6cc380d8d0f 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/editor-first-time-events.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/editor-first-time-events.service.ts @@ -20,8 +20,6 @@ require('services/SiteAnalyticsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EditorFirstTimeEventsService', [ 'SiteAnalyticsService', function(SiteAnalyticsService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-automatic-text-to-speech.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-automatic-text-to-speech.service.ts index c1f99d3d865c..0422beb0f85a 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-automatic-text-to-speech.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-automatic-text-to-speech.service.ts @@ -20,8 +20,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationAutomaticTextToSpeechService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { var child = Object.create(ExplorationPropertyService); diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-category.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-category.service.ts index a667dafe5059..ab22688bdd9c 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-category.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-category.service.ts @@ -23,8 +23,6 @@ require( require('pages/exploration-editor-page/services/exploration-rights.service.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationCategoryService', [ '$filter', 'ExplorationPropertyService', 'ExplorationRightsService', 'ValidatorsService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-correctness-feedback.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-correctness-feedback.service.ts index 7570397cf1e1..576492b8248b 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-correctness-feedback.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-correctness-feedback.service.ts @@ -20,8 +20,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationCorrectnessFeedbackService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { var child = Object.create(ExplorationPropertyService); diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-data.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-data.service.ts index e9e662ed55a1..8fbacced2ccd 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-data.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-data.service.ts @@ -23,8 +23,6 @@ require('services/AlertsService.ts'); require('services/LocalStorageService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationDataService', [ '$http', '$log', '$q', '$window', 'AlertsService', 'EditableExplorationBackendApiService', 'LocalStorageService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-diff.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-diff.service.ts index 3b5827361738..1664db6d01b8 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-diff.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-diff.service.ts @@ -18,8 +18,6 @@ require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationDiffService', [ 'INTERACTION_SPECS', function(INTERACTION_SPECS) { var STATE_PROPERTY_ADDED = 'added'; diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-init-state-name.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-init-state-name.service.ts index 06a2740831f3..a02b579306eb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-init-state-name.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-init-state-name.service.ts @@ -22,8 +22,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationInitStateNameService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { var child = Object.create(ExplorationPropertyService); diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-language-code.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-language-code.service.ts index e8bf31f0f8a9..f594ccd5bdab 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-language-code.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-language-code.service.ts @@ -20,8 +20,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationLanguageCodeService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { var child = Object.create(ExplorationPropertyService); diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-objective.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-objective.service.ts index 23b473d06682..10ed13b36c41 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-objective.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-objective.service.ts @@ -23,8 +23,6 @@ require( require('pages/exploration-editor-page/services/exploration-rights.service.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationObjectiveService', [ '$filter', 'ExplorationPropertyService', 'ExplorationRightsService', 'ValidatorsService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-changes.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-changes.service.ts index 381ec2c2fce5..bb59a54999e8 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-changes.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-changes.service.ts @@ -20,8 +20,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationParamChangesService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { var child = Object.create(ExplorationPropertyService); diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-specs.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-specs.service.ts index d45365aad8cf..93bd219f14b3 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-specs.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-param-specs.service.ts @@ -20,8 +20,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationParamSpecsService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { var child = Object.create(ExplorationPropertyService); diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-property.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-property.service.ts index 5917270f033d..55373dc77868 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-property.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-property.service.ts @@ -21,8 +21,6 @@ require('pages/exploration-editor-page/services/change-list.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationPropertyService', [ '$log', '$rootScope', 'AlertsService', 'ChangeListService', function($log, $rootScope, AlertsService, ChangeListService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-rights.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-rights.service.ts index b7c958e54df2..3bada8ed2d8b 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-rights.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-rights.service.ts @@ -20,8 +20,6 @@ require('pages/exploration-editor-page/services/exploration-data.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationRightsService', [ '$http', 'AlertsService', 'ExplorationDataService', 'ACTIVITY_STATUS_PRIVATE', 'ACTIVITY_STATUS_PUBLIC', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-save.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-save.service.ts index 1704edfc8660..925dd471776d 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-save.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-save.service.ts @@ -51,8 +51,6 @@ require('services/ContextService.ts'); require('services/SiteAnalyticsService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationSaveService', [ '$log', '$q', '$rootScope', '$timeout', '$uibModal', '$window', 'AlertsService', 'AutosaveInfoModalsService', 'ChangeListService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-states.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-states.service.ts index f1091a9a5166..8e9d43d627b9 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-states.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-states.service.ts @@ -38,8 +38,6 @@ require('services/AlertsService.ts'); require('services/ContextService.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationStatesService', [ '$filter', '$injector', '$location', '$log', '$q', '$rootScope', '$uibModal', 'AlertsService', 'AngularNameService', 'AnswerClassificationService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-tags.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-tags.service.ts index ba241c854330..f3874927bfce 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-tags.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-tags.service.ts @@ -19,8 +19,6 @@ require( 'pages/exploration-editor-page/services/exploration-property.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationTagsService', [ 'ExplorationPropertyService', function(ExplorationPropertyService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-title.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-title.service.ts index e22daf066d96..9800dd642c95 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-title.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-title.service.ts @@ -23,8 +23,6 @@ require( require('pages/exploration-editor-page/services/exploration-rights.service.ts'); require('services/ValidatorsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationTitleService', [ '$filter', 'ExplorationPropertyService', 'ExplorationRightsService', 'ValidatorsService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-warnings.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-warnings.service.ts index 54ba36348107..39ef38d5d050 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/exploration-warnings.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/exploration-warnings.service.ts @@ -31,8 +31,6 @@ require('services/StateTopAnswersStatsService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationWarningsService', [ '$injector', 'ExplorationParamChangesService', 'ExplorationStatesService', 'ExpressionInterpolationService', 'GraphDataService', 'ImprovementsService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/graph-data.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/graph-data.service.ts index a6593ab30448..c83952e09950 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/graph-data.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/graph-data.service.ts @@ -22,8 +22,6 @@ require( require('pages/exploration-editor-page/services/exploration-states.service.ts'); require('services/ComputeGraphService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('GraphDataService', [ 'ComputeGraphService', 'ExplorationInitStateNameService', 'ExplorationStatesService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/parameter-metadata.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/parameter-metadata.service.ts index 6cad1cd7f492..9689689b03de 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/parameter-metadata.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/parameter-metadata.service.ts @@ -26,8 +26,6 @@ require('pages/exploration-editor-page/services/graph-data.service.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ParameterMetadataService', [ 'ExplorationParamChangesService', 'ExplorationStatesService', 'ExpressionInterpolationService', 'GraphDataService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/router.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/router.service.ts index 7abfc15930e0..e02c87a8899e 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/router.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/router.service.ts @@ -25,8 +25,6 @@ require( 'state-editor.service.ts'); require('services/ExplorationFeaturesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('RouterService', [ '$interval', '$location', '$rootScope', '$timeout', '$window', 'ExplorationFeaturesService', 'ExplorationInitStateNameService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/state-tutorial-first-time.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/state-tutorial-first-time.service.ts index d506d5b97f7b..24347143bc8d 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/state-tutorial-first-time.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/state-tutorial-first-time.service.ts @@ -19,8 +19,6 @@ require( 'pages/exploration-editor-page/services/editor-first-time-events.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateTutorialFirstTimeService', [ '$http', '$rootScope', 'EditorFirstTimeEventsService', function($http, $rootScope, EditorFirstTimeEventsService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/services/user-email-preferences.service.ts b/core/templates/dev/head/pages/exploration-editor-page/services/user-email-preferences.service.ts index a560a0b77a6f..87c8cb67d347 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/services/user-email-preferences.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/services/user-email-preferences.service.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/exploration-editor-page/services/exploration-data.service.ts'); require('services/AlertsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('UserEmailPreferencesService', [ '$http', '$q', 'AlertsService', 'ExplorationDataService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/settings-tab/settings-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/settings-tab/settings-tab.directive.ts index 5754128e3a4e..60e4a7b1b440 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/settings-tab/settings-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/settings-tab/settings-tab.directive.ts @@ -68,8 +68,6 @@ require('services/ExplorationFeaturesService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('settingsTab', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/bar-chart.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/bar-chart.directive.ts index 7086a69e0cc1..dc22b35b092c 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/bar-chart.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/bar-chart.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for bar chart visualization. */ -var oppia = require('AppInit.ts').module; - oppia.directive('barChart', [function() { return { restrict: 'E', diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/pie-chart.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/pie-chart.directive.ts index c63ac2fc1bfc..a4800db62310 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/pie-chart.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/charts/pie-chart.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for pie chart visualization. */ -var oppia = require('AppInit.ts').module; - oppia.directive('pieChart', [function() { return { restrict: 'E', diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/cyclic-transitions-issue.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/cyclic-transitions-issue.directive.ts index f190d1b4c0d8..67dcb73abdb2 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/cyclic-transitions-issue.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/cyclic-transitions-issue.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); require('services/PlaythroughIssuesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('cyclicTransitionsIssue', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/early-quit-issue.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/early-quit-issue.directive.ts index a123c43c4891..786753ea3408 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/early-quit-issue.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/early-quit-issue.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); require('services/PlaythroughIssuesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('earlyQuitIssue', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/multiple-incorrect-issue.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/multiple-incorrect-issue.directive.ts index 0fab6a558556..ffc8f1fff5bb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/multiple-incorrect-issue.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/multiple-incorrect-issue.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/AlertsService.ts'); require('services/PlaythroughIssuesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('multipleIncorrectIssue', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/playthrough-issues.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/playthrough-issues.directive.ts index 615998f3af47..ba9df8556ac6 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/playthrough-issues.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/issues/playthrough-issues.directive.ts @@ -29,8 +29,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); require('services/PlaythroughIssuesService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('playthroughIssues', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/learner-action-render.service.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/learner-action-render.service.ts index ff96eaf1a0d7..1f5a2a234cf3 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/learner-action-render.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/learner-action-render.service.ts @@ -26,8 +26,6 @@ * learner actions and then returns a giant HTML string. */ -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerActionRenderService', [ '$sce', 'ACTION_TYPE_ANSWER_SUBMIT', 'ACTION_TYPE_EXPLORATION_QUIT', 'ACTION_TYPE_EXPLORATION_START', 'ISSUE_TYPE_MULTIPLE_INCORRECT_SUBMISSIONS', diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/state-improvement-suggestion.service.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/state-improvement-suggestion.service.ts index 86e255f3122c..4d018674a8b1 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/state-improvement-suggestion.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/services/state-improvement-suggestion.service.ts @@ -18,8 +18,6 @@ require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateImprovementSuggestionService', [ 'IMPROVE_TYPE_INCOMPLETE', function(IMPROVE_TYPE_INCOMPLETE) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/statistics-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/statistics-tab.directive.ts index 14b570e03bd3..43f8ebdcad17 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/statistics-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/statistics-tab/statistics-tab.directive.ts @@ -36,8 +36,6 @@ require('services/StateRulesStatsService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('statisticsTab', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/suggestion-modal-for-editor-view/suggestion-modal-for-exploration-editor.service.ts b/core/templates/dev/head/pages/exploration-editor-page/suggestion-modal-for-editor-view/suggestion-modal-for-exploration-editor.service.ts index c3e8ce57e66e..0ced94a89ab4 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/suggestion-modal-for-editor-view/suggestion-modal-for-exploration-editor.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/suggestion-modal-for-editor-view/suggestion-modal-for-exploration-editor.service.ts @@ -25,8 +25,6 @@ require( require('services/EditabilityService.ts'); require('services/SuggestionModalService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionModalForExplorationEditorService', [ '$log', '$rootScope', '$uibModal', 'ExplorationDataService', 'ExplorationStatesService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/audio-translation-bar/audio-translation-bar.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/audio-translation-bar/audio-translation-bar.directive.ts index 1bd01ea726e7..554063582ff0 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/audio-translation-bar/audio-translation-bar.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/audio-translation-bar/audio-translation-bar.directive.ts @@ -46,8 +46,6 @@ require('services/UserService.ts'); require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('audioTranslationBar', [ 'UrlInterpolationService', 'UserService', function(UrlInterpolationService, UserService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-language.service.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-language.service.ts index fc00a8f04752..d111920541fd 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-language.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-language.service.ts @@ -19,8 +19,6 @@ require('domain/utilities/LanguageUtilService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TranslationLanguageService', [ '$log', '$rootScope', 'LanguageUtilService', function($log, $rootScope, LanguageUtilService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-status.service.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-status.service.ts index f66772abbc15..c469d5780523 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-status.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-status.service.ts @@ -36,8 +36,6 @@ require( require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TranslationStatusService', [ 'ExplorationStatesService', 'StateRecordedVoiceoversService', 'StateWrittenTranslationsService', 'TranslationLanguageService', diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-content-id.service.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-content-id.service.ts index de10118c3f17..bb3d8645d3d5 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-content-id.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-content-id.service.ts @@ -23,8 +23,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-recorded-voiceovers.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TranslationTabActiveContentIdService', [ '$log', '$rootScope', 'StateRecordedVoiceoversService', function($log, $rootScope, StateRecordedVoiceoversService) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-mode.service.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-mode.service.ts index 5281e8f06da8..a78cebce4742 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-mode.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/translation-tab-active-mode.service.ts @@ -19,8 +19,6 @@ require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TranslationTabActiveModeService', [ '$rootScope', 'TRANSLATION_MODE', 'VOICEOVER_MODE', function($rootScope, TRANSLATION_MODE, VOICEOVER_MODE) { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/voiceover-recording.service.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/voiceover-recording.service.ts index 06dedfaace5e..b52d5902988e 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/voiceover-recording.service.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/services/voiceover-recording.service.ts @@ -16,8 +16,6 @@ * @fileoverview Service for handling microphone data and mp3 audio processing. */ -var oppia = require('AppInit.ts').module; - oppia.factory('VoiceoverRecordingService', ['$log', '$q', '$window', function($log, $q, $window) { var audioContextAvailable = null, diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-editor/state-translation-editor.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-editor/state-translation-editor.directive.ts index 29a9d8210362..d3d99e8e96b0 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-editor/state-translation-editor.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-editor/state-translation-editor.directive.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for the state translation editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('stateTranslationEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-status-graph/state-translation-status-graph.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-status-graph/state-translation-status-graph.directive.ts index 092d14055b32..752374bc8a0e 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-status-graph/state-translation-status-graph.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation-status-graph/state-translation-status-graph.directive.ts @@ -39,8 +39,6 @@ require( 'components/state-editor/state-editor-properties-services/' + 'state-written-translations.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateTranslationStatusGraph', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation/state-translation.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation/state-translation.directive.ts index 21a43d0d90dd..9c78a795b1ac 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation/state-translation.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/state-translation/state-translation.directive.ts @@ -51,8 +51,6 @@ require( require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stateTranslation', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translation-tab.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translation-tab.directive.ts index 4312842218cc..40cde995ecfb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translation-tab.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translation-tab.directive.ts @@ -48,8 +48,6 @@ require( require('services/ContextService.ts'); require('services/EditabilityService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('translationTab', ['UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translator-overview/translator-overview.directive.ts b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translator-overview/translator-overview.directive.ts index 21d5fc13f953..579aaf55ffdb 100644 --- a/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translator-overview/translator-overview.directive.ts +++ b/core/templates/dev/head/pages/exploration-editor-page/translation-tab/translator-overview/translator-overview.directive.ts @@ -28,8 +28,6 @@ require( require('pages/exploration-editor-page/exploration-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('translatorOverview', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.constants.ts b/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.constants.ts index f73768f70584..c696b9ad097f 100644 --- a/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.constants.ts +++ b/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants to be used in the learner view. */ -var oppia = require('AppInit.ts').module; - oppia.constant('CONTENT_FOCUS_LABEL_PREFIX', 'content-focus-label-'); oppia.constant('TWO_CARD_THRESHOLD_PX', 960); diff --git a/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.controller.ts b/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.controller.ts index 8c63e1b0688d..cff1397fe85b 100644 --- a/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.controller.ts +++ b/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.controller.ts @@ -94,8 +94,6 @@ require('domain/exploration/ReadOnlyExplorationBackendApiService.ts'); require('services/ContextService.ts'); require('services/PageTitleService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationPlayerPage', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.scripts.ts b/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.scripts.ts index 916a9f76bdc0..b450b471db95 100644 --- a/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.scripts.ts +++ b/core/templates/dev/head/pages/exploration-player-page/exploration-player-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts to be used in the learner view. */ -require('App.ts'); - require('pages/exploration-player-page/exploration-player-page.controller.ts'); require( 'pages/exploration-player-page/layout-directives/' + diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/audio-bar.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/audio-bar.directive.ts index a72f56bf6000..4d26cb61c4b2 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/audio-bar.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/audio-bar.directive.ts @@ -33,8 +33,6 @@ require('services/AudioPlayerService.ts'); require('services/AutogeneratedAudioPlayerService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('audioBar', [ 'AudioPreloaderService', 'UrlInterpolationService', function(AudioPreloaderService, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/correctness-footer.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/correctness-footer.directive.ts index 18d30548db7e..89d8a18dd626 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/correctness-footer.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/correctness-footer.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('correctnessFooter', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/exploration-footer.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/exploration-footer.directive.ts index 2a303872f44a..c451b13a64de 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/exploration-footer.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/exploration-footer.directive.ts @@ -25,8 +25,6 @@ require('services/ContextService.ts'); require('services/contextual/UrlService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('explorationFooter', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/feedback-popup.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/feedback-popup.directive.ts index dc6a57b52972..110435db6e6d 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/feedback-popup.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/feedback-popup.directive.ts @@ -36,8 +36,6 @@ require('services/stateful/FocusManagerService.ts'); // // The state-name argument is optional. If it is not provided, the feedback is // assumed to apply to the exploration as a whole. -var oppia = require('AppInit.ts').module; - oppia.directive('feedbackPopup', [ 'ExplorationEngineService', 'UrlInterpolationService', function(ExplorationEngineService, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-local-nav.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-local-nav.directive.ts index f96ffe985337..aa430052a572 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-local-nav.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-local-nav.directive.ts @@ -34,8 +34,6 @@ require('services/stateful/FocusManagerService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('learnerLocalNav', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-view-info.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-view-info.directive.ts index 1bddf49d0d6c..a420223ef094 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-view-info.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/learner-view-info.directive.ts @@ -29,8 +29,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/ContextService.ts'); require('services/DateTimeFormatService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('learnerViewInfo', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/layout-directives/progress-nav.directive.ts b/core/templates/dev/head/pages/exploration-player-page/layout-directives/progress-nav.directive.ts index 0e688c47481f..826bda42583d 100644 --- a/core/templates/dev/head/pages/exploration-player-page/layout-directives/progress-nav.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/layout-directives/progress-nav.directive.ts @@ -32,8 +32,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('progressNav', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/learner-experience/continue-button.directive.ts b/core/templates/dev/head/pages/exploration-player-page/learner-experience/continue-button.directive.ts index 28b1b40abff0..4c585255aef1 100644 --- a/core/templates/dev/head/pages/exploration-player-page/learner-experience/continue-button.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/learner-experience/continue-button.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('continueButton', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/learner-experience/conversation-skin.directive.ts b/core/templates/dev/head/pages/exploration-player-page/learner-experience/conversation-skin.directive.ts index 00eb4290d84d..213d128edd27 100644 --- a/core/templates/dev/head/pages/exploration-player-page/learner-experience/conversation-skin.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/learner-experience/conversation-skin.directive.ts @@ -102,8 +102,6 @@ var TIME_HEIGHT_CHANGE_MSEC = 500; var TIME_FADEIN_MSEC = 100; var TIME_NUM_CARDS_CHANGE_MSEC = 500; -var oppia = require('AppInit.ts').module; - oppia.animation('.conversation-skin-animate-tutor-card-on-narrow', function() { var tutorCardLeft, tutorCardWidth, tutorCardHeight, oppiaAvatarLeft; var tutorCardAnimatedLeft, tutorCardAnimatedWidth; diff --git a/core/templates/dev/head/pages/exploration-player-page/learner-experience/input-response-pair.directive.ts b/core/templates/dev/head/pages/exploration-player-page/learner-experience/input-response-pair.directive.ts index cbfd09af6825..1d79129527ac 100644 --- a/core/templates/dev/head/pages/exploration-player-page/learner-experience/input-response-pair.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/learner-experience/input-response-pair.directive.ts @@ -30,8 +30,6 @@ require('services/ExplorationHtmlFormatterService.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('inputResponsePair', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/learner-experience/supplemental-card.directive.ts b/core/templates/dev/head/pages/exploration-player-page/learner-experience/supplemental-card.directive.ts index bcd619bc7e09..1a4161b61a79 100644 --- a/core/templates/dev/head/pages/exploration-player-page/learner-experience/supplemental-card.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/learner-experience/supplemental-card.directive.ts @@ -29,8 +29,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('supplementalCard', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/exploration-player-page/learner-experience/tutor-card.directive.ts b/core/templates/dev/head/pages/exploration-player-page/learner-experience/tutor-card.directive.ts index e9b5ba25e1bb..98b936ebefd8 100644 --- a/core/templates/dev/head/pages/exploration-player-page/learner-experience/tutor-card.directive.ts +++ b/core/templates/dev/head/pages/exploration-player-page/learner-experience/tutor-card.directive.ts @@ -45,8 +45,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.animation('.conversation-skin-responses-animate-slide', function() { return { removeClass: function(element, className, done) { diff --git a/core/templates/dev/head/pages/exploration-player-page/services/answer-classification.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/answer-classification.service.ts index ca3fcaaeb912..c37a2ebcfaf4 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/answer-classification.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/answer-classification.service.ts @@ -27,8 +27,6 @@ require('services/AlertsService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AnswerClassificationService', [ 'AlertsService', 'AnswerClassificationResultObjectFactory', 'PredictionAlgorithmRegistryService', 'StateClassifierMappingService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/audio-preloader.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/audio-preloader.service.ts index 392a817d9c8d..b41eff95574f 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/audio-preloader.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/audio-preloader.service.ts @@ -25,8 +25,6 @@ require('services/AssetsBackendApiService.ts'); require('services/ComputeGraphService.ts'); require('services/ContextService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AudioPreloaderService', [ '$uibModal', 'AssetsBackendApiService', 'AudioTranslationLanguageService', 'ComputeGraphService', 'ContextService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-language.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-language.service.ts index ad3b0164fd8e..229a2fa175e6 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-language.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-language.service.ts @@ -20,8 +20,6 @@ require('domain/utilities/BrowserCheckerService.ts'); require('domain/utilities/LanguageUtilService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AudioTranslationLanguageService', [ 'BrowserCheckerService', 'LanguageUtilService', function( diff --git a/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-manager.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-manager.service.ts index c4e60b49937a..43fd8816d742 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-manager.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/audio-translation-manager.service.ts @@ -17,8 +17,6 @@ * being played or paused. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AudioTranslationManagerService', [ function() { // Audio translations for the main content of a card at the top. diff --git a/core/templates/dev/head/pages/exploration-player-page/services/current-interaction.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/current-interaction.service.ts index ddaff041181f..9d79eff58d32 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/current-interaction.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/current-interaction.service.ts @@ -19,8 +19,6 @@ * answer submission process. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CurrentInteractionService', [ function() { var _submitAnswerFn = null; diff --git a/core/templates/dev/head/pages/exploration-player-page/services/exploration-engine.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/exploration-engine.service.ts index e9c138ac0cf8..cb2271462fa7 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/exploration-engine.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/exploration-engine.service.ts @@ -55,8 +55,6 @@ require('pages/interaction-specs.constants.ts'); // The URL determines which of these it is. Some methods may need to be // implemented differently depending on whether the skin is being played // in the learner view, or whether it is being previewed in the editor view. -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationEngineService', [ '$http', '$q', '$rootScope', 'AlertsService', 'AnswerClassificationService', 'AudioPreloaderService', 'AudioTranslationLanguageService', 'ContextService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/exploration-player-state.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/exploration-player-state.service.ts index 90051a774727..45f630161626 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/exploration-player-state.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/exploration-player-state.service.ts @@ -39,8 +39,6 @@ require('services/contextual/UrlService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationPlayerStateService', [ '$log', '$q', '$rootScope', 'ContextService', 'EditableExplorationBackendApiService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/exploration-recommendations.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/exploration-recommendations.service.ts index 80a32f594b99..875f6181277d 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/exploration-recommendations.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/exploration-recommendations.service.ts @@ -20,8 +20,6 @@ require('services/ContextService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationRecommendationsService', [ '$http', 'ContextService', 'UrlService', 'EXPLORATION_EDITOR_TAB_CONTEXT', 'PAGE_CONTEXT', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/extract-image-filenames-from-state.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/extract-image-filenames-from-state.service.ts index 5842e1101937..c93c0799144c 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/extract-image-filenames-from-state.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/extract-image-filenames-from-state.service.ts @@ -18,8 +18,6 @@ require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExtractImageFilenamesFromStateService', [ 'HtmlEscaperService', function(HtmlEscaperService) { var INTERACTION_TYPE_MULTIPLE_CHOICE = 'MultipleChoiceInput'; diff --git a/core/templates/dev/head/pages/exploration-player-page/services/fatigue-detection.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/fatigue-detection.service.ts index 43d8d7ff51e0..e8fbfe04311a 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/fatigue-detection.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/fatigue-detection.service.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('FatigueDetectionService', [ '$uibModal', 'UrlInterpolationService', function($uibModal, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/exploration-player-page/services/hint-and-solution-modal.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/hint-and-solution-modal.service.ts index dad818af65d4..91f76487927d 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/hint-and-solution-modal.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/hint-and-solution-modal.service.ts @@ -31,8 +31,6 @@ require('services/AutogeneratedAudioPlayerService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('HintAndSolutionModalService', [ '$uibModal', 'AudioPlayerService', 'AudioTranslationManagerService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/hints-and-solution-manager.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/hints-and-solution-manager.service.ts index 8f06557635ac..56d44123e98e 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/hints-and-solution-manager.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/hints-and-solution-manager.service.ts @@ -18,8 +18,6 @@ require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('HintsAndSolutionManagerService', [ '$rootScope', '$timeout', 'DELAY_FOR_HINT_FEEDBACK_MSEC', 'EVENT_NEW_CARD_AVAILABLE', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/image-preloader.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/image-preloader.service.ts index c29c9578def4..5bac6c36f5db 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/image-preloader.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/image-preloader.service.ts @@ -24,8 +24,6 @@ require('services/AssetsBackendApiService.ts'); require('services/ComputeGraphService.ts'); require('services/ContextService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ImagePreloaderService', [ '$q', '$uibModal', 'AssetsBackendApiService', 'ComputeGraphService', 'ContextService', 'ExtractImageFilenamesFromStateService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/learner-params.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/learner-params.service.ts index 820fc5ee836d..7f3b771ad933 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/learner-params.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/learner-params.service.ts @@ -17,8 +17,6 @@ * learner. */ -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerParamsService', [function() { var _paramDict = {}; diff --git a/core/templates/dev/head/pages/exploration-player-page/services/learner-view-rating.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/learner-view-rating.service.ts index 60dbef463f7c..09711bd9f2db 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/learner-view-rating.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/learner-view-rating.service.ts @@ -18,8 +18,6 @@ require('pages/exploration-player-page/services/exploration-engine.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('LearnerViewRatingService', [ '$http', '$rootScope', 'ExplorationEngineService', function($http, $rootScope, ExplorationEngineService) { diff --git a/core/templates/dev/head/pages/exploration-player-page/services/number-attempts.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/number-attempts.service.ts index 9c0f7ff300b0..1daa2ca4fb78 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/number-attempts.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/number-attempts.service.ts @@ -17,8 +17,6 @@ * within a card. */ -var oppia = require('AppInit.ts').module; - oppia.factory('NumberAttemptsService', [ function() { var numberAttempts = 0; diff --git a/core/templates/dev/head/pages/exploration-player-page/services/player-correctness-feedback-enabled.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/player-correctness-feedback-enabled.service.ts index 566e12d4c295..0d61bc478622 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/player-correctness-feedback-enabled.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/player-correctness-feedback-enabled.service.ts @@ -17,8 +17,6 @@ * feedback is enabled or not. */ -var oppia = require('AppInit.ts').module; - oppia.factory('PlayerCorrectnessFeedbackEnabledService', [function() { var _correctnessFeedbackIsEnabled = false; diff --git a/core/templates/dev/head/pages/exploration-player-page/services/player-position.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/player-position.service.ts index a27c972c0312..185fb8e9f977 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/player-position.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/player-position.service.ts @@ -19,8 +19,6 @@ require('pages/exploration-player-page/services/player-transcript.service.ts'); require('services/ContextService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PlayerPositionService', [ 'ContextService', 'PlayerTranscriptService', function( ContextService, PlayerTranscriptService) { diff --git a/core/templates/dev/head/pages/exploration-player-page/services/player-transcript.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/player-transcript.service.ts index f3297c28e31d..ea242c8d6880 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/player-transcript.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/player-transcript.service.ts @@ -22,8 +22,6 @@ require('domain/state_card/StateCardObjectFactory.ts'); // are shown, what answers have been given, etc. Note that this service does // not maintain the currently-active card -- it's more like a log of what the // learner has 'discovered' so far. -var oppia = require('AppInit.ts').module; - oppia.factory('PlayerTranscriptService', [ '$log', 'StateCardObjectFactory', function($log, StateCardObjectFactory) { // Each element of this array represents a 'StateCard' domain object. diff --git a/core/templates/dev/head/pages/exploration-player-page/services/prediction-algorithm-registry.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/prediction-algorithm-registry.service.ts index a8c22f8bdc15..25b27e85a474 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/prediction-algorithm-registry.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/prediction-algorithm-registry.service.ts @@ -16,8 +16,6 @@ * @fileoverview Service for mapping algorithmId to PredictionAlgorithmService. */ -var oppia = require('AppInit.ts').module; - oppia.factory('PredictionAlgorithmRegistryService', [ '$injector', function($injector) { /** diff --git a/core/templates/dev/head/pages/exploration-player-page/services/question-player-engine.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/question-player-engine.service.ts index e060020ef985..1d51104ebffd 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/question-player-engine.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/question-player-engine.service.ts @@ -29,8 +29,6 @@ require('services/stateful/FocusManagerService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('QuestionPlayerEngineService', [ '$http', '$q', '$rootScope', 'AlertsService', 'AnswerClassificationService', 'ContextService', 'ExplorationHtmlFormatterService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/refresher-exploration-confirmation-modal.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/refresher-exploration-confirmation-modal.service.ts index b68c85973942..27ee80c0e0d7 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/refresher-exploration-confirmation-modal.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/refresher-exploration-confirmation-modal.service.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/exploration-player-page/services/exploration-engine.service.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('RefresherExplorationConfirmationModalService', [ '$uibModal', 'ExplorationEngineService', 'UrlInterpolationService', 'UrlService', diff --git a/core/templates/dev/head/pages/exploration-player-page/services/state-classifier-mapping.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/state-classifier-mapping.service.ts index 112695c01f50..71adbfd79a62 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/state-classifier-mapping.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/state-classifier-mapping.service.ts @@ -18,8 +18,6 @@ require('domain/classifier/ClassifierObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateClassifierMappingService', [ 'ClassifierObjectFactory', function(ClassifierObjectFactory) { var stateClassifierMapping = null; diff --git a/core/templates/dev/head/pages/exploration-player-page/services/stats-reporting.service.ts b/core/templates/dev/head/pages/exploration-player-page/services/stats-reporting.service.ts index 148c2d5deced..82be7d1a9d74 100644 --- a/core/templates/dev/head/pages/exploration-player-page/services/stats-reporting.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/services/stats-reporting.service.ts @@ -27,8 +27,6 @@ require('services/SiteAnalyticsService.ts'); require('pages/exploration-player-page/exploration-player-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StatsReportingService', [ '$http', '$interval', 'ContextService', 'MessengerService', 'PlaythroughService', 'SiteAnalyticsService', 'StopwatchObjectFactory', diff --git a/core/templates/dev/head/pages/exploration-player-page/suggestion-modal-for-learner-local-view/suggestion-modal-for-exploration-player.service.ts b/core/templates/dev/head/pages/exploration-player-page/suggestion-modal-for-learner-local-view/suggestion-modal-for-exploration-player.service.ts index 060d9cdf8ebc..f78520406677 100644 --- a/core/templates/dev/head/pages/exploration-player-page/suggestion-modal-for-learner-local-view/suggestion-modal-for-exploration-player.service.ts +++ b/core/templates/dev/head/pages/exploration-player-page/suggestion-modal-for-learner-local-view/suggestion-modal-for-exploration-player.service.ts @@ -23,8 +23,6 @@ require('pages/exploration-player-page/services/player-transcript.service.ts'); require('services/AlertsService.ts'); require('services/SuggestionModalService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionModalForExplorationPlayerService', [ '$http', '$uibModal', 'AlertsService', 'UrlInterpolationService', function($http, $uibModal, AlertsService, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/footer_js_libs.html b/core/templates/dev/head/pages/footer_js_libs.html index cbb2e5900480..a7a7e259ee53 100644 --- a/core/templates/dev/head/pages/footer_js_libs.html +++ b/core/templates/dev/head/pages/footer_js_libs.html @@ -1,3 +1,4 @@ + <% if (webpackConfig.mode == 'production') { %> <% } else { %> diff --git a/core/templates/dev/head/pages/get-started-page/get-started-page.scripts.ts b/core/templates/dev/head/pages/get-started-page/get-started-page.scripts.ts index bbbbf4fcb946..e0498e63b35b 100644 --- a/core/templates/dev/head/pages/get-started-page/get-started-page.scripts.ts +++ b/core/templates/dev/head/pages/get-started-page/get-started-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview File to import necessary scripts for get_started page. */ -require('App.ts'); - require('base_components/BaseContentDirective.ts'); require( 'components/common-layout-directives/common-elements/' + diff --git a/core/templates/dev/head/pages/interaction-specs.constants.ts b/core/templates/dev/head/pages/interaction-specs.constants.ts index 264923565e0b..fc6d44e28917 100644 --- a/core/templates/dev/head/pages/interaction-specs.constants.ts +++ b/core/templates/dev/head/pages/interaction-specs.constants.ts @@ -16,6 +16,4 @@ * @fileoverview Constant file for the INTERACTION_SPECS constant. */ -var oppia = require('AppInit.ts').module; - oppia.constant('INTERACTION_SPECS', GLOBALS.INTERACTION_SPECS); diff --git a/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.controller.ts b/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.controller.ts index 23a6b7427e7c..d24ff3f4f88f 100644 --- a/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.controller.ts +++ b/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.controller.ts @@ -23,8 +23,6 @@ require('services/SiteAnalyticsService.ts'); require('services/contextual/UrlService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('stewardsLandingPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.scripts.ts b/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.scripts.ts index 2b366079c89d..ca352161ec34 100644 --- a/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.scripts.ts +++ b/core/templates/dev/head/pages/landing-pages/stewards-landing-page/stewards-landing-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the stewards landing page. */ -require('App.ts'); - require( 'pages/landing-pages/stewards-landing-page/' + 'stewards-landing-page.controller.ts'); diff --git a/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.constants.ts b/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.constants.ts index b42c9a4589ee..d7bfc90a17ff 100644 --- a/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.constants.ts +++ b/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.constants.ts @@ -18,8 +18,6 @@ // Note: This oppia constant needs to be keep in sync with // AVAILABLE_LANDING_PAGES constant defined in feconf.py file. -var oppia = require('AppInit.ts').module; - oppia.constant('TOPIC_LANDING_PAGE_DATA', { maths: { fractions: { diff --git a/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.controller.ts b/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.controller.ts index fb1f1bdad511..b912385030d6 100644 --- a/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.controller.ts +++ b/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.controller.ts @@ -30,8 +30,6 @@ require('services/SiteAnalyticsService.ts'); require( 'pages/landing-pages/topic-landing-page/topic-landing-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicLandingPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.scripts.ts b/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.scripts.ts index c0229e80bc1b..90fb618addec 100644 --- a/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.scripts.ts +++ b/core/templates/dev/head/pages/landing-pages/topic-landing-page/topic-landing-page.scripts.ts @@ -16,7 +16,5 @@ * @fileoverview Directive scripts for landing page. */ -require('App.ts'); - require( 'pages/landing-pages/topic-landing-page/topic-landing-page.controller.ts'); diff --git a/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.constants.ts b/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.constants.ts index 99065336327a..e139c11e9daa 100644 --- a/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.constants.ts +++ b/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the Learner dashboard. */ -var oppia = require('AppInit.ts').module; - oppia.constant('LEARNER_DASHBOARD_SECTION_I18N_IDS', { INCOMPLETE: 'I18N_LEARNER_DASHBOARD_INCOMPLETE_SECTION', COMPLETED: 'I18N_LEARNER_DASHBOARD_COMPLETED_SECTION', diff --git a/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.controller.ts b/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.controller.ts index c9e205422b7b..a0ff5feec797 100644 --- a/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.controller.ts +++ b/core/templates/dev/head/pages/learner-dashboard-page/learner-dashboard-page.controller.ts @@ -16,8 +16,6 @@ * @fileoverview Controllers for the creator dashboard. */ -require('App.ts'); - require('base_components/BaseContentDirective.ts'); require( 'components/common-layout-directives/common-elements/' + @@ -45,8 +43,6 @@ require('services/UserService.ts'); require('pages/learner-dashboard-page/learner-dashboard-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('learnerDashboardPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/learner-dashboard-page/suggestion-modal/suggestion-modal-for-learner-dashboard.service.ts b/core/templates/dev/head/pages/learner-dashboard-page/suggestion-modal/suggestion-modal-for-learner-dashboard.service.ts index 3b28dbc2d1cf..20cad917eb89 100644 --- a/core/templates/dev/head/pages/learner-dashboard-page/suggestion-modal/suggestion-modal-for-learner-dashboard.service.ts +++ b/core/templates/dev/head/pages/learner-dashboard-page/suggestion-modal/suggestion-modal-for-learner-dashboard.service.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/SuggestionModalService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionModalForLearnerDashboardService', [ '$rootScope', '$uibModal', 'UrlInterpolationService', function($rootScope, $uibModal, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/library-page/library-footer/library-footer.directive.ts b/core/templates/dev/head/pages/library-page/library-footer/library-footer.directive.ts index 39f3e6cd4399..9d54536a12a4 100644 --- a/core/templates/dev/head/pages/library-page/library-footer/library-footer.directive.ts +++ b/core/templates/dev/head/pages/library-page/library-footer/library-footer.directive.ts @@ -20,8 +20,6 @@ require('pages/OppiaFooterDirective.ts'); require('pages/library-page/library-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('libraryFooter', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/library-page/library-page.constants.ts b/core/templates/dev/head/pages/library-page/library-page.constants.ts index 32be86aebf44..057e3f2d6bff 100644 --- a/core/templates/dev/head/pages/library-page/library-page.constants.ts +++ b/core/templates/dev/head/pages/library-page/library-page.constants.ts @@ -20,8 +20,6 @@ // be same as the LIBRARY_PAGE_MODE constants defined in feconf.py. For example // LIBRARY_PAGE_MODES.GROUP should have the same value as // LIBRARY_PAGE_MODE_GROUP in feconf.py. -var oppia = require('AppInit.ts').module; - oppia.constant('LIBRARY_PAGE_MODES', { GROUP: 'group', INDEX: 'index', diff --git a/core/templates/dev/head/pages/library-page/library-page.directive.ts b/core/templates/dev/head/pages/library-page/library-page.directive.ts index dcf81384f963..a28f239181d0 100755 --- a/core/templates/dev/head/pages/library-page/library-page.directive.ts +++ b/core/templates/dev/head/pages/library-page/library-page.directive.ts @@ -37,8 +37,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('pages/library-page/library-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('libraryPage', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/library-page/library-page.scripts.ts b/core/templates/dev/head/pages/library-page/library-page.scripts.ts index 895443dc024d..6ccc1f24e726 100644 --- a/core/templates/dev/head/pages/library-page/library-page.scripts.ts +++ b/core/templates/dev/head/pages/library-page/library-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directives required in library. */ -require('App.ts'); - require('pages/library-page/library-page.directive.ts'); require('pages/library-page/library-footer/library-footer.directive.ts'); require('pages/library-page/search-bar/search-bar.directive.ts'); diff --git a/core/templates/dev/head/pages/library-page/search-bar/search-bar.directive.ts b/core/templates/dev/head/pages/library-page/search-bar/search-bar.directive.ts index 617da95cc6c8..d92d3d64c96a 100755 --- a/core/templates/dev/head/pages/library-page/search-bar/search-bar.directive.ts +++ b/core/templates/dev/head/pages/library-page/search-bar/search-bar.directive.ts @@ -27,8 +27,6 @@ require('services/NavigationService.ts'); require('services/SearchService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('searchBar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/library-page/search-results/activity-tiles-infinity-grid.directive.ts b/core/templates/dev/head/pages/library-page/search-results/activity-tiles-infinity-grid.directive.ts index 93088d714a46..4186444e529d 100644 --- a/core/templates/dev/head/pages/library-page/search-results/activity-tiles-infinity-grid.directive.ts +++ b/core/templates/dev/head/pages/library-page/search-results/activity-tiles-infinity-grid.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/SearchService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('activityTilesInfinityGrid', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/library-page/search-results/search-results.directive.ts b/core/templates/dev/head/pages/library-page/search-results/search-results.directive.ts index 04b3731afaaf..1e38cdad667d 100644 --- a/core/templates/dev/head/pages/library-page/search-results/search-results.directive.ts +++ b/core/templates/dev/head/pages/library-page/search-results/search-results.directive.ts @@ -24,8 +24,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/SiteAnalyticsService.ts'); require('services/UserService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('searchResults', [ '$q', 'UrlInterpolationService', function($q, UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/maintenance-page/maintenance-page.controller.ts b/core/templates/dev/head/pages/maintenance-page/maintenance-page.controller.ts index ad83d7ead0f4..700b1df315cd 100644 --- a/core/templates/dev/head/pages/maintenance-page/maintenance-page.controller.ts +++ b/core/templates/dev/head/pages/maintenance-page/maintenance-page.controller.ts @@ -16,12 +16,8 @@ * @fileoverview The controller for the maintenance page. */ -require('App.ts'); - require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.controller('Maintenance', [ '$rootScope', '$scope', 'UrlInterpolationService', 'DEV_MODE', function($rootScope, $scope, UrlInterpolationService, DEV_MODE) { diff --git a/core/templates/dev/head/pages/moderator-page/moderator-page.controller.ts b/core/templates/dev/head/pages/moderator-page/moderator-page.controller.ts index 7b2bb337d920..965c26d47ec6 100644 --- a/core/templates/dev/head/pages/moderator-page/moderator-page.controller.ts +++ b/core/templates/dev/head/pages/moderator-page/moderator-page.controller.ts @@ -53,8 +53,6 @@ require('base_components/BaseContentDirective.ts'); require('services/AlertsService.ts'); require('services/DateTimeFormatService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('moderatorPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/moderator-page/moderator-page.scripts.ts b/core/templates/dev/head/pages/moderator-page/moderator-page.scripts.ts index faa0013d1e1b..867b3e8f14de 100644 --- a/core/templates/dev/head/pages/moderator-page/moderator-page.scripts.ts +++ b/core/templates/dev/head/pages/moderator-page/moderator-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Scripts for the Oppia moderator page. */ -require('App.ts'); - require('pages/moderator-page/moderator-page.controller.ts'); diff --git a/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.controller.ts b/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.controller.ts index 0872452a4534..f51b659acf03 100644 --- a/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.controller.ts +++ b/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.controller.ts @@ -20,8 +20,6 @@ require('base_components/BaseContentDirective.ts'); require('services/DateTimeFormatService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('notificationsDashboardPage', [ 'UrlInterpolationService', function( UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.scripts.ts b/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.scripts.ts index d53631fe5ff1..ed7548ac8c21 100644 --- a/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.scripts.ts +++ b/core/templates/dev/head/pages/notifications-dashboard-page/notifications-dashboard-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the user's notifications dashboard. */ -require('App.ts'); - require( 'pages/notifications-dashboard-page/' + 'notifications-dashboard-page.controller.ts'); diff --git a/core/templates/dev/head/pages/practice-session-page/practice-session-page.constants.ts b/core/templates/dev/head/pages/practice-session-page/practice-session-page.constants.ts index 1e0c857b108b..fb7402e865b2 100644 --- a/core/templates/dev/head/pages/practice-session-page/practice-session-page.constants.ts +++ b/core/templates/dev/head/pages/practice-session-page/practice-session-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the practice session. */ -var oppia = require('AppInit.ts').module; - oppia.constant('TOTAL_QUESTIONS', 20); oppia.constant( diff --git a/core/templates/dev/head/pages/practice-session-page/practice-session-page.controller.ts b/core/templates/dev/head/pages/practice-session-page/practice-session-page.controller.ts index 9642446a6a65..aa5224daaca5 100644 --- a/core/templates/dev/head/pages/practice-session-page/practice-session-page.controller.ts +++ b/core/templates/dev/head/pages/practice-session-page/practice-session-page.controller.ts @@ -32,8 +32,6 @@ require('services/contextual/UrlService.ts'); require('pages/practice-session-page/practice-session-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('practiceSessionPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/practice-session-page/practice-session-page.scripts.ts b/core/templates/dev/head/pages/practice-session-page/practice-session-page.scripts.ts index b23454b3eaff..37a7ed5523d2 100644 --- a/core/templates/dev/head/pages/practice-session-page/practice-session-page.scripts.ts +++ b/core/templates/dev/head/pages/practice-session-page/practice-session-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directive scripts for the practice session. */ -require('App.ts'); - require('pages/practice-session-page/practice-session-page.controller.ts'); diff --git a/core/templates/dev/head/pages/preferences-page/preferences-page.controller.ts b/core/templates/dev/head/pages/preferences-page/preferences-page.controller.ts index ff7f7e6cd7bb..b11bafa46aeb 100644 --- a/core/templates/dev/head/pages/preferences-page/preferences-page.controller.ts +++ b/core/templates/dev/head/pages/preferences-page/preferences-page.controller.ts @@ -31,8 +31,6 @@ require('services/AlertsService.ts'); require('services/UserService.ts'); require('services/UtilsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('preferencesPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/preferences-page/preferences-page.scripts.ts b/core/templates/dev/head/pages/preferences-page/preferences-page.scripts.ts index 44a32ff12369..825cda323dfb 100644 --- a/core/templates/dev/head/pages/preferences-page/preferences-page.scripts.ts +++ b/core/templates/dev/head/pages/preferences-page/preferences-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the Oppia 'edit preferences' page. */ -require('App.ts'); - require('pages/OppiaFooterDirective.ts'); require('pages/preferences-page/preferences-page.controller.ts'); diff --git a/core/templates/dev/head/pages/privacy-page/privacy-page.controller.ts b/core/templates/dev/head/pages/privacy-page/privacy-page.controller.ts index d77a7bdf4464..466c5feeec91 100644 --- a/core/templates/dev/head/pages/privacy-page/privacy-page.controller.ts +++ b/core/templates/dev/head/pages/privacy-page/privacy-page.controller.ts @@ -16,7 +16,5 @@ * @fileoverview Directives required in privacy page. */ -require('App.ts'); - require('pages/OppiaFooterDirective.ts'); require('base_components/BaseContentDirective.ts'); diff --git a/core/templates/dev/head/pages/profile-page/profile-page.controller.ts b/core/templates/dev/head/pages/profile-page/profile-page.controller.ts index 7af9e0f5ce60..bf3c6907b334 100644 --- a/core/templates/dev/head/pages/profile-page/profile-page.controller.ts +++ b/core/templates/dev/head/pages/profile-page/profile-page.controller.ts @@ -27,8 +27,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/UserService.ts'); require('services/DateTimeFormatService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('profilePage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/profile-page/profile-page.scripts.ts b/core/templates/dev/head/pages/profile-page/profile-page.scripts.ts index 68d96e5d93fc..3c4f280dbf72 100644 --- a/core/templates/dev/head/pages/profile-page/profile-page.scripts.ts +++ b/core/templates/dev/head/pages/profile-page/profile-page.scripts.ts @@ -16,7 +16,5 @@ * @fileoverview Directive scripts for the Oppia profile page. */ -require('App.ts'); - require('pages/OppiaFooterDirective.ts'); require('pages/profile-page/profile-page.controller.ts'); diff --git a/core/templates/dev/head/pages/review-test-page/review-test-engine.service.ts b/core/templates/dev/head/pages/review-test-page/review-test-engine.service.ts index bea3d7f74664..fc6e73e69fda 100644 --- a/core/templates/dev/head/pages/review-test-page/review-test-engine.service.ts +++ b/core/templates/dev/head/pages/review-test-page/review-test-engine.service.ts @@ -16,8 +16,6 @@ * @fileoverview Utility service for the review tests. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ReviewTestEngineService', [ function() { return { diff --git a/core/templates/dev/head/pages/review-test-page/review-test-page.constants.ts b/core/templates/dev/head/pages/review-test-page/review-test-page.constants.ts index dd9eef0c3684..ff19f1e60b14 100644 --- a/core/templates/dev/head/pages/review-test-page/review-test-page.constants.ts +++ b/core/templates/dev/head/pages/review-test-page/review-test-page.constants.ts @@ -16,6 +16,4 @@ * @fileoverview Constants for the review tests. */ -var oppia = require('AppInit.ts').module; - oppia.constant('REVIEW_TEST_DATA_URL', '/review_test_handler/data/'); diff --git a/core/templates/dev/head/pages/review-test-page/review-test-page.directive.ts b/core/templates/dev/head/pages/review-test-page/review-test-page.directive.ts index 866bf0dd6131..2cc7d0972311 100644 --- a/core/templates/dev/head/pages/review-test-page/review-test-page.directive.ts +++ b/core/templates/dev/head/pages/review-test-page/review-test-page.directive.ts @@ -29,8 +29,6 @@ require('pages/review-test-page/review-test-engine.service.ts'); require('services/AlertsService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('reviewTestPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/signup-page/signup-page.controller.ts b/core/templates/dev/head/pages/signup-page/signup-page.controller.ts index 8153e63a9d4b..793b6b0a224f 100644 --- a/core/templates/dev/head/pages/signup-page/signup-page.controller.ts +++ b/core/templates/dev/head/pages/signup-page/signup-page.controller.ts @@ -26,8 +26,6 @@ require('services/UserService.ts'); require('services/contextual/UrlService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('signupPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/signup-page/signup-page.scripts.ts b/core/templates/dev/head/pages/signup-page/signup-page.scripts.ts index 1b8d865f179f..c3edf1b7048b 100644 --- a/core/templates/dev/head/pages/signup-page/signup-page.scripts.ts +++ b/core/templates/dev/head/pages/signup-page/signup-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directive scripts for the Oppia profile page. */ -require('App.ts'); - require('pages/signup-page/signup-page.controller.ts'); diff --git a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/skill-concept-card-editor.directive.ts b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/skill-concept-card-editor.directive.ts index 10c6b2c0cb33..fb734992bcc8 100644 --- a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/skill-concept-card-editor.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/skill-concept-card-editor.directive.ts @@ -35,8 +35,6 @@ require('services/GenerateContentIdService.ts'); require('pages/skill-editor-page/skill-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillConceptCardEditor', [ 'GenerateContentIdService', 'SkillEditorStateService', 'SkillUpdateService', 'SubtitledHtmlObjectFactory', 'UrlInterpolationService', diff --git a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/worked-example-editor.directive.ts b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/worked-example-editor.directive.ts index f167c557d867..4a9f2733fa8c 100644 --- a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/worked-example-editor.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-concept-card-editor/worked-example-editor.directive.ts @@ -21,8 +21,6 @@ require('domain/skill/SkillUpdateService.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('pages/skill-editor-page/services/skill-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('workedExampleEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-description-editor/skill-description-editor.directive.ts b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-description-editor/skill-description-editor.directive.ts index 21d532b75f63..c64718b40cbe 100644 --- a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-description-editor/skill-description-editor.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-description-editor/skill-description-editor.directive.ts @@ -23,8 +23,6 @@ require('pages/skill-editor-page/services/skill-editor-state.service.ts'); require('pages/skill-editor-page/skill-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillDescriptionEditor', [ 'SkillEditorStateService', 'SkillObjectFactory', 'SkillUpdateService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-editor-main-tab.directive.ts b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-editor-main-tab.directive.ts index 11ff15d34fb6..a365914abd61 100644 --- a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-editor-main-tab.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-editor-main-tab.directive.ts @@ -29,8 +29,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); require('pages/skill-editor-page/services/skill-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillEditorMainTab', [ 'SkillEditorStateService', 'UrlInterpolationService', function(SkillEditorStateService, UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/misconception-editor.directive.ts b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/misconception-editor.directive.ts index cb2134b51dc6..50decc922f67 100644 --- a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/misconception-editor.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/misconception-editor.directive.ts @@ -20,8 +20,6 @@ require('domain/skill/SkillUpdateService.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('pages/skill-editor-page/services/skill-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('misconceptionEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/skill-misconceptions-editor.directive.ts b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/skill-misconceptions-editor.directive.ts index f843aef785dd..a794e90b16ce 100644 --- a/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/skill-misconceptions-editor.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/editor-tab/skill-misconceptions-editor/skill-misconceptions-editor.directive.ts @@ -30,8 +30,6 @@ require('pages/skill-editor-page/services/skill-editor-state.service.ts'); require('pages/skill-editor-page/skill-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillMisconceptionsEditor', [ 'SkillEditorStateService', 'SkillUpdateService', 'UrlInterpolationService', function( diff --git a/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar-breadcrumb.directive.ts index e6a9a3edb890..39bc650b8bad 100644 --- a/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar-breadcrumb.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/skill-editor-page/services/skill-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillEditorNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar.directive.ts b/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar.directive.ts index bef17424815f..92c8a915da3e 100644 --- a/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/navbar/skill-editor-navbar.directive.ts @@ -28,8 +28,6 @@ require('services/AlertsService.ts'); require('pages/skill-editor-page/skill-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillEditorNavbar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/skill-editor-page/questions-tab/questions-tab.directive.ts b/core/templates/dev/head/pages/skill-editor-page/questions-tab/questions-tab.directive.ts index b41b41fb9532..5d5cc08a26ab 100644 --- a/core/templates/dev/head/pages/skill-editor-page/questions-tab/questions-tab.directive.ts +++ b/core/templates/dev/head/pages/skill-editor-page/questions-tab/questions-tab.directive.ts @@ -34,8 +34,6 @@ require( require('services/AlertsService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('questionsTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-routing.service.ts b/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-routing.service.ts index da4853ae9224..cd7e52d04294 100644 --- a/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-routing.service.ts +++ b/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-routing.service.ts @@ -16,8 +16,6 @@ * @fileoverview Service that handles routing for the skill editor page. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SkillEditorRoutingService', [ '$interval', '$location', '$rootScope', '$timeout', '$window', function( diff --git a/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-state.service.ts b/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-state.service.ts index 9ed18e69e058..5bf13eac1a88 100644 --- a/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-state.service.ts +++ b/core/templates/dev/head/pages/skill-editor-page/services/skill-editor-state.service.ts @@ -26,8 +26,6 @@ require('services/AlertsService.ts'); require('pages/skill-editor-page/skill-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SkillEditorStateService', [ '$rootScope', 'AlertsService', 'EditableSkillBackendApiService', 'SkillObjectFactory', 'SkillRightsBackendApiService', diff --git a/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.constants.ts b/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.constants.ts index b7977fbf93f6..8144cf809dc7 100644 --- a/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.constants.ts +++ b/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the skill editor page. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'SKILL_RIGHTS_URL_TEMPLATE', '/skill_editor_handler/rights/'); diff --git a/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.controller.ts b/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.controller.ts index a09ee8edf3ab..62a98d948cc5 100644 --- a/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.controller.ts +++ b/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.controller.ts @@ -107,8 +107,6 @@ require('pages/skill-editor-page/questions-tab/questions-tab.directive.ts'); require('pages/skill-editor-page/skill-editor-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillEditorPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.scripts.ts b/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.scripts.ts index bb5472c4667e..c38b1dcdf797 100644 --- a/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.scripts.ts +++ b/core/templates/dev/head/pages/skill-editor-page/skill-editor-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the skill editor page. */ -require('App.ts'); - require('pages/skill-editor-page/navbar/skill-editor-navbar.directive.ts'); require( 'pages/skill-editor-page/navbar/skill-editor-navbar-breadcrumb.directive.ts'); diff --git a/core/templates/dev/head/pages/splash-page/splash-page.controller.ts b/core/templates/dev/head/pages/splash-page/splash-page.controller.ts index bf9077724d14..af29dbee11ee 100644 --- a/core/templates/dev/head/pages/splash-page/splash-page.controller.ts +++ b/core/templates/dev/head/pages/splash-page/splash-page.controller.ts @@ -16,8 +16,6 @@ * @fileoverview Data and controllers for the Oppia splash page. */ -var oppia = require('AppInit.ts').module; - require('base_components/BaseContentDirective.ts'); require('domain/utilities/UrlInterpolationService.ts'); diff --git a/core/templates/dev/head/pages/splash-page/splash-page.scripts.ts b/core/templates/dev/head/pages/splash-page/splash-page.scripts.ts index 77d45366571f..c0b26a4db781 100644 --- a/core/templates/dev/head/pages/splash-page/splash-page.scripts.ts +++ b/core/templates/dev/head/pages/splash-page/splash-page.scripts.ts @@ -16,5 +16,4 @@ * @fileoverview Directive scripts for the Oppia splash page. */ -require('App.ts'); require('pages/splash-page/splash-page.controller.ts'); diff --git a/core/templates/dev/head/pages/story-editor-page/editor-tab/story-editor.directive.ts b/core/templates/dev/head/pages/story-editor-page/editor-tab/story-editor.directive.ts index 633a53d354eb..f33c8db4c864 100644 --- a/core/templates/dev/head/pages/story-editor-page/editor-tab/story-editor.directive.ts +++ b/core/templates/dev/head/pages/story-editor-page/editor-tab/story-editor.directive.ts @@ -28,8 +28,6 @@ require('services/AlertsService.ts'); require('pages/story-editor-page/story-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-editor-page/editor-tab/story-node-editor.directive.ts b/core/templates/dev/head/pages/story-editor-page/editor-tab/story-node-editor.directive.ts index 197f53741352..7caad8f0b6f3 100644 --- a/core/templates/dev/head/pages/story-editor-page/editor-tab/story-node-editor.directive.ts +++ b/core/templates/dev/head/pages/story-editor-page/editor-tab/story-node-editor.directive.ts @@ -23,8 +23,6 @@ require('services/AlertsService.ts'); require('pages/story-editor-page/story-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyNodeEditor', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar-breadcrumb.directive.ts index 315372c3b24a..baa7188521c8 100644 --- a/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar-breadcrumb.directive.ts @@ -24,8 +24,6 @@ require('services/contextual/UrlService.ts'); require('pages/story-editor-page/story-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyEditorNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar.directive.ts b/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar.directive.ts index 76b08876802f..5901fcd79ebe 100644 --- a/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar.directive.ts +++ b/core/templates/dev/head/pages/story-editor-page/navbar/story-editor-navbar.directive.ts @@ -25,8 +25,6 @@ require('services/contextual/UrlService.ts'); require('pages/story-editor-page/story-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyEditorNavbar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-editor-page/services/story-editor-state.service.ts b/core/templates/dev/head/pages/story-editor-page/services/story-editor-state.service.ts index 78994896117c..f19e953c935c 100644 --- a/core/templates/dev/head/pages/story-editor-page/services/story-editor-state.service.ts +++ b/core/templates/dev/head/pages/story-editor-page/services/story-editor-state.service.ts @@ -25,8 +25,6 @@ require('services/AlertsService.ts'); require('pages/story-editor-page/story-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StoryEditorStateService', [ '$rootScope', 'AlertsService', 'EditableStoryBackendApiService', 'StoryObjectFactory', 'UndoRedoService', diff --git a/core/templates/dev/head/pages/story-editor-page/story-editor-page.constants.ts b/core/templates/dev/head/pages/story-editor-page/story-editor-page.constants.ts index c47b500e863e..877c15b1190d 100644 --- a/core/templates/dev/head/pages/story-editor-page/story-editor-page.constants.ts +++ b/core/templates/dev/head/pages/story-editor-page/story-editor-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Primary controller for the story editor page. */ -var oppia = require('AppInit.ts').module; - oppia.constant('NODE_ID_PREFIX', 'node_'); oppia.constant( 'EVENT_STORY_INITIALIZED', 'storyInitialized'); diff --git a/core/templates/dev/head/pages/story-editor-page/story-editor-page.controller.ts b/core/templates/dev/head/pages/story-editor-page/story-editor-page.controller.ts index a4fe87d9a450..81df680f74c2 100644 --- a/core/templates/dev/head/pages/story-editor-page/story-editor-page.controller.ts +++ b/core/templates/dev/head/pages/story-editor-page/story-editor-page.controller.ts @@ -109,8 +109,6 @@ require('services/contextual/UrlService.ts'); require('pages/story-editor-page/story-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyEditorPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-editor-page/story-editor-page.scripts.ts b/core/templates/dev/head/pages/story-editor-page/story-editor-page.scripts.ts index 1630d4fed2ab..43cee3ad78b9 100644 --- a/core/templates/dev/head/pages/story-editor-page/story-editor-page.scripts.ts +++ b/core/templates/dev/head/pages/story-editor-page/story-editor-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the story editor page. */ -require('App.ts'); - require( 'pages/story-editor-page/navbar/story-editor-navbar-breadcrumb.directive.ts'); require('pages/story-editor-page/navbar/story-editor-navbar.directive.ts'); diff --git a/core/templates/dev/head/pages/story-viewer-page/chapters-list/story-viewer-chapters-list.directive.ts b/core/templates/dev/head/pages/story-viewer-page/chapters-list/story-viewer-chapters-list.directive.ts index 4a9565cd8c4f..09d131086a1b 100644 --- a/core/templates/dev/head/pages/story-viewer-page/chapters-list/story-viewer-chapters-list.directive.ts +++ b/core/templates/dev/head/pages/story-viewer-page/chapters-list/story-viewer-chapters-list.directive.ts @@ -27,8 +27,6 @@ require('services/AlertsService.ts'); require('services/PageTitleService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.animation('.oppia-story-animate-slide', function() { return { enter: function(element) { diff --git a/core/templates/dev/head/pages/story-viewer-page/navbar-breadcrumb/story-viewer-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/story-viewer-page/navbar-breadcrumb/story-viewer-navbar-breadcrumb.directive.ts index 8e3bd689f655..f59d378e1854 100644 --- a/core/templates/dev/head/pages/story-viewer-page/navbar-breadcrumb/story-viewer-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/story-viewer-page/navbar-breadcrumb/story-viewer-navbar-breadcrumb.directive.ts @@ -20,8 +20,6 @@ require('domain/story_viewer/StoryViewerBackendApiService.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyViewerNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.directive.ts b/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.directive.ts index c4fce18c1b88..f723e38fcc9f 100644 --- a/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.directive.ts +++ b/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.directive.ts @@ -32,8 +32,6 @@ require('services/AlertsService.ts'); require('services/PageTitleService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storyViewerPage', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.scripts.ts b/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.scripts.ts index 21eb71711783..37a35c9eda98 100644 --- a/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.scripts.ts +++ b/core/templates/dev/head/pages/story-viewer-page/story-viewer-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Directives required in story viewer. */ -require('App.ts'); - require('pages/story-viewer-page/story-viewer-page.directive.ts'); diff --git a/core/templates/dev/head/pages/teach-page/teach-page.controller.ts b/core/templates/dev/head/pages/teach-page/teach-page.controller.ts index 7f42bab25b9c..57decdf03a20 100644 --- a/core/templates/dev/head/pages/teach-page/teach-page.controller.ts +++ b/core/templates/dev/head/pages/teach-page/teach-page.controller.ts @@ -24,8 +24,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); require('services/SiteAnalyticsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('teachPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/teach-page/teach-page.scripts.ts b/core/templates/dev/head/pages/teach-page/teach-page.scripts.ts index 4e6095da92f2..83598d596cdf 100644 --- a/core/templates/dev/head/pages/teach-page/teach-page.scripts.ts +++ b/core/templates/dev/head/pages/teach-page/teach-page.scripts.ts @@ -16,6 +16,4 @@ * @fileoverview Controllers for the teach page. */ -require('App.ts'); - require('pages/teach-page/teach-page.controller.ts'); diff --git a/core/templates/dev/head/pages/terms-page/terms-page.controller.ts b/core/templates/dev/head/pages/terms-page/terms-page.controller.ts index 278be30d152c..c64d09b881f4 100644 --- a/core/templates/dev/head/pages/terms-page/terms-page.controller.ts +++ b/core/templates/dev/head/pages/terms-page/terms-page.controller.ts @@ -16,6 +16,4 @@ * @fileoverview Directives required in terms page. */ -require('App.ts'); - require('base_components/BaseContentDirective.ts'); diff --git a/core/templates/dev/head/pages/thanks-page/thanks-page.controller.ts b/core/templates/dev/head/pages/thanks-page/thanks-page.controller.ts index 92a52e154ada..7bcea2af66f8 100644 --- a/core/templates/dev/head/pages/thanks-page/thanks-page.controller.ts +++ b/core/templates/dev/head/pages/thanks-page/thanks-page.controller.ts @@ -16,8 +16,6 @@ * @fileoverview Controllers for the 'thanks' page. */ -require('App.ts'); - require('base_components/BaseContentDirective.ts'); require( 'components/common-layout-directives/common-elements/' + @@ -25,8 +23,6 @@ require( require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.controller('Thanks', [ '$scope', 'UrlInterpolationService', function( diff --git a/core/templates/dev/head/pages/topic-editor-page/editor-tab/stories-list.directive.ts b/core/templates/dev/head/pages/topic-editor-page/editor-tab/stories-list.directive.ts index 1d81cd1c1df9..bba701f28b7e 100644 --- a/core/templates/dev/head/pages/topic-editor-page/editor-tab/stories-list.directive.ts +++ b/core/templates/dev/head/pages/topic-editor-page/editor-tab/stories-list.directive.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/topic-editor-page/services/topic-editor-state.service.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storiesList', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/editor-tab/topic-editor-tab.directive.ts b/core/templates/dev/head/pages/topic-editor-page/editor-tab/topic-editor-tab.directive.ts index bb57e9eb6db9..d443deee2699 100644 --- a/core/templates/dev/head/pages/topic-editor-page/editor-tab/topic-editor-tab.directive.ts +++ b/core/templates/dev/head/pages/topic-editor-page/editor-tab/topic-editor-tab.directive.ts @@ -24,8 +24,6 @@ require('domain/topic/TopicUpdateService.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('pages/topic-editor-page/services/topic-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicEditorTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar-breadcrumb.directive.ts index 3d0663f893ef..9d1a5f222dc8 100644 --- a/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar-breadcrumb.directive.ts @@ -20,8 +20,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('pages/topic-editor-page/services/topic-editor-state.service.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicEditorNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar.directive.ts b/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar.directive.ts index e6f1c59ce059..e7b7c2e71ea2 100644 --- a/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar.directive.ts +++ b/core/templates/dev/head/pages/topic-editor-page/navbar/topic-editor-navbar.directive.ts @@ -27,8 +27,6 @@ require('pages/topic-editor-page/services/topic-editor-state.service.ts'); require('services/AlertsService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicEditorNavbar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/questions-tab/questions-tab.directive.ts b/core/templates/dev/head/pages/topic-editor-page/questions-tab/questions-tab.directive.ts index fcb4b843c228..212f16e1bec9 100644 --- a/core/templates/dev/head/pages/topic-editor-page/questions-tab/questions-tab.directive.ts +++ b/core/templates/dev/head/pages/topic-editor-page/questions-tab/questions-tab.directive.ts @@ -35,8 +35,6 @@ require('pages/topic-editor-page/services/topic-editor-state.service.ts'); require('services/AlertsService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('questionsTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-routing.service.ts b/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-routing.service.ts index 14e3ed84839f..1ec4a05798bf 100644 --- a/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-routing.service.ts +++ b/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-routing.service.ts @@ -16,8 +16,6 @@ * @fileoverview Service that handles routing for the topic editor page. */ -var oppia = require('AppInit.ts').module; - oppia.factory('TopicEditorRoutingService', [ '$interval', '$location', '$rootScope', '$timeout', '$window', function( diff --git a/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-state.service.ts b/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-state.service.ts index 8f2db5a5daee..27f4c3f72144 100644 --- a/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-state.service.ts +++ b/core/templates/dev/head/pages/topic-editor-page/services/topic-editor-state.service.ts @@ -29,8 +29,6 @@ require('services/AlertsService.ts'); require('pages/topic-editor-page/topic-editor-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TopicEditorStateService', [ '$rootScope', 'AlertsService', 'EditableStoryBackendApiService', 'EditableTopicBackendApiService', diff --git a/core/templates/dev/head/pages/topic-editor-page/subtopics-list-tab/subtopics-list-tab.directive.ts b/core/templates/dev/head/pages/topic-editor-page/subtopics-list-tab/subtopics-list-tab.directive.ts index 3aaf248adead..616c0732999b 100644 --- a/core/templates/dev/head/pages/topic-editor-page/subtopics-list-tab/subtopics-list-tab.directive.ts +++ b/core/templates/dev/head/pages/topic-editor-page/subtopics-list-tab/subtopics-list-tab.directive.ts @@ -22,8 +22,6 @@ require('domain/topic/TopicUpdateService.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('pages/topic-editor-page/services/topic-editor-state.service.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('subtopicsListTab', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.constants.ts b/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.constants.ts index 0ba03fd07e61..50918c31e17a 100644 --- a/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.constants.ts +++ b/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the topic editor page. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'TOPIC_NAME_INPUT_FOCUS_LABEL', 'topicNameInputFocusLabel'); diff --git a/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.controller.ts b/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.controller.ts index ec83f5937e29..7b87948a9b96 100644 --- a/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.controller.ts +++ b/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.controller.ts @@ -123,8 +123,6 @@ require('services/contextual/UrlService.ts'); require('pages/topic-editor-page/topic-editor-page.constants.ts'); require('pages/interaction-specs.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicEditorPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.scripts.ts b/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.scripts.ts index 0756796220d4..9271864ab0b5 100644 --- a/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.scripts.ts +++ b/core/templates/dev/head/pages/topic-editor-page/topic-editor-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the topic editor page. */ -require('App.ts'); - require( 'pages/topic-editor-page/navbar/topic-editor-navbar-breadcrumb.directive.ts'); require('pages/topic-editor-page/navbar/topic-editor-navbar.directive.ts'); diff --git a/core/templates/dev/head/pages/topic-viewer-page/navbar-breadcrumb/topic-viewer-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/topic-viewer-page/navbar-breadcrumb/topic-viewer-navbar-breadcrumb.directive.ts index e9a7ba4c76b5..92e1dc15fa20 100644 --- a/core/templates/dev/head/pages/topic-viewer-page/navbar-breadcrumb/topic-viewer-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/topic-viewer-page/navbar-breadcrumb/topic-viewer-navbar-breadcrumb.directive.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicViewerNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-viewer-page/stories-list/stories-list.directive.ts b/core/templates/dev/head/pages/topic-viewer-page/stories-list/stories-list.directive.ts index 279edfa98279..6fd584e023d1 100644 --- a/core/templates/dev/head/pages/topic-viewer-page/stories-list/stories-list.directive.ts +++ b/core/templates/dev/head/pages/topic-viewer-page/stories-list/stories-list.directive.ts @@ -21,8 +21,6 @@ require('components/summary-tile/story-summary-tile.directive.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('storiesList', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.controller.ts b/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.controller.ts index aaee3f18afdb..682c1a659ac7 100644 --- a/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.controller.ts +++ b/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.controller.ts @@ -26,8 +26,6 @@ require('services/AlertsService.ts'); require('services/PageTitleService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicViewerPage', ['UrlInterpolationService', function( UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.scripts.ts b/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.scripts.ts index 2d7e4c300018..f4f7eedf3880 100644 --- a/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.scripts.ts +++ b/core/templates/dev/head/pages/topic-viewer-page/topic-viewer-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the topic viewer. */ -require('App.ts'); - require( 'pages/topic-viewer-page/navbar-breadcrumb/' + 'topic-viewer-navbar-breadcrumb.directive.ts'); diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar-breadcrumb.directive.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar-breadcrumb.directive.ts index aa16f791a97e..b627a43db05a 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar-breadcrumb.directive.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar-breadcrumb.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicsAndSkillsDashboardNavbarBreadcrumb', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar.directive.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar.directive.ts index 45f2fc7367b3..5930120c9173 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar.directive.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/navbar/topics-and-skills-dashboard-navbar.directive.ts @@ -25,8 +25,6 @@ require( 'pages/topics-and-skills-dashboard-page/' + 'topics-and-skills-dashboard-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicsAndSkillsDashboardNavbar', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/skills-list/skills-list.directive.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/skills-list/skills-list.directive.ts index ecf957690ef3..618648d875a8 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/skills-list/skills-list.directive.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/skills-list/skills-list.directive.ts @@ -29,8 +29,6 @@ require( 'pages/topics-and-skills-dashboard-page/' + 'topics-and-skills-dashboard-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('skillsList', [ '$http', 'AlertsService', 'UrlInterpolationService', function( diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topic-selector/topic-selector.directive.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topic-selector/topic-selector.directive.ts index e89fd2d7959b..b63b011644fa 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topic-selector/topic-selector.directive.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topic-selector/topic-selector.directive.ts @@ -18,8 +18,6 @@ require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('selectTopics', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.constants.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.constants.ts index 2ed50b677499..f3badbae0f96 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.constants.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for the topics and skills dashboard. */ -var oppia = require('AppInit.ts').module; - oppia.constant( 'EVENT_TYPE_TOPIC_CREATION_ENABLED', 'topicCreationEnabled'); diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.controller.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.controller.ts index 9ea9a8f7e810..bb664dbbe265 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.controller.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.controller.ts @@ -23,6 +23,14 @@ require( require( 'pages/topics-and-skills-dashboard-page/skills-list/' + 'skills-list.directive.ts'); +require( + 'pages/topics-and-skills-dashboard-page/navbar/' + + 'topics-and-skills-dashboard-navbar-breadcrumb.directive.ts' +); +require( + 'pages/topics-and-skills-dashboard-page/navbar/' + + 'topics-and-skills-dashboard-navbar.directive.ts' +); require( 'pages/topics-and-skills-dashboard-page/topics-list/' + 'topics-list.directive.ts'); @@ -40,8 +48,6 @@ require( 'pages/topics-and-skills-dashboard-page/' + 'topics-and-skills-dashboard-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicsAndSkillsDashboardPage', [ 'UrlInterpolationService', function( UrlInterpolationService) { diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.scripts.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.scripts.ts index 68242f665ff3..fe59dbef2675 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.scripts.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-and-skills-dashboard-page.scripts.ts @@ -16,8 +16,6 @@ * @fileoverview Directive scripts for the topics and skills dashboard. */ -require('App.ts'); - require( 'pages/topics-and-skills-dashboard-page/navbar/' + 'topics-and-skills-dashboard-navbar-breadcrumb.directive.ts' diff --git a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-list/topics-list.directive.ts b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-list/topics-list.directive.ts index da71b3aa06f7..88532c08046f 100644 --- a/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-list/topics-list.directive.ts +++ b/core/templates/dev/head/pages/topics-and-skills-dashboard-page/topics-list/topics-list.directive.ts @@ -24,8 +24,6 @@ require( 'pages/topics-and-skills-dashboard-page/' + 'topics-and-skills-dashboard-page.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('topicsList', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/core/templates/dev/head/services/AlertsService.ts b/core/templates/dev/head/services/AlertsService.ts index f74dad93b4f1..5791162054ff 100644 --- a/core/templates/dev/head/services/AlertsService.ts +++ b/core/templates/dev/head/services/AlertsService.ts @@ -16,8 +16,6 @@ * @fileoverview Factory for handling warnings and info messages. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AlertsService', ['$log', function($log) { var AlertsService = { /** diff --git a/core/templates/dev/head/services/AssetsBackendApiService.ts b/core/templates/dev/head/services/AssetsBackendApiService.ts index 6b8794aaa079..279b1db85692 100644 --- a/core/templates/dev/head/services/AssetsBackendApiService.ts +++ b/core/templates/dev/head/services/AssetsBackendApiService.ts @@ -22,8 +22,6 @@ require('domain/utilities/FileDownloadRequestObjectFactory.ts'); require('domain/utilities/ImageFileObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AssetsBackendApiService', [ '$http', '$q', 'AudioFileObjectFactory', 'FileDownloadRequestObjectFactory', 'ImageFileObjectFactory', 'UrlInterpolationService', 'DEV_MODE', diff --git a/core/templates/dev/head/services/AudioPlayerService.ts b/core/templates/dev/head/services/AudioPlayerService.ts index e9a7c67b4052..6f5cd8daaadb 100644 --- a/core/templates/dev/head/services/AudioPlayerService.ts +++ b/core/templates/dev/head/services/AudioPlayerService.ts @@ -16,8 +16,6 @@ * @fileoverview Service to operate the playback of audio. */ -var oppia = require('AppInit.ts').module; - oppia.factory('AudioPlayerService', [ '$q', '$timeout', 'AssetsBackendApiService', 'AudioTranslationManagerService', 'ContextService', 'ngAudio', diff --git a/core/templates/dev/head/services/AutogeneratedAudioPlayerService.ts b/core/templates/dev/head/services/AutogeneratedAudioPlayerService.ts index 5aefb5a3a680..f5c7c4a77d61 100644 --- a/core/templates/dev/head/services/AutogeneratedAudioPlayerService.ts +++ b/core/templates/dev/head/services/AutogeneratedAudioPlayerService.ts @@ -19,8 +19,6 @@ require('services/SpeechSynthesisChunkerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('AutogeneratedAudioPlayerService', [ 'SpeechSynthesisChunkerService', function(SpeechSynthesisChunkerService) { diff --git a/core/templates/dev/head/services/AutoplayedVideosService.ts b/core/templates/dev/head/services/AutoplayedVideosService.ts index 1763d7c46e4b..163e2131fbc2 100644 --- a/core/templates/dev/head/services/AutoplayedVideosService.ts +++ b/core/templates/dev/head/services/AutoplayedVideosService.ts @@ -29,8 +29,6 @@ // component and use that id instead to determine whether to suppress // autoplaying. -var oppia = require('AppInit.ts').module; - oppia.factory('AutoplayedVideosService', [function() { var autoplayedVideosDict = {}; return { diff --git a/core/templates/dev/head/services/CodeNormalizerService.ts b/core/templates/dev/head/services/CodeNormalizerService.ts index d6640ce73967..3b82c2ba7cee 100644 --- a/core/templates/dev/head/services/CodeNormalizerService.ts +++ b/core/templates/dev/head/services/CodeNormalizerService.ts @@ -17,8 +17,6 @@ * and pencil code interactions. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CodeNormalizerService', [function() { var removeLeadingWhitespace = function(str) { return str.replace(/^\s+/g, ''); diff --git a/core/templates/dev/head/services/ComputeGraphService.ts b/core/templates/dev/head/services/ComputeGraphService.ts index 358a7da94702..9524cf5314da 100644 --- a/core/templates/dev/head/services/ComputeGraphService.ts +++ b/core/templates/dev/head/services/ComputeGraphService.ts @@ -17,8 +17,6 @@ * exploration. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ComputeGraphService', [ 'INTERACTION_SPECS', function(INTERACTION_SPECS) { var _computeGraphData = function(initStateId, states) { diff --git a/core/templates/dev/head/services/ConstructTranslationIdsService.ts b/core/templates/dev/head/services/ConstructTranslationIdsService.ts index 73b9ba4bb2c3..75a3199ae23e 100755 --- a/core/templates/dev/head/services/ConstructTranslationIdsService.ts +++ b/core/templates/dev/head/services/ConstructTranslationIdsService.ts @@ -16,8 +16,6 @@ * @fileoverview Service to dynamically construct translation ids for i18n. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ConstructTranslationIdsService', [ function() { return { diff --git a/core/templates/dev/head/services/ContextService.ts b/core/templates/dev/head/services/ContextService.ts index 4a94d7ed1c59..884c3f2462a1 100644 --- a/core/templates/dev/head/services/ContextService.ts +++ b/core/templates/dev/head/services/ContextService.ts @@ -19,8 +19,6 @@ require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ContextService', [ 'UrlService', 'EXPLORATION_EDITOR_TAB_CONTEXT', 'PAGE_CONTEXT', function(UrlService, EXPLORATION_EDITOR_TAB_CONTEXT, PAGE_CONTEXT) { diff --git a/core/templates/dev/head/services/DateTimeFormatService.ts b/core/templates/dev/head/services/DateTimeFormatService.ts index eb652bb0d032..6795d07e53a3 100644 --- a/core/templates/dev/head/services/DateTimeFormatService.ts +++ b/core/templates/dev/head/services/DateTimeFormatService.ts @@ -17,8 +17,6 @@ * since the Epoch to human-readable dates. */ -var oppia = require('AppInit.ts').module; - oppia.factory('DateTimeFormatService', ['$filter', function($filter) { return { // Returns just the time if the local datetime representation has the diff --git a/core/templates/dev/head/services/DebouncerService.ts b/core/templates/dev/head/services/DebouncerService.ts index a8e302bc877d..c21cee8c2112 100644 --- a/core/templates/dev/head/services/DebouncerService.ts +++ b/core/templates/dev/head/services/DebouncerService.ts @@ -16,8 +16,6 @@ * @fileoverview Service for debouncing function calls. */ -var oppia = require('AppInit.ts').module; - oppia.factory('DebouncerService', [function() { return { // Returns a function that will not be triggered as long as it continues to diff --git a/core/templates/dev/head/services/EditabilityService.ts b/core/templates/dev/head/services/EditabilityService.ts index eb06745df6c9..d2a4486daddb 100644 --- a/core/templates/dev/head/services/EditabilityService.ts +++ b/core/templates/dev/head/services/EditabilityService.ts @@ -20,8 +20,6 @@ // the current active version? Previous versions should not be editable. // TODO(SD): Remove translatable part from this service after translation tab // will get implemented. -var oppia = require('AppInit.ts').module; - oppia.factory('EditabilityService', [function() { var isEditable = false; var isTranslatable = false; diff --git a/core/templates/dev/head/services/ExplorationFeaturesBackendApiService.ts b/core/templates/dev/head/services/ExplorationFeaturesBackendApiService.ts index a48a50ca2927..8b84502d00aa 100644 --- a/core/templates/dev/head/services/ExplorationFeaturesBackendApiService.ts +++ b/core/templates/dev/head/services/ExplorationFeaturesBackendApiService.ts @@ -19,8 +19,6 @@ require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationFeaturesBackendApiService', [ '$http', 'UrlInterpolationService', 'EXPLORATION_FEATURES_URL', function($http, UrlInterpolationService, EXPLORATION_FEATURES_URL) { diff --git a/core/templates/dev/head/services/ExplorationFeaturesService.ts b/core/templates/dev/head/services/ExplorationFeaturesService.ts index f995a4b8eb13..bf92ce17ce78 100644 --- a/core/templates/dev/head/services/ExplorationFeaturesService.ts +++ b/core/templates/dev/head/services/ExplorationFeaturesService.ts @@ -17,8 +17,6 @@ * the exploration editor. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationFeaturesService', [function() { var settings = { areParametersEnabled: false, diff --git a/core/templates/dev/head/services/ExplorationHtmlFormatterService.ts b/core/templates/dev/head/services/ExplorationHtmlFormatterService.ts index 30d90dbcded7..d03b53fc22e1 100644 --- a/core/templates/dev/head/services/ExplorationHtmlFormatterService.ts +++ b/core/templates/dev/head/services/ExplorationHtmlFormatterService.ts @@ -23,8 +23,6 @@ require('services/HtmlEscaperService.ts'); // A service that provides a number of utility functions useful to both the // editor and player. -var oppia = require('AppInit.ts').module; - oppia.factory('ExplorationHtmlFormatterService', [ '$filter', 'ExtensionTagAssemblerService', 'HtmlEscaperService', 'INTERACTION_SPECS', diff --git a/core/templates/dev/head/services/ExtensionTagAssemblerService.ts b/core/templates/dev/head/services/ExtensionTagAssemblerService.ts index 9bbdde99d164..bed9c8dc6dd2 100644 --- a/core/templates/dev/head/services/ExtensionTagAssemblerService.ts +++ b/core/templates/dev/head/services/ExtensionTagAssemblerService.ts @@ -20,8 +20,6 @@ require('filters/string-utility-filters/camel-case-to-hyphens.filter.ts'); // Service for assembling extension tags (for interactions). -var oppia = require('AppInit.ts').module; - oppia.factory('ExtensionTagAssemblerService', [ '$filter', 'HtmlEscaperService', function($filter, HtmlEscaperService) { return { diff --git a/core/templates/dev/head/services/GenerateContentIdService.ts b/core/templates/dev/head/services/GenerateContentIdService.ts index 982ca33eafd9..97053d9d7506 100644 --- a/core/templates/dev/head/services/GenerateContentIdService.ts +++ b/core/templates/dev/head/services/GenerateContentIdService.ts @@ -17,8 +17,6 @@ * SubtitledHtml domain objects. */ -var oppia = require('AppInit.ts').module; - oppia.factory('GenerateContentIdService', [ 'COMPONENT_NAME_FEEDBACK', 'COMPONENT_NAME_HINT', 'COMPONENT_NAME_WORKED_EXAMPLE', function( diff --git a/core/templates/dev/head/services/HtmlEscaperService.ts b/core/templates/dev/head/services/HtmlEscaperService.ts index 02ea2714810a..8baf0372cb06 100644 --- a/core/templates/dev/head/services/HtmlEscaperService.ts +++ b/core/templates/dev/head/services/HtmlEscaperService.ts @@ -16,8 +16,6 @@ * @fileoverview Service for HTML serialization and escaping. */ -var oppia = require('AppInit.ts').module; - oppia.factory('HtmlEscaperService', ['$log', function($log) { var htmlEscaper = { objToEscapedJson: function(obj) { diff --git a/core/templates/dev/head/services/IdGenerationService.ts b/core/templates/dev/head/services/IdGenerationService.ts index 4221a54f6775..e6544b171906 100644 --- a/core/templates/dev/head/services/IdGenerationService.ts +++ b/core/templates/dev/head/services/IdGenerationService.ts @@ -16,8 +16,6 @@ * @fileoverview Service for generating random IDs. */ -var oppia = require('AppInit.ts').module; - oppia.factory('IdGenerationService', [function() { return { generateNewId: function() { diff --git a/core/templates/dev/head/services/ImprovementCardService.ts b/core/templates/dev/head/services/ImprovementCardService.ts index 56294b5ec371..91ccee251723 100644 --- a/core/templates/dev/head/services/ImprovementCardService.ts +++ b/core/templates/dev/head/services/ImprovementCardService.ts @@ -30,8 +30,6 @@ * - Card.prototype.getActionButtons() -> ImprovementActionButton[] */ -var oppia = require('AppInit.ts').module; - oppia.factory('ImprovementCardService', [ 'PlaythroughImprovementCardObjectFactory', function(PlaythroughImprovementCardObjectFactory) { diff --git a/core/templates/dev/head/services/ImprovementsService.ts b/core/templates/dev/head/services/ImprovementsService.ts index 2eabe3f18a6d..af074dffd1eb 100644 --- a/core/templates/dev/head/services/ImprovementsService.ts +++ b/core/templates/dev/head/services/ImprovementsService.ts @@ -17,8 +17,6 @@ * states based on statistics. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ImprovementsService', [function() { var INTERACTION_IDS_REQUIRED_TO_BE_RESOLVED = ['TextInput']; diff --git a/core/templates/dev/head/services/LocalStorageService.ts b/core/templates/dev/head/services/LocalStorageService.ts index c62e9d7b9ca6..12e2bc8354ed 100644 --- a/core/templates/dev/head/services/LocalStorageService.ts +++ b/core/templates/dev/head/services/LocalStorageService.ts @@ -22,8 +22,6 @@ require('domain/exploration/ExplorationDraftObjectFactory.ts'); // // Note that the draft is only saved if localStorage exists and works // (i.e. has storage capacity). -var oppia = require('AppInit.ts').module; - oppia.factory('LocalStorageService', [ 'ExplorationDraftObjectFactory', function(ExplorationDraftObjectFactory) { diff --git a/core/templates/dev/head/services/MessengerService.ts b/core/templates/dev/head/services/MessengerService.ts index c737e262ab7d..eee2eae662b2 100644 --- a/core/templates/dev/head/services/MessengerService.ts +++ b/core/templates/dev/head/services/MessengerService.ts @@ -19,8 +19,6 @@ * be attempted due to cross-domain security issues.) */ -var oppia = require('AppInit.ts').module; - oppia.factory('MessengerService', ['$log', '$window', function($log, $window) { var isPositiveInteger = function(n) { return (typeof n === 'number' && n % 1 === 0 && n > 0); diff --git a/core/templates/dev/head/services/NavigationService.ts b/core/templates/dev/head/services/NavigationService.ts index 05a5507cc65a..cd865d4f2a22 100644 --- a/core/templates/dev/head/services/NavigationService.ts +++ b/core/templates/dev/head/services/NavigationService.ts @@ -16,8 +16,6 @@ * @fileoverview Factory for navigating the top navigation bar with * tab and shift-tab. */ -var oppia = require('AppInit.ts').module; - oppia.factory('NavigationService', [function() { var navigation = { activeMenuName: '', diff --git a/core/templates/dev/head/services/NestedDirectivesRecursionTimeoutPreventionService.ts b/core/templates/dev/head/services/NestedDirectivesRecursionTimeoutPreventionService.ts index 65fa0217cf11..9926c75b1d56 100644 --- a/core/templates/dev/head/services/NestedDirectivesRecursionTimeoutPreventionService.ts +++ b/core/templates/dev/head/services/NestedDirectivesRecursionTimeoutPreventionService.ts @@ -17,8 +17,6 @@ * in nested directives. See: http://stackoverflow.com/q/14430655 */ -var oppia = require('AppInit.ts').module; - oppia.factory('NestedDirectivesRecursionTimeoutPreventionService', [ '$compile', function($compile) { diff --git a/core/templates/dev/head/services/PageTitleService.ts b/core/templates/dev/head/services/PageTitleService.ts index 146fdc3021df..439fb68c20b1 100644 --- a/core/templates/dev/head/services/PageTitleService.ts +++ b/core/templates/dev/head/services/PageTitleService.ts @@ -16,8 +16,6 @@ * @fileoverview Service to set the title of the page. */ -var oppia = require('AppInit.ts').module; - oppia.factory('PageTitleService', ['$document', function($document) { var _setPageTitle = function(title) { $document[0].title = title; diff --git a/core/templates/dev/head/services/PlaythroughIssuesBackendApiService.ts b/core/templates/dev/head/services/PlaythroughIssuesBackendApiService.ts index 2838319ef9a2..8c182599763d 100644 --- a/core/templates/dev/head/services/PlaythroughIssuesBackendApiService.ts +++ b/core/templates/dev/head/services/PlaythroughIssuesBackendApiService.ts @@ -21,8 +21,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PlaythroughIssuesBackendApiService', [ '$http', 'PlaythroughIssueObjectFactory', 'PlaythroughObjectFactory', 'UrlInterpolationService', 'FETCH_ISSUES_URL', 'FETCH_PLAYTHROUGH_URL', diff --git a/core/templates/dev/head/services/PlaythroughIssuesService.ts b/core/templates/dev/head/services/PlaythroughIssuesService.ts index a4af853e122e..788089d15fb9 100644 --- a/core/templates/dev/head/services/PlaythroughIssuesService.ts +++ b/core/templates/dev/head/services/PlaythroughIssuesService.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/PlaythroughIssuesBackendApiService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PlaythroughIssuesService', [ '$uibModal', 'PlaythroughIssuesBackendApiService', 'UrlInterpolationService', 'ISSUE_TYPE_CYCLIC_STATE_TRANSITIONS', 'ISSUE_TYPE_EARLY_QUIT', diff --git a/core/templates/dev/head/services/PlaythroughService.ts b/core/templates/dev/head/services/PlaythroughService.ts index e28c88479cc3..578279735324 100644 --- a/core/templates/dev/head/services/PlaythroughService.ts +++ b/core/templates/dev/head/services/PlaythroughService.ts @@ -24,8 +24,6 @@ require('services/ExplorationFeaturesService.ts'); require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PlaythroughService', [ '$http', 'ExplorationFeaturesService', 'LearnerActionObjectFactory', 'PlaythroughObjectFactory', 'StopwatchObjectFactory', diff --git a/core/templates/dev/head/services/PromoBarService.ts b/core/templates/dev/head/services/PromoBarService.ts index c22526d4e4e5..37a1439092fa 100644 --- a/core/templates/dev/head/services/PromoBarService.ts +++ b/core/templates/dev/head/services/PromoBarService.ts @@ -18,8 +18,6 @@ require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PromoBarService', [ '$http', '$q', 'ENABLE_PROMO_BAR', function($http, $q, ENABLE_PROMO_BAR) { diff --git a/core/templates/dev/head/services/RteHelperService.ts b/core/templates/dev/head/services/RteHelperService.ts index 31035ed4394b..263f70bab24e 100644 --- a/core/templates/dev/head/services/RteHelperService.ts +++ b/core/templates/dev/head/services/RteHelperService.ts @@ -18,8 +18,6 @@ require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('RteHelperService', [ '$document', '$filter', '$interpolate', '$log', '$uibModal', 'ContextService', 'FocusManagerService', 'HtmlEscaperService', diff --git a/core/templates/dev/head/services/SchemaDefaultValueService.ts b/core/templates/dev/head/services/SchemaDefaultValueService.ts index 10a83c65b34f..ba7f9a86df03 100644 --- a/core/templates/dev/head/services/SchemaDefaultValueService.ts +++ b/core/templates/dev/head/services/SchemaDefaultValueService.ts @@ -17,8 +17,6 @@ * SchemaBasedList item. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SchemaDefaultValueService', [function() { return { // TODO(sll): Rewrite this to take validators into account, so that diff --git a/core/templates/dev/head/services/SchemaUndefinedLastElementService.ts b/core/templates/dev/head/services/SchemaUndefinedLastElementService.ts index ad6f1c60d143..abd6963dd0a5 100644 --- a/core/templates/dev/head/services/SchemaUndefinedLastElementService.ts +++ b/core/templates/dev/head/services/SchemaUndefinedLastElementService.ts @@ -17,8 +17,6 @@ * is undefined. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SchemaUndefinedLastElementService', [function() { return { // Returns true if the input value, taken as the last element in a list, diff --git a/core/templates/dev/head/services/SearchService.ts b/core/templates/dev/head/services/SearchService.ts index 763cf464316f..e428a45dd828 100644 --- a/core/templates/dev/head/services/SearchService.ts +++ b/core/templates/dev/head/services/SearchService.ts @@ -18,8 +18,6 @@ require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SearchService', [ '$http', '$log', '$rootScope', '$translate', 'SEARCH_DATA_URL', function($http, $log, $rootScope, $translate, SEARCH_DATA_URL) { diff --git a/core/templates/dev/head/services/SiteAnalyticsService.ts b/core/templates/dev/head/services/SiteAnalyticsService.ts index 6a7966d8b0e1..c8c4f80cca6f 100644 --- a/core/templates/dev/head/services/SiteAnalyticsService.ts +++ b/core/templates/dev/head/services/SiteAnalyticsService.ts @@ -22,8 +22,6 @@ // Note that events are only sent if the CAN_SEND_ANALYTICS_EVENTS flag is // turned on. This flag must be turned on explicitly by the application // owner in feconf.py. -var oppia = require('AppInit.ts').module; - oppia.factory('SiteAnalyticsService', ['$window', function($window) { var CAN_SEND_ANALYTICS_EVENTS = constants.CAN_SEND_ANALYTICS_EVENTS; // For definitions of the various arguments, please see: diff --git a/core/templates/dev/head/services/SpeechSynthesisChunkerService.ts b/core/templates/dev/head/services/SpeechSynthesisChunkerService.ts index c725f96a0773..7c4df8e21a3f 100644 --- a/core/templates/dev/head/services/SpeechSynthesisChunkerService.ts +++ b/core/templates/dev/head/services/SpeechSynthesisChunkerService.ts @@ -23,8 +23,6 @@ * Credits to Peter Woolley and Brett Zamir. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SpeechSynthesisChunkerService', [ '$timeout', 'RTE_COMPONENT_SPECS', function($timeout, RTE_COMPONENT_SPECS) { // Max number of characters to fit into one chunk. diff --git a/core/templates/dev/head/services/StateRulesStatsService.ts b/core/templates/dev/head/services/StateRulesStatsService.ts index dbbde2bf9c21..ebda2c4ab64b 100644 --- a/core/templates/dev/head/services/StateRulesStatsService.ts +++ b/core/templates/dev/head/services/StateRulesStatsService.ts @@ -16,8 +16,6 @@ * @fileoverview Factory for calculating the statistics of a particular state. */ -var oppia = require('AppInit.ts').module; - oppia.factory('StateRulesStatsService', [ '$http', '$injector', '$q', 'AngularNameService', 'AnswerClassificationService', 'ContextService', 'FractionObjectFactory', diff --git a/core/templates/dev/head/services/StateTopAnswersStatsBackendApiService.ts b/core/templates/dev/head/services/StateTopAnswersStatsBackendApiService.ts index dc6df08e1682..22718ce50e40 100644 --- a/core/templates/dev/head/services/StateTopAnswersStatsBackendApiService.ts +++ b/core/templates/dev/head/services/StateTopAnswersStatsBackendApiService.ts @@ -18,8 +18,6 @@ require('services/services.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateTopAnswersStatsBackendApiService', [ '$http', 'UrlInterpolationService', 'STATE_ANSWER_STATS_URL', function($http, UrlInterpolationService, STATE_ANSWER_STATS_URL) { diff --git a/core/templates/dev/head/services/StateTopAnswersStatsService.ts b/core/templates/dev/head/services/StateTopAnswersStatsService.ts index 252834d9f92d..17990b963cab 100644 --- a/core/templates/dev/head/services/StateTopAnswersStatsService.ts +++ b/core/templates/dev/head/services/StateTopAnswersStatsService.ts @@ -24,8 +24,6 @@ require( 'pages/exploration-player-page/services/answer-classification.service.ts'); require('services/ContextService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('StateTopAnswersStatsService', [ '$injector', 'AngularNameService', 'AnswerClassificationService', 'AnswerStatsObjectFactory', 'ContextService', 'ExplorationStatesService', diff --git a/core/templates/dev/head/services/SuggestionModalService.ts b/core/templates/dev/head/services/SuggestionModalService.ts index 8106df9f0811..f4248d94cf74 100644 --- a/core/templates/dev/head/services/SuggestionModalService.ts +++ b/core/templates/dev/head/services/SuggestionModalService.ts @@ -16,8 +16,6 @@ * @fileoverview Service to handle common code for suggestion modal display. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SuggestionModalService', [function() { return { SUGGESTION_ACCEPTED_MSG: 'This suggestion has already been ' + diff --git a/core/templates/dev/head/services/TranslationFileHashLoaderService.ts b/core/templates/dev/head/services/TranslationFileHashLoaderService.ts index a8341204d5ff..bbd2c1daa8cc 100755 --- a/core/templates/dev/head/services/TranslationFileHashLoaderService.ts +++ b/core/templates/dev/head/services/TranslationFileHashLoaderService.ts @@ -16,8 +16,6 @@ * @fileoverview Service to load the i18n translation file. */ -var oppia = require('AppInit.ts').module; - oppia.factory('TranslationFileHashLoaderService', [ '$http', '$q', 'UrlInterpolationService', function($http, $q, UrlInterpolationService) { diff --git a/core/templates/dev/head/services/UserService.ts b/core/templates/dev/head/services/UserService.ts index 99018501e51c..2daa91c80e71 100644 --- a/core/templates/dev/head/services/UserService.ts +++ b/core/templates/dev/head/services/UserService.ts @@ -19,8 +19,6 @@ require('services/contextual/UrlService.ts'); * @fileoverview Service for user data. */ -var oppia = require('AppInit.ts').module; - oppia.factory('UserService', [ '$http', '$q', '$window', 'UrlInterpolationService', 'UrlService', 'UserInfoObjectFactory', 'DEFAULT_PROFILE_IMAGE_PATH', diff --git a/core/templates/dev/head/services/UtilsService.ts b/core/templates/dev/head/services/UtilsService.ts index b75b2175ab6b..e33ad221ba56 100644 --- a/core/templates/dev/head/services/UtilsService.ts +++ b/core/templates/dev/head/services/UtilsService.ts @@ -17,8 +17,6 @@ * used at multiple places in the codebase. */ -var oppia = require('AppInit.ts').module; - oppia.factory('UtilsService', [function() { var utils = { isEmpty: function(obj) { diff --git a/core/templates/dev/head/services/ValidatorsService.ts b/core/templates/dev/head/services/ValidatorsService.ts index 586b7f7d1691..e4f98698500b 100644 --- a/core/templates/dev/head/services/ValidatorsService.ts +++ b/core/templates/dev/head/services/ValidatorsService.ts @@ -19,8 +19,6 @@ require('filters/string-utility-filters/normalize-whitespace.filter.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ValidatorsService', [ '$filter', 'AlertsService', 'INVALID_NAME_CHARS', function($filter, AlertsService, INVALID_NAME_CHARS) { diff --git a/core/templates/dev/head/services/contextual/DeviceInfoService.ts b/core/templates/dev/head/services/contextual/DeviceInfoService.ts index da678b8b08ab..b70cfadd8510 100644 --- a/core/templates/dev/head/services/contextual/DeviceInfoService.ts +++ b/core/templates/dev/head/services/contextual/DeviceInfoService.ts @@ -17,8 +17,6 @@ */ // See: https://stackoverflow.com/a/11381730 -var oppia = require('AppInit.ts').module; - oppia.factory('DeviceInfoService', ['$window', function($window) { return { isMobileDevice: function() { diff --git a/core/templates/dev/head/services/contextual/UrlService.ts b/core/templates/dev/head/services/contextual/UrlService.ts index af92d5391dd7..590fdbed2f37 100644 --- a/core/templates/dev/head/services/contextual/UrlService.ts +++ b/core/templates/dev/head/services/contextual/UrlService.ts @@ -17,8 +17,6 @@ * functions on $window to be mocked in unit tests. */ -var oppia = require('AppInit.ts').module; - oppia.factory('UrlService', ['$window', function($window) { return { // This function is for testing purposes (to mock $window.location) diff --git a/core/templates/dev/head/services/contextual/WindowDimensionsService.ts b/core/templates/dev/head/services/contextual/WindowDimensionsService.ts index 5740d16683b3..992c304420d5 100644 --- a/core/templates/dev/head/services/contextual/WindowDimensionsService.ts +++ b/core/templates/dev/head/services/contextual/WindowDimensionsService.ts @@ -16,8 +16,6 @@ * @fileoverview Service for computing the window dimensions. */ -var oppia = require('AppInit.ts').module; - oppia.factory('WindowDimensionsService', ['$window', function($window) { var onResizeHooks = []; angular.element($window).bind('resize', function() { diff --git a/core/templates/dev/head/services/services.constants.ts b/core/templates/dev/head/services/services.constants.ts index 66720e652836..02b76f94abf4 100644 --- a/core/templates/dev/head/services/services.constants.ts +++ b/core/templates/dev/head/services/services.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for shared services across Oppia. */ -var oppia = require('AppInit.ts').module; - oppia.constant('PAGE_CONTEXT', { EXPLORATION_EDITOR: 'editor', EXPLORATION_PLAYER: 'learner', diff --git a/core/templates/dev/head/services/stateful/BackgroundMaskService.ts b/core/templates/dev/head/services/stateful/BackgroundMaskService.ts index afe09bb61333..83124ee0e870 100644 --- a/core/templates/dev/head/services/stateful/BackgroundMaskService.ts +++ b/core/templates/dev/head/services/stateful/BackgroundMaskService.ts @@ -17,8 +17,6 @@ * visible. */ -var oppia = require('AppInit.ts').module; - oppia.factory('BackgroundMaskService', [ function() { var maskIsActive = false; diff --git a/core/templates/dev/head/services/stateful/FocusManagerService.ts b/core/templates/dev/head/services/stateful/FocusManagerService.ts index 502a7fab9050..43530c4189b2 100644 --- a/core/templates/dev/head/services/stateful/FocusManagerService.ts +++ b/core/templates/dev/head/services/stateful/FocusManagerService.ts @@ -20,8 +20,6 @@ * page. */ -var oppia = require('AppInit.ts').module; - oppia.factory('FocusManagerService', [ '$rootScope', '$timeout', 'DeviceInfoService', 'IdGenerationService', 'LABEL_FOR_CLEARING_FOCUS', diff --git a/core/templates/dev/head/tests/FormBuilderTestPage.ts b/core/templates/dev/head/tests/FormBuilderTestPage.ts index 7f643f39dcd2..83f16c9433a5 100644 --- a/core/templates/dev/head/tests/FormBuilderTestPage.ts +++ b/core/templates/dev/head/tests/FormBuilderTestPage.ts @@ -16,10 +16,6 @@ * @fileoverview Controllers for the form builder test page. */ -require('App.ts'); - -var oppia = require('AppInit.ts').module; - oppia.controller('FormBuilderTestPage', [ '$scope', function($scope) { $scope.testText = 'abc{{paramUnicode1}}'; diff --git a/core/templates/dev/head/tests/FormOverlayDirective.ts b/core/templates/dev/head/tests/FormOverlayDirective.ts index 43a4991eb920..3ed4fa86ef8d 100644 --- a/core/templates/dev/head/tests/FormOverlayDirective.ts +++ b/core/templates/dev/head/tests/FormOverlayDirective.ts @@ -16,10 +16,6 @@ * @fileoverview Directive for form overlay. */ -require('App.ts'); - -var oppia = require('AppInit.ts').module; - oppia.directive('formOverlay', [ 'NestedDirectivesRecursionTimeoutPreventionService', 'UrlInterpolationService', diff --git a/core/templates/dev/head/tests/console_errors.html b/core/templates/dev/head/tests/console_errors.html index adee75a7322c..e3f916a89ce3 100644 --- a/core/templates/dev/head/tests/console_errors.html +++ b/core/templates/dev/head/tests/console_errors.html @@ -5,16 +5,3 @@ {% endblock %} - -{% block footer_js %} - {{ super() }} - - <% for (var chunk in htmlWebpackPlugin.files.js) { %> - <% if (webpackConfig.mode == 'production') { %> - - <% } else { %> - - <% } %> - <% } %> -{% endblock footer_js %} diff --git a/core/tests/karma.conf.ts b/core/tests/karma.conf.ts index 85a4169bc8b0..56beb81b885d 100644 --- a/core/tests/karma.conf.ts +++ b/core/tests/karma.conf.ts @@ -27,6 +27,7 @@ module.exports = function(config) { 'third_party/static/math-expressions-1.7.0/math-expressions.js', 'third_party/static/ckeditor-4.9.2/ckeditor.js', generatedJs, + 'local_compiled_js/core/templates/dev/head/AppInit.js', // Note that unexpected errors occur ("Cannot read property 'num' of // undefined" in MusicNotesInput.js) if the order of core/templates/... // and extensions/... are switched. The test framework may be flaky. @@ -34,11 +35,11 @@ module.exports = function(config) { 'core/templates/dev/head/**/*.directive.html', 'core/templates/dev/head/**/*.template.html', 'local_compiled_js/extensions/**/*.js', - // This is a file that is generated on running the run_frontend_tests.sh - // script. This generated file is a combination of all the spec files - // since Karma is unable to run tests on multiple files due to some - // unknown reason. - 'core/templates/dev/head/combined-tests.spec.ts', + 'core/templates/dev/head/**/*Spec.ts', + 'core/templates/dev/head/*Spec.ts', + 'core/templates/dev/head/**/*.spec.ts', + 'core/templates/dev/head/*.spec.ts', + 'extensions/**/*Spec.ts', { pattern: 'extensions/**/*.png', watched: false, @@ -59,6 +60,19 @@ module.exports = function(config) { 'local_compiled_js/core/templates/dev/head/**/*-e2e.js', 'local_compiled_js/extensions/**/protractor.js', 'backend_prod_files/extensions/**', + // TODO(vojtechjelinek): add these back after the templateCache + // is repaired (#6960) + 'core/templates/dev/head/components/RatingDisplayDirectiveSpec.js', + ('core/templates/dev/head/pages/exploration-editor-page/editor-tab/' + + 'services/solution-verification.service.spec.ts'), + ('core/templates/dev/head/pages/exploration-editor-page/editor-tab/' + + 'state-name-editor/state-name-editor.directive.spec.ts'), + ('core/templates/dev/head/components/state-editor/state-content-editor/' + + 'state-content-editor.directive.spec.ts'), + ('core/templates/dev/head/components/state-editor/' + + 'state-interaction-editor/state-interaction-editor.directive.spec.ts'), + ('extensions/interactions/MusicNotesInput/directives/' + + 'MusicNotesInputSpec.ts') ], proxies: { // Karma serves files under the /base directory. @@ -144,8 +158,7 @@ module.exports = function(config) { resolve: { modules: [ 'core/templates/dev/head', - 'extensions', - 'node_modules', + 'extensions' ], }, module: { diff --git a/extensions/classifiers/CountVectorizerService.ts b/extensions/classifiers/CountVectorizerService.ts index 40c576fbdea4..f5847b9511b1 100644 --- a/extensions/classifiers/CountVectorizerService.ts +++ b/extensions/classifiers/CountVectorizerService.ts @@ -23,8 +23,6 @@ * propagated here. */ -var oppia = require('AppInit.ts').module; - oppia.factory('CountVectorizerService', [function() { return { vectorize: function(tokens, vocabulary) { diff --git a/extensions/classifiers/PythonProgramTokenizer.ts b/extensions/classifiers/PythonProgramTokenizer.ts index 36ee98eecf54..83fb2c1c1e69 100644 --- a/extensions/classifiers/PythonProgramTokenizer.ts +++ b/extensions/classifiers/PythonProgramTokenizer.ts @@ -28,8 +28,6 @@ require('classifiers/classifiers-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PythonProgramTokenizer', [ '$log', 'PythonProgramTokenType', function($log, PythonProgramTokenType) { var groupOfRegEx = function(...params) { diff --git a/extensions/classifiers/SVMPredictionService.ts b/extensions/classifiers/SVMPredictionService.ts index abd4113121b5..f96ee1753fbc 100644 --- a/extensions/classifiers/SVMPredictionService.ts +++ b/extensions/classifiers/SVMPredictionService.ts @@ -28,8 +28,6 @@ require('domain/classifier/PredictionResultObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SVMPredictionService', [ '$log', 'PredictionResultObjectFactory', function($log, PredictionResultObjectFactory) { diff --git a/extensions/classifiers/TextInputTokenizer.ts b/extensions/classifiers/TextInputTokenizer.ts index d866f67bc054..7b70d5ba8659 100644 --- a/extensions/classifiers/TextInputTokenizer.ts +++ b/extensions/classifiers/TextInputTokenizer.ts @@ -26,8 +26,6 @@ */ // TODO(anmol): Add functionality to add n_grams, remove stop words. -var oppia = require('AppInit.ts').module; - oppia.factory('TextInputTokenizer', [function() { return { generateTokens: function(textInput) { diff --git a/extensions/classifiers/WinnowingPreprocessingService.ts b/extensions/classifiers/WinnowingPreprocessingService.ts index 860c002a532a..07d394631c11 100644 --- a/extensions/classifiers/WinnowingPreprocessingService.ts +++ b/extensions/classifiers/WinnowingPreprocessingService.ts @@ -21,8 +21,6 @@ * same task. */ -var oppia = require('AppInit.ts').module; - oppia.factory('WinnowingPreprocessingService', [function() { var generateHashValue = function(tokens, tokenToId) { var hashVal = 0; diff --git a/extensions/classifiers/classifiers-extension.constants.ts b/extensions/classifiers/classifiers-extension.constants.ts index d67c006d5776..7a3b82be7eb1 100644 --- a/extensions/classifiers/classifiers-extension.constants.ts +++ b/extensions/classifiers/classifiers-extension.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for classfiers extensions. */ -var oppia = require('AppInit.ts').module; - oppia.constant('PythonProgramTokenType', { COMMENT: 'COMMENT', NL: 'NL', diff --git a/extensions/interactions/CodeRepl/CodeReplPredictionService.ts b/extensions/interactions/CodeRepl/CodeReplPredictionService.ts index 216cea6c14ff..3e1b990c6f17 100644 --- a/extensions/interactions/CodeRepl/CodeReplPredictionService.ts +++ b/extensions/interactions/CodeRepl/CodeReplPredictionService.ts @@ -28,8 +28,6 @@ require('classifiers/WinnowingPreprocessingService.ts'); require('interactions/interactions-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CodeReplPredictionService', [ 'CountVectorizerService', 'PythonProgramTokenType', 'PythonProgramTokenizer', 'SVMPredictionService', diff --git a/extensions/interactions/CodeRepl/directives/CodeReplRulesService.ts b/extensions/interactions/CodeRepl/directives/CodeReplRulesService.ts index 455ecc976b5e..a4c425518cf5 100644 --- a/extensions/interactions/CodeRepl/directives/CodeReplRulesService.ts +++ b/extensions/interactions/CodeRepl/directives/CodeReplRulesService.ts @@ -19,8 +19,6 @@ require('filters/string-utility-filters/normalize-whitespace.filter.ts'); require('services/CodeNormalizerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CodeReplRulesService', [ '$filter', 'CodeNormalizerService', function($filter, CodeNormalizerService) { diff --git a/extensions/interactions/CodeRepl/directives/CodeReplValidationService.ts b/extensions/interactions/CodeRepl/directives/CodeReplValidationService.ts index 9b98a81271de..2d88816f17d4 100644 --- a/extensions/interactions/CodeRepl/directives/CodeReplValidationService.ts +++ b/extensions/interactions/CodeRepl/directives/CodeReplValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('CodeReplValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/CodeRepl/directives/OppiaInteractiveCodeReplDirective.ts b/extensions/interactions/CodeRepl/directives/OppiaInteractiveCodeReplDirective.ts index de80fd3e0f24..1e7d2bcec680 100644 --- a/extensions/interactions/CodeRepl/directives/OppiaInteractiveCodeReplDirective.ts +++ b/extensions/interactions/CodeRepl/directives/OppiaInteractiveCodeReplDirective.ts @@ -27,8 +27,6 @@ require( require('services/HtmlEscaperService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveCodeRepl', [ 'CodeReplRulesService', 'HtmlEscaperService', 'UrlInterpolationService', 'EVENT_NEW_CARD_AVAILABLE', diff --git a/extensions/interactions/CodeRepl/directives/OppiaResponseCodeReplDirective.ts b/extensions/interactions/CodeRepl/directives/OppiaResponseCodeReplDirective.ts index 3c5cb3e3dba7..8f526277ad12 100644 --- a/extensions/interactions/CodeRepl/directives/OppiaResponseCodeReplDirective.ts +++ b/extensions/interactions/CodeRepl/directives/OppiaResponseCodeReplDirective.ts @@ -24,8 +24,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseCodeRepl', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/CodeRepl/directives/OppiaShortResponseCodeReplDirective.ts b/extensions/interactions/CodeRepl/directives/OppiaShortResponseCodeReplDirective.ts index 6b227dea99a3..291d8501e786 100644 --- a/extensions/interactions/CodeRepl/directives/OppiaShortResponseCodeReplDirective.ts +++ b/extensions/interactions/CodeRepl/directives/OppiaShortResponseCodeReplDirective.ts @@ -25,8 +25,6 @@ require('filters/string-utility-filters/truncate-at-first-line.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseCodeRepl', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/Continue/directives/ContinueRulesService.ts b/extensions/interactions/Continue/directives/ContinueRulesService.ts index db4aaf5dcaaa..9920b571dd5c 100644 --- a/extensions/interactions/Continue/directives/ContinueRulesService.ts +++ b/extensions/interactions/Continue/directives/ContinueRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ContinueRulesService', [function() { return {}; }]); diff --git a/extensions/interactions/Continue/directives/ContinueValidationService.ts b/extensions/interactions/Continue/directives/ContinueValidationService.ts index 606246dd4bb5..c7668dc403a1 100644 --- a/extensions/interactions/Continue/directives/ContinueValidationService.ts +++ b/extensions/interactions/Continue/directives/ContinueValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ContinueValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/Continue/directives/OppiaInteractiveContinueDirective.ts b/extensions/interactions/Continue/directives/OppiaInteractiveContinueDirective.ts index 35b1cf443b70..427ff05dbd29 100644 --- a/extensions/interactions/Continue/directives/OppiaInteractiveContinueDirective.ts +++ b/extensions/interactions/Continue/directives/OppiaInteractiveContinueDirective.ts @@ -28,8 +28,6 @@ require('services/ContextService.ts'); require('services/HtmlEscaperService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveContinue', [ 'ContinueRulesService', 'HtmlEscaperService', 'UrlInterpolationService', function(ContinueRulesService, HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/Continue/directives/OppiaResponseContinueDirective.ts b/extensions/interactions/Continue/directives/OppiaResponseContinueDirective.ts index dd6f02eb306b..8e49d85a3642 100644 --- a/extensions/interactions/Continue/directives/OppiaResponseContinueDirective.ts +++ b/extensions/interactions/Continue/directives/OppiaResponseContinueDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseContinue', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/Continue/directives/OppiaShortResponseContinueDirective.ts b/extensions/interactions/Continue/directives/OppiaShortResponseContinueDirective.ts index b563b01f5b5a..b1e1ae62f582 100644 --- a/extensions/interactions/Continue/directives/OppiaShortResponseContinueDirective.ts +++ b/extensions/interactions/Continue/directives/OppiaShortResponseContinueDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseContinue', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputRulesService.ts b/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputRulesService.ts index 66dc3cee2102..7c4d9d36b8e1 100644 --- a/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputRulesService.ts +++ b/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputRulesService.ts @@ -17,8 +17,6 @@ */ // Rules Service for DragAndDropSortInput interaction. -var oppia = require('AppInit.ts').module; - oppia.factory('DragAndDropSortInputRulesService', [function() { var checkEquality = function(answer, inputs) { for (var i = 0; i < answer.length; i++) { diff --git a/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputValidationService.ts b/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputValidationService.ts index 0460511ddd54..5c4c5c55c894 100644 --- a/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputValidationService.ts +++ b/extensions/interactions/DragAndDropSortInput/directives/DragAndDropSortInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('DragAndDropSortInputValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/DragAndDropSortInput/directives/OppiaInteractiveDragAndDropSortInputDirective.ts b/extensions/interactions/DragAndDropSortInput/directives/OppiaInteractiveDragAndDropSortInputDirective.ts index f3a9ddfe9707..603b27a0dbae 100644 --- a/extensions/interactions/DragAndDropSortInput/directives/OppiaInteractiveDragAndDropSortInputDirective.ts +++ b/extensions/interactions/DragAndDropSortInput/directives/OppiaInteractiveDragAndDropSortInputDirective.ts @@ -26,8 +26,6 @@ require( require('services/HtmlEscaperService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveDragAndDropSortInput', [ 'DragAndDropSortInputRulesService', 'HtmlEscaperService', 'UrlInterpolationService', function( diff --git a/extensions/interactions/DragAndDropSortInput/directives/OppiaResponseDragAndDropSortInputDirective.ts b/extensions/interactions/DragAndDropSortInput/directives/OppiaResponseDragAndDropSortInputDirective.ts index 27d6e5733029..66adaf222b4f 100644 --- a/extensions/interactions/DragAndDropSortInput/directives/OppiaResponseDragAndDropSortInputDirective.ts +++ b/extensions/interactions/DragAndDropSortInput/directives/OppiaResponseDragAndDropSortInputDirective.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseDragAndDropSortInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/DragAndDropSortInput/directives/OppiaShortResponseDragAndDropSortInputDirective.ts b/extensions/interactions/DragAndDropSortInput/directives/OppiaShortResponseDragAndDropSortInputDirective.ts index 7d87e3d1b5b7..04e38b80d2e7 100644 --- a/extensions/interactions/DragAndDropSortInput/directives/OppiaShortResponseDragAndDropSortInputDirective.ts +++ b/extensions/interactions/DragAndDropSortInput/directives/OppiaShortResponseDragAndDropSortInputDirective.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseDragAndDropSortInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/EndExploration/directives/EndExplorationRulesService.ts b/extensions/interactions/EndExploration/directives/EndExplorationRulesService.ts index 47a69233d343..cf7ae45a1fd0 100644 --- a/extensions/interactions/EndExploration/directives/EndExplorationRulesService.ts +++ b/extensions/interactions/EndExploration/directives/EndExplorationRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('EndExplorationRulesService', [function() { return {}; }]); diff --git a/extensions/interactions/EndExploration/directives/EndExplorationValidationService.ts b/extensions/interactions/EndExploration/directives/EndExplorationValidationService.ts index 1143ad9d2d4e..1ecf4bd8e094 100644 --- a/extensions/interactions/EndExploration/directives/EndExplorationValidationService.ts +++ b/extensions/interactions/EndExploration/directives/EndExplorationValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('EndExplorationValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/EndExploration/directives/OppiaInteractiveEndExplorationDirective.ts b/extensions/interactions/EndExploration/directives/OppiaInteractiveEndExplorationDirective.ts index 2ad36d0e0bc6..c0f669512c1a 100644 --- a/extensions/interactions/EndExploration/directives/OppiaInteractiveEndExplorationDirective.ts +++ b/extensions/interactions/EndExploration/directives/OppiaInteractiveEndExplorationDirective.ts @@ -25,8 +25,6 @@ require('services/ContextService.ts'); require('services/HtmlEscaperService.ts'); require('services/contextual/UrlService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveEndExploration', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/EndExploration/directives/OppiaResponseEndExplorationDirective.ts b/extensions/interactions/EndExploration/directives/OppiaResponseEndExplorationDirective.ts index 8ad6feafd6b7..8f910b86774f 100644 --- a/extensions/interactions/EndExploration/directives/OppiaResponseEndExplorationDirective.ts +++ b/extensions/interactions/EndExploration/directives/OppiaResponseEndExplorationDirective.ts @@ -20,8 +20,6 @@ * followed by the name of the arg. */ -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseEndExploration', [function() { return { restrict: 'E', diff --git a/extensions/interactions/EndExploration/directives/OppiaShortResponseEndExplorationDirective.ts b/extensions/interactions/EndExploration/directives/OppiaShortResponseEndExplorationDirective.ts index 0db80a02c665..4b59decd12f3 100644 --- a/extensions/interactions/EndExploration/directives/OppiaShortResponseEndExplorationDirective.ts +++ b/extensions/interactions/EndExploration/directives/OppiaShortResponseEndExplorationDirective.ts @@ -20,8 +20,6 @@ * followed by the name of the arg. */ -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseEndExploration', [function() { return { restrict: 'E', diff --git a/extensions/interactions/FractionInput/directives/FractionInputRulesService.ts b/extensions/interactions/FractionInput/directives/FractionInputRulesService.ts index 08a6b372c038..dcb8b3d677dc 100644 --- a/extensions/interactions/FractionInput/directives/FractionInputRulesService.ts +++ b/extensions/interactions/FractionInput/directives/FractionInputRulesService.ts @@ -18,8 +18,6 @@ require('domain/objects/FractionObjectFactory.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('FractionInputRulesService', [ 'FractionObjectFactory', function(FractionObjectFactory) { diff --git a/extensions/interactions/FractionInput/directives/FractionInputValidationService.ts b/extensions/interactions/FractionInput/directives/FractionInputValidationService.ts index 012de2b71cb7..c36c343bf17c 100644 --- a/extensions/interactions/FractionInput/directives/FractionInputValidationService.ts +++ b/extensions/interactions/FractionInput/directives/FractionInputValidationService.ts @@ -19,8 +19,6 @@ require('domain/objects/FractionObjectFactory.ts'); require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('FractionInputValidationService', [ 'FractionObjectFactory', 'baseInteractionValidationService', 'WARNING_TYPES', diff --git a/extensions/interactions/FractionInput/directives/OppiaInteractiveFractionInputDirective.ts b/extensions/interactions/FractionInput/directives/OppiaInteractiveFractionInputDirective.ts index 29c642e79d8b..d3d127832adb 100644 --- a/extensions/interactions/FractionInput/directives/OppiaInteractiveFractionInputDirective.ts +++ b/extensions/interactions/FractionInput/directives/OppiaInteractiveFractionInputDirective.ts @@ -25,8 +25,6 @@ require('services/HtmlEscaperService.ts'); require('services/contextual/WindowDimensionsService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveFractionInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/FractionInput/directives/OppiaResponseFractionInputDirective.ts b/extensions/interactions/FractionInput/directives/OppiaResponseFractionInputDirective.ts index f934f3975ef8..676b77411894 100644 --- a/extensions/interactions/FractionInput/directives/OppiaResponseFractionInputDirective.ts +++ b/extensions/interactions/FractionInput/directives/OppiaResponseFractionInputDirective.ts @@ -20,8 +20,6 @@ require('domain/objects/FractionObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseFractionInput', [ 'FractionObjectFactory', 'HtmlEscaperService', 'UrlInterpolationService', function( diff --git a/extensions/interactions/FractionInput/directives/OppiaShortResponseFractionInputDirective.ts b/extensions/interactions/FractionInput/directives/OppiaShortResponseFractionInputDirective.ts index a340dd9eb2a7..f1a7a1458093 100644 --- a/extensions/interactions/FractionInput/directives/OppiaShortResponseFractionInputDirective.ts +++ b/extensions/interactions/FractionInput/directives/OppiaShortResponseFractionInputDirective.ts @@ -20,8 +20,6 @@ require('domain/objects/FractionObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseFractionInput', [ 'FractionObjectFactory', 'HtmlEscaperService', 'UrlInterpolationService', function( diff --git a/extensions/interactions/GraphInput/directives/GraphDetailService.ts b/extensions/interactions/GraphInput/directives/GraphDetailService.ts index 656027c0a11b..657cfe7c62d5 100644 --- a/extensions/interactions/GraphInput/directives/GraphDetailService.ts +++ b/extensions/interactions/GraphInput/directives/GraphDetailService.ts @@ -16,8 +16,6 @@ * @fileoverview Detail service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('GraphDetailService', [function() { return { VERTEX_RADIUS: 6, diff --git a/extensions/interactions/GraphInput/directives/GraphInputRulesService.ts b/extensions/interactions/GraphInput/directives/GraphInputRulesService.ts index 48e446010e49..9c93e6b56dc3 100644 --- a/extensions/interactions/GraphInput/directives/GraphInputRulesService.ts +++ b/extensions/interactions/GraphInput/directives/GraphInputRulesService.ts @@ -18,8 +18,6 @@ require('interactions/GraphInput/directives/GraphUtilsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('GraphInputRulesService', [ 'GraphUtilsService', function(GraphUtilsService) { /** diff --git a/extensions/interactions/GraphInput/directives/GraphInputValidationService.ts b/extensions/interactions/GraphInput/directives/GraphInputValidationService.ts index 0c35d1672327..4b17163cee9a 100644 --- a/extensions/interactions/GraphInput/directives/GraphInputValidationService.ts +++ b/extensions/interactions/GraphInput/directives/GraphInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('GraphInputValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/GraphInput/directives/GraphUtilsService.ts b/extensions/interactions/GraphInput/directives/GraphUtilsService.ts index f89eb6ceb505..e58df6c25bf7 100644 --- a/extensions/interactions/GraphInput/directives/GraphUtilsService.ts +++ b/extensions/interactions/GraphInput/directives/GraphUtilsService.ts @@ -16,8 +16,6 @@ * @fileoverview Utils service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('GraphUtilsService', [function() { return { GRAPH_ADJACENCY_MODE: { diff --git a/extensions/interactions/GraphInput/directives/GraphVizDirective.ts b/extensions/interactions/GraphInput/directives/GraphVizDirective.ts index d3ee988d6f80..7fb0914065c9 100644 --- a/extensions/interactions/GraphInput/directives/GraphVizDirective.ts +++ b/extensions/interactions/GraphInput/directives/GraphVizDirective.ts @@ -27,8 +27,6 @@ require('services/stateful/FocusManagerService.ts'); require('interactions/interactions-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('graphViz', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/GraphInput/directives/OppiaInteractiveGraphInputDirective.ts b/extensions/interactions/GraphInput/directives/OppiaInteractiveGraphInputDirective.ts index 4664cc68a94c..e78fdbdff8ac 100644 --- a/extensions/interactions/GraphInput/directives/OppiaInteractiveGraphInputDirective.ts +++ b/extensions/interactions/GraphInput/directives/OppiaInteractiveGraphInputDirective.ts @@ -30,8 +30,6 @@ require('services/HtmlEscaperService.ts'); require('services/contextual/UrlService.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveGraphInput', [ 'GraphInputRulesService', 'HtmlEscaperService', 'UrlInterpolationService', 'UrlService', 'EVENT_NEW_CARD_AVAILABLE', diff --git a/extensions/interactions/GraphInput/directives/OppiaResponseGraphInputDirective.ts b/extensions/interactions/GraphInput/directives/OppiaResponseGraphInputDirective.ts index 21a25cbab302..481e92247ddb 100644 --- a/extensions/interactions/GraphInput/directives/OppiaResponseGraphInputDirective.ts +++ b/extensions/interactions/GraphInput/directives/OppiaResponseGraphInputDirective.ts @@ -26,8 +26,6 @@ require('services/HtmlEscaperService.ts'); require('interactions/interactions-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseGraphInput', [ 'GraphDetailService', 'HtmlEscaperService', 'UrlInterpolationService', 'GRAPH_INPUT_LEFT_MARGIN', diff --git a/extensions/interactions/GraphInput/directives/OppiaShortResponseGraphInputDirective.ts b/extensions/interactions/GraphInput/directives/OppiaShortResponseGraphInputDirective.ts index fd604de526cf..356e8d6ca91f 100644 --- a/extensions/interactions/GraphInput/directives/OppiaShortResponseGraphInputDirective.ts +++ b/extensions/interactions/GraphInput/directives/OppiaShortResponseGraphInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseGraphInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/ImageClickInput/directives/ImageClickInputRulesService.ts b/extensions/interactions/ImageClickInput/directives/ImageClickInputRulesService.ts index 7463e6e1bb1d..f6aafb77ee75 100644 --- a/extensions/interactions/ImageClickInput/directives/ImageClickInputRulesService.ts +++ b/extensions/interactions/ImageClickInput/directives/ImageClickInputRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('ImageClickInputRulesService', [function() { return { IsInRegion: function(answer, inputs) { diff --git a/extensions/interactions/ImageClickInput/directives/ImageClickInputValidationService.ts b/extensions/interactions/ImageClickInput/directives/ImageClickInputValidationService.ts index 938c1f7dd683..8183e071e95d 100644 --- a/extensions/interactions/ImageClickInput/directives/ImageClickInputValidationService.ts +++ b/extensions/interactions/ImageClickInput/directives/ImageClickInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ImageClickInputValidationService', [ '$filter', 'baseInteractionValidationService', 'WARNING_TYPES', function($filter, baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/ImageClickInput/directives/OppiaInteractiveImageClickInputDirective.ts b/extensions/interactions/ImageClickInput/directives/OppiaInteractiveImageClickInputDirective.ts index c227f4fa4285..7b7472eb7494 100644 --- a/extensions/interactions/ImageClickInput/directives/OppiaInteractiveImageClickInputDirective.ts +++ b/extensions/interactions/ImageClickInput/directives/OppiaInteractiveImageClickInputDirective.ts @@ -27,8 +27,6 @@ require('services/AssetsBackendApiService.ts'); require('services/ContextService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveImageClickInput', [ '$sce', 'AssetsBackendApiService', 'ContextService', 'HtmlEscaperService', 'ImageClickInputRulesService', 'ImagePreloaderService', diff --git a/extensions/interactions/ImageClickInput/directives/OppiaResponseImageClickInputDirective.ts b/extensions/interactions/ImageClickInput/directives/OppiaResponseImageClickInputDirective.ts index aadc204964bb..07063e5f59d7 100644 --- a/extensions/interactions/ImageClickInput/directives/OppiaResponseImageClickInputDirective.ts +++ b/extensions/interactions/ImageClickInput/directives/OppiaResponseImageClickInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseImageClickInput', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/ImageClickInput/directives/OppiaShortResponseImageClickInputDirective.ts b/extensions/interactions/ImageClickInput/directives/OppiaShortResponseImageClickInputDirective.ts index 22ee17dc1caf..2572f9c87247 100644 --- a/extensions/interactions/ImageClickInput/directives/OppiaShortResponseImageClickInputDirective.ts +++ b/extensions/interactions/ImageClickInput/directives/OppiaShortResponseImageClickInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseImageClickInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/InteractiveMap/directives/InteractiveMapRulesService.ts b/extensions/interactions/InteractiveMap/directives/InteractiveMapRulesService.ts index ae49bdedbefe..d6f5674f25b0 100644 --- a/extensions/interactions/InteractiveMap/directives/InteractiveMapRulesService.ts +++ b/extensions/interactions/InteractiveMap/directives/InteractiveMapRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('InteractiveMapRulesService', [ function() { var RADIUS_OF_EARTH_KM = 6371.0; diff --git a/extensions/interactions/InteractiveMap/directives/InteractiveMapValidationService.ts b/extensions/interactions/InteractiveMap/directives/InteractiveMapValidationService.ts index 36b47df623c8..5883dfdd98b6 100644 --- a/extensions/interactions/InteractiveMap/directives/InteractiveMapValidationService.ts +++ b/extensions/interactions/InteractiveMap/directives/InteractiveMapValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('InteractiveMapValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/InteractiveMap/directives/OppiaInteractiveInteractiveMapDirective.ts b/extensions/interactions/InteractiveMap/directives/OppiaInteractiveInteractiveMapDirective.ts index cf399d01db91..dc07fe5a65a3 100644 --- a/extensions/interactions/InteractiveMap/directives/OppiaInteractiveInteractiveMapDirective.ts +++ b/extensions/interactions/InteractiveMap/directives/OppiaInteractiveInteractiveMapDirective.ts @@ -27,8 +27,6 @@ require( 'pages/exploration-player-page/services/current-interaction.service.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveInteractiveMap', [ 'HtmlEscaperService', 'InteractiveMapRulesService', 'UrlInterpolationService', 'EVENT_NEW_CARD_AVAILABLE', diff --git a/extensions/interactions/InteractiveMap/directives/OppiaResponseInteractiveMapDirective.ts b/extensions/interactions/InteractiveMap/directives/OppiaResponseInteractiveMapDirective.ts index 908ac6105db6..837d1d573de9 100644 --- a/extensions/interactions/InteractiveMap/directives/OppiaResponseInteractiveMapDirective.ts +++ b/extensions/interactions/InteractiveMap/directives/OppiaResponseInteractiveMapDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseInteractiveMap', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/InteractiveMap/directives/OppiaShortResponseInteractiveMapDirective.ts b/extensions/interactions/InteractiveMap/directives/OppiaShortResponseInteractiveMapDirective.ts index c2d3c19cfb41..cc7fb7c9b6c9 100644 --- a/extensions/interactions/InteractiveMap/directives/OppiaShortResponseInteractiveMapDirective.ts +++ b/extensions/interactions/InteractiveMap/directives/OppiaShortResponseInteractiveMapDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseInteractiveMap', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputRulesService.ts b/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputRulesService.ts index dbac9a2ff1f7..ced46d8e0f16 100644 --- a/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputRulesService.ts +++ b/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputRulesService.ts @@ -18,8 +18,6 @@ require('filters/remove-duplicates-in-array.filter.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ItemSelectionInputRulesService', ['$filter', function($filter) { return { Equals: function(answer, inputs) { diff --git a/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputValidationService.ts b/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputValidationService.ts index 06b7d65c1e38..3c68172922dd 100644 --- a/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputValidationService.ts +++ b/extensions/interactions/ItemSelectionInput/directives/ItemSelectionInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('ItemSelectionInputValidationService', [ '$filter', 'baseInteractionValidationService', 'WARNING_TYPES', function($filter, baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/ItemSelectionInput/directives/OppiaInteractiveItemSelectionInputDirective.ts b/extensions/interactions/ItemSelectionInput/directives/OppiaInteractiveItemSelectionInputDirective.ts index 2e2a1bf24e1a..652fab8c54ed 100644 --- a/extensions/interactions/ItemSelectionInput/directives/OppiaInteractiveItemSelectionInputDirective.ts +++ b/extensions/interactions/ItemSelectionInput/directives/OppiaInteractiveItemSelectionInputDirective.ts @@ -30,8 +30,6 @@ require('services/contextual/UrlService.ts'); require('services/contextual/WindowDimensionsService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveItemSelectionInput', [ 'HtmlEscaperService', 'ItemSelectionInputRulesService', 'UrlInterpolationService', function( diff --git a/extensions/interactions/ItemSelectionInput/directives/OppiaResponseItemSelectionInputDirective.ts b/extensions/interactions/ItemSelectionInput/directives/OppiaResponseItemSelectionInputDirective.ts index 8b41107cb9fc..f5dca27f645f 100644 --- a/extensions/interactions/ItemSelectionInput/directives/OppiaResponseItemSelectionInputDirective.ts +++ b/extensions/interactions/ItemSelectionInput/directives/OppiaResponseItemSelectionInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseItemSelectionInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/ItemSelectionInput/directives/OppiaShortResponseItemSelectionInputDirective.ts b/extensions/interactions/ItemSelectionInput/directives/OppiaShortResponseItemSelectionInputDirective.ts index fbec52ec4dac..0a7f69c4554e 100644 --- a/extensions/interactions/ItemSelectionInput/directives/OppiaShortResponseItemSelectionInputDirective.ts +++ b/extensions/interactions/ItemSelectionInput/directives/OppiaShortResponseItemSelectionInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseItemSelectionInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/LogicProof/directives/LogicProofRulesService.ts b/extensions/interactions/LogicProof/directives/LogicProofRulesService.ts index 8d1c2d514f47..59804ae45d5f 100644 --- a/extensions/interactions/LogicProof/directives/LogicProofRulesService.ts +++ b/extensions/interactions/LogicProof/directives/LogicProofRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('LogicProofRulesService', [function() { return { Correct: function(answer) { diff --git a/extensions/interactions/LogicProof/directives/LogicProofValidationService.ts b/extensions/interactions/LogicProof/directives/LogicProofValidationService.ts index 799a4323d6da..c232ed3fde52 100644 --- a/extensions/interactions/LogicProof/directives/LogicProofValidationService.ts +++ b/extensions/interactions/LogicProof/directives/LogicProofValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('LogicProofValidationService', [ 'baseInteractionValidationService', function(baseInteractionValidationService) { diff --git a/extensions/interactions/LogicProof/directives/OppiaInteractiveLogicProofDirective.ts b/extensions/interactions/LogicProof/directives/OppiaInteractiveLogicProofDirective.ts index 1d6fbf1f82a7..1050f7bdcc6c 100644 --- a/extensions/interactions/LogicProof/directives/OppiaInteractiveLogicProofDirective.ts +++ b/extensions/interactions/LogicProof/directives/OppiaInteractiveLogicProofDirective.ts @@ -24,8 +24,6 @@ require('services/contextual/UrlService.ts'); require('services/contextual/WindowDimensionsService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveLogicProof', [ 'HtmlEscaperService', 'UrlInterpolationService', 'EVENT_NEW_CARD_AVAILABLE', function( diff --git a/extensions/interactions/LogicProof/directives/OppiaResponseLogicProofDirective.ts b/extensions/interactions/LogicProof/directives/OppiaResponseLogicProofDirective.ts index 4d071f53b1be..330ec38802ba 100644 --- a/extensions/interactions/LogicProof/directives/OppiaResponseLogicProofDirective.ts +++ b/extensions/interactions/LogicProof/directives/OppiaResponseLogicProofDirective.ts @@ -19,8 +19,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseLogicProof', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/LogicProof/directives/OppiaShortResponseLogicProofDirective.ts b/extensions/interactions/LogicProof/directives/OppiaShortResponseLogicProofDirective.ts index 804317d5660b..067504aafa98 100644 --- a/extensions/interactions/LogicProof/directives/OppiaShortResponseLogicProofDirective.ts +++ b/extensions/interactions/LogicProof/directives/OppiaShortResponseLogicProofDirective.ts @@ -21,8 +21,6 @@ require('filters/string-utility-filters/truncate-at-first-line.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseLogicProof', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/MathExpressionInput/directives/MathExpressionInputRulesService.ts b/extensions/interactions/MathExpressionInput/directives/MathExpressionInputRulesService.ts index 7d2185f3fa73..6629bc235b1b 100644 --- a/extensions/interactions/MathExpressionInput/directives/MathExpressionInputRulesService.ts +++ b/extensions/interactions/MathExpressionInput/directives/MathExpressionInputRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('MathExpressionInputRulesService', [function() { return { IsMathematicallyEquivalentTo: function(answer, inputs) { diff --git a/extensions/interactions/MathExpressionInput/directives/MathExpressionInputValidationService.ts b/extensions/interactions/MathExpressionInput/directives/MathExpressionInputValidationService.ts index 026753a0a489..18b8bec5dbe9 100644 --- a/extensions/interactions/MathExpressionInput/directives/MathExpressionInputValidationService.ts +++ b/extensions/interactions/MathExpressionInput/directives/MathExpressionInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('MathExpressionInputValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/MathExpressionInput/directives/OppiaInteractiveMathExpressionInputDirective.ts b/extensions/interactions/MathExpressionInput/directives/OppiaInteractiveMathExpressionInputDirective.ts index c448d14bd09e..0dc6f7872792 100644 --- a/extensions/interactions/MathExpressionInput/directives/OppiaInteractiveMathExpressionInputDirective.ts +++ b/extensions/interactions/MathExpressionInput/directives/OppiaInteractiveMathExpressionInputDirective.ts @@ -31,8 +31,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('services/DebouncerService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveMathExpressionInput', [ 'HtmlEscaperService', 'MathExpressionInputRulesService', 'UrlInterpolationService', diff --git a/extensions/interactions/MathExpressionInput/directives/OppiaResponseMathExpressionInputDirective.ts b/extensions/interactions/MathExpressionInput/directives/OppiaResponseMathExpressionInputDirective.ts index 2431f8859bd7..1d6fd1bff84b 100644 --- a/extensions/interactions/MathExpressionInput/directives/OppiaResponseMathExpressionInputDirective.ts +++ b/extensions/interactions/MathExpressionInput/directives/OppiaResponseMathExpressionInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseMathExpressionInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/MathExpressionInput/directives/OppiaShortResponseMathExpressionInputDirective.ts b/extensions/interactions/MathExpressionInput/directives/OppiaShortResponseMathExpressionInputDirective.ts index 98c056c3348e..5da821386442 100644 --- a/extensions/interactions/MathExpressionInput/directives/OppiaShortResponseMathExpressionInputDirective.ts +++ b/extensions/interactions/MathExpressionInput/directives/OppiaShortResponseMathExpressionInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseMathExpressionInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputRulesService.ts b/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputRulesService.ts index 23dc1ecf539e..c2bb6cbae075 100644 --- a/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputRulesService.ts +++ b/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('MultipleChoiceInputRulesService', [function() { return { Equals: function(answer, inputs) { diff --git a/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputValidationService.ts b/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputValidationService.ts index 8b2f337e1524..ec5f4023d636 100644 --- a/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputValidationService.ts +++ b/extensions/interactions/MultipleChoiceInput/directives/MultipleChoiceInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('MultipleChoiceInputValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/MultipleChoiceInput/directives/OppiaInteractiveMultipleChoiceInputDirective.ts b/extensions/interactions/MultipleChoiceInput/directives/OppiaInteractiveMultipleChoiceInputDirective.ts index 9279d3aead45..1e4330421685 100644 --- a/extensions/interactions/MultipleChoiceInput/directives/OppiaInteractiveMultipleChoiceInputDirective.ts +++ b/extensions/interactions/MultipleChoiceInput/directives/OppiaInteractiveMultipleChoiceInputDirective.ts @@ -28,8 +28,6 @@ require( 'MultipleChoiceInputRulesService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveMultipleChoiceInput', [ 'HtmlEscaperService', 'MultipleChoiceInputRulesService', 'UrlInterpolationService', diff --git a/extensions/interactions/MultipleChoiceInput/directives/OppiaResponseMultipleChoiceInputDirective.ts b/extensions/interactions/MultipleChoiceInput/directives/OppiaResponseMultipleChoiceInputDirective.ts index 439c33a84a3c..e00f9e3efa5d 100644 --- a/extensions/interactions/MultipleChoiceInput/directives/OppiaResponseMultipleChoiceInputDirective.ts +++ b/extensions/interactions/MultipleChoiceInput/directives/OppiaResponseMultipleChoiceInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseMultipleChoiceInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/MultipleChoiceInput/directives/OppiaShortResponseMultipleChoiceInputDirective.ts b/extensions/interactions/MultipleChoiceInput/directives/OppiaShortResponseMultipleChoiceInputDirective.ts index 56ce0aa01471..eeefc532fbd8 100644 --- a/extensions/interactions/MultipleChoiceInput/directives/OppiaShortResponseMultipleChoiceInputDirective.ts +++ b/extensions/interactions/MultipleChoiceInput/directives/OppiaShortResponseMultipleChoiceInputDirective.ts @@ -25,8 +25,6 @@ require('filters/string-utility-filters/convert-to-plain-text.filter.ts'); require('filters/string-utility-filters/truncate-at-first-line.filter.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseMultipleChoiceInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/MusicNotesInput/directives/MusicNotesInputRulesService.ts b/extensions/interactions/MusicNotesInput/directives/MusicNotesInputRulesService.ts index 74912e947dda..c117cb1be0c1 100644 --- a/extensions/interactions/MusicNotesInput/directives/MusicNotesInputRulesService.ts +++ b/extensions/interactions/MusicNotesInput/directives/MusicNotesInputRulesService.ts @@ -23,8 +23,6 @@ require( require('interactions/interactions-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('MusicNotesInputRulesService', [ 'NOTE_NAMES_TO_MIDI_VALUES', function(NOTE_NAMES_TO_MIDI_VALUES) { var _getMidiNoteValue = function(note) { diff --git a/extensions/interactions/MusicNotesInput/directives/MusicNotesInputValidationService.ts b/extensions/interactions/MusicNotesInput/directives/MusicNotesInputValidationService.ts index 0fdda3dd2b81..3ea0b507a8f5 100644 --- a/extensions/interactions/MusicNotesInput/directives/MusicNotesInputValidationService.ts +++ b/extensions/interactions/MusicNotesInput/directives/MusicNotesInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('MusicNotesInputValidationService', [ 'baseInteractionValidationService', function(baseInteractionValidationService) { diff --git a/extensions/interactions/MusicNotesInput/directives/MusicPhrasePlayerService.ts b/extensions/interactions/MusicNotesInput/directives/MusicPhrasePlayerService.ts index 98c750f5eb7a..ce0499d3e078 100644 --- a/extensions/interactions/MusicNotesInput/directives/MusicPhrasePlayerService.ts +++ b/extensions/interactions/MusicNotesInput/directives/MusicPhrasePlayerService.ts @@ -16,8 +16,6 @@ * @fileoverview Player service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('MusicPhrasePlayerService', ['$timeout', function($timeout) { var _MIDI_CHANNEL = 0; var _MIDI_VELOCITY = 127; diff --git a/extensions/interactions/MusicNotesInput/directives/OppiaInteractiveMusicNotesInputDirective.ts b/extensions/interactions/MusicNotesInput/directives/OppiaInteractiveMusicNotesInputDirective.ts index aa7422c8bbe3..9dbdf452ad3e 100644 --- a/extensions/interactions/MusicNotesInput/directives/OppiaInteractiveMusicNotesInputDirective.ts +++ b/extensions/interactions/MusicNotesInput/directives/OppiaInteractiveMusicNotesInputDirective.ts @@ -33,8 +33,6 @@ require('services/HtmlEscaperService.ts'); require('interactions/interactions-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveMusicNotesInput', [ 'CurrentInteractionService', 'HtmlEscaperService', 'MusicNotesInputRulesService', 'MusicPhrasePlayerService', diff --git a/extensions/interactions/MusicNotesInput/directives/OppiaResponseMusicNotesInputDirective.ts b/extensions/interactions/MusicNotesInput/directives/OppiaResponseMusicNotesInputDirective.ts index 103b11291bc5..6810474ec8cb 100644 --- a/extensions/interactions/MusicNotesInput/directives/OppiaResponseMusicNotesInputDirective.ts +++ b/extensions/interactions/MusicNotesInput/directives/OppiaResponseMusicNotesInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseMusicNotesInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/MusicNotesInput/directives/OppiaShortResponseMusicNotesInputDirective.ts b/extensions/interactions/MusicNotesInput/directives/OppiaShortResponseMusicNotesInputDirective.ts index 5e85d5c916d7..66f26f6e652e 100644 --- a/extensions/interactions/MusicNotesInput/directives/OppiaShortResponseMusicNotesInputDirective.ts +++ b/extensions/interactions/MusicNotesInput/directives/OppiaShortResponseMusicNotesInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseMusicNotesInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsRulesService.ts b/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsRulesService.ts index 1878423c44ae..0fbaaaa06810 100644 --- a/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsRulesService.ts +++ b/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsRulesService.ts @@ -20,8 +20,6 @@ require('domain/objects/FractionObjectFactory.ts'); require('domain/objects/NumberWithUnitsObjectFactory.ts'); // Rules service for number with units interaction. -var oppia = require('AppInit.ts').module; - oppia.factory('NumberWithUnitsRulesService', [ 'FractionObjectFactory', 'NumberWithUnitsObjectFactory', function(FractionObjectFactory, NumberWithUnitsObjectFactory) { diff --git a/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsValidationService.ts b/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsValidationService.ts index 0b4c1926ad25..93ba780f088a 100644 --- a/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsValidationService.ts +++ b/extensions/interactions/NumberWithUnits/directives/NumberWithUnitsValidationService.ts @@ -19,8 +19,6 @@ require('domain/objects/NumberWithUnitsObjectFactory.ts'); require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('NumberWithUnitsValidationService', [ 'NumberWithUnitsObjectFactory', 'baseInteractionValidationService', 'WARNING_TYPES', diff --git a/extensions/interactions/NumberWithUnits/directives/OppiaInteractiveNumberWithUnitsDirective.ts b/extensions/interactions/NumberWithUnits/directives/OppiaInteractiveNumberWithUnitsDirective.ts index f0818b542873..ab1d91c74ce5 100644 --- a/extensions/interactions/NumberWithUnits/directives/OppiaInteractiveNumberWithUnitsDirective.ts +++ b/extensions/interactions/NumberWithUnits/directives/OppiaInteractiveNumberWithUnitsDirective.ts @@ -24,8 +24,6 @@ require( 'interactions/NumberWithUnits/directives/NumberWithUnitsRulesService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveNumberWithUnits', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/NumberWithUnits/directives/OppiaResponseNumberWithUnitsDirective.ts b/extensions/interactions/NumberWithUnits/directives/OppiaResponseNumberWithUnitsDirective.ts index 9a163e982e98..6142215bde43 100644 --- a/extensions/interactions/NumberWithUnits/directives/OppiaResponseNumberWithUnitsDirective.ts +++ b/extensions/interactions/NumberWithUnits/directives/OppiaResponseNumberWithUnitsDirective.ts @@ -20,8 +20,6 @@ require('domain/objects/NumberWithUnitsObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseNumberWithUnits', [ 'HtmlEscaperService', 'NumberWithUnitsObjectFactory', 'UrlInterpolationService', function(HtmlEscaperService, diff --git a/extensions/interactions/NumberWithUnits/directives/OppiaShortResponseNumberWithUnitsDirective.ts b/extensions/interactions/NumberWithUnits/directives/OppiaShortResponseNumberWithUnitsDirective.ts index 6bb7f96b6553..7b2d29914c07 100644 --- a/extensions/interactions/NumberWithUnits/directives/OppiaShortResponseNumberWithUnitsDirective.ts +++ b/extensions/interactions/NumberWithUnits/directives/OppiaShortResponseNumberWithUnitsDirective.ts @@ -20,8 +20,6 @@ require('domain/objects/NumberWithUnitsObjectFactory.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseNumberWithUnits', [ 'HtmlEscaperService', 'NumberWithUnitsObjectFactory', 'UrlInterpolationService', function(HtmlEscaperService, diff --git a/extensions/interactions/NumericInput/directives/NumericInputRulesService.ts b/extensions/interactions/NumericInput/directives/NumericInputRulesService.ts index 0a2ce1e94233..9f3b7ed21164 100644 --- a/extensions/interactions/NumericInput/directives/NumericInputRulesService.ts +++ b/extensions/interactions/NumericInput/directives/NumericInputRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('NumericInputRulesService', [function() { return { Equals: function(answer, inputs) { diff --git a/extensions/interactions/NumericInput/directives/NumericInputValidationService.ts b/extensions/interactions/NumericInput/directives/NumericInputValidationService.ts index 7ada1d31b0d3..8817f86bed11 100644 --- a/extensions/interactions/NumericInput/directives/NumericInputValidationService.ts +++ b/extensions/interactions/NumericInput/directives/NumericInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('NumericInputValidationService', [ 'baseInteractionValidationService', 'WARNING_TYPES', function(baseInteractionValidationService, WARNING_TYPES) { diff --git a/extensions/interactions/NumericInput/directives/OppiaInteractiveNumericInputDirective.ts b/extensions/interactions/NumericInput/directives/OppiaInteractiveNumericInputDirective.ts index f24183355b5e..d325eb3f8503 100644 --- a/extensions/interactions/NumericInput/directives/OppiaInteractiveNumericInputDirective.ts +++ b/extensions/interactions/NumericInput/directives/OppiaInteractiveNumericInputDirective.ts @@ -27,8 +27,6 @@ require( require('services/contextual/WindowDimensionsService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveNumericInput', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/NumericInput/directives/OppiaResponseNumericInputDirective.ts b/extensions/interactions/NumericInput/directives/OppiaResponseNumericInputDirective.ts index 062a2a0a9846..66e216d22174 100644 --- a/extensions/interactions/NumericInput/directives/OppiaResponseNumericInputDirective.ts +++ b/extensions/interactions/NumericInput/directives/OppiaResponseNumericInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseNumericInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/NumericInput/directives/OppiaShortResponseNumericInputDirective.ts b/extensions/interactions/NumericInput/directives/OppiaShortResponseNumericInputDirective.ts index 3baf62ca82d1..7afb3718ae51 100644 --- a/extensions/interactions/NumericInput/directives/OppiaShortResponseNumericInputDirective.ts +++ b/extensions/interactions/NumericInput/directives/OppiaShortResponseNumericInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseNumericInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/PencilCodeEditor/directives/OppiaInteractivePencilCodeEditorDirective.ts b/extensions/interactions/PencilCodeEditor/directives/OppiaInteractivePencilCodeEditorDirective.ts index 57f615935f12..2448183ccfa8 100644 --- a/extensions/interactions/PencilCodeEditor/directives/OppiaInteractivePencilCodeEditorDirective.ts +++ b/extensions/interactions/PencilCodeEditor/directives/OppiaInteractivePencilCodeEditorDirective.ts @@ -29,8 +29,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('services/HtmlEscaperService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractivePencilCodeEditor', [ 'HtmlEscaperService', 'UrlInterpolationService', 'EVENT_NEW_CARD_AVAILABLE', function( diff --git a/extensions/interactions/PencilCodeEditor/directives/OppiaResponsePencilCodeEditorDirective.ts b/extensions/interactions/PencilCodeEditor/directives/OppiaResponsePencilCodeEditorDirective.ts index 13fa15d5e186..41cbc99ba646 100644 --- a/extensions/interactions/PencilCodeEditor/directives/OppiaResponsePencilCodeEditorDirective.ts +++ b/extensions/interactions/PencilCodeEditor/directives/OppiaResponsePencilCodeEditorDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponsePencilCodeEditor', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/PencilCodeEditor/directives/OppiaShortResponsePencilCodeEditorDirective.ts b/extensions/interactions/PencilCodeEditor/directives/OppiaShortResponsePencilCodeEditorDirective.ts index 14b5ca7fb7c3..19fad69ee80c 100644 --- a/extensions/interactions/PencilCodeEditor/directives/OppiaShortResponsePencilCodeEditorDirective.ts +++ b/extensions/interactions/PencilCodeEditor/directives/OppiaShortResponsePencilCodeEditorDirective.ts @@ -25,8 +25,6 @@ require('filters/string-utility-filters/truncate-at-first-line.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponsePencilCodeEditor', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorRulesService.ts b/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorRulesService.ts index d8bc4bd65933..1f78e1fb9bc1 100644 --- a/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorRulesService.ts +++ b/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorRulesService.ts @@ -22,8 +22,6 @@ require( 'normalize-whitespace-punctuation-and-case.filter.ts'); require('services/CodeNormalizerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PencilCodeEditorRulesService', [ '$filter', 'CodeNormalizerService', function($filter, CodeNormalizerService) { diff --git a/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorValidationService.ts b/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorValidationService.ts index 9ce98290011c..78786322f3a1 100644 --- a/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorValidationService.ts +++ b/extensions/interactions/PencilCodeEditor/directives/PencilCodeEditorValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('PencilCodeEditorValidationService', [ 'baseInteractionValidationService', function(baseInteractionValidationService) { diff --git a/extensions/interactions/SetInput/directives/OppiaInteractiveSetInputDirective.ts b/extensions/interactions/SetInput/directives/OppiaInteractiveSetInputDirective.ts index ba106700ec2a..858c3c26e895 100644 --- a/extensions/interactions/SetInput/directives/OppiaInteractiveSetInputDirective.ts +++ b/extensions/interactions/SetInput/directives/OppiaInteractiveSetInputDirective.ts @@ -26,8 +26,6 @@ require( 'pages/exploration-player-page/services/current-interaction.service.ts'); require('services/contextual/WindowDimensionsService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveSetInput', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/interactions/SetInput/directives/OppiaResponseSetInputDirective.ts b/extensions/interactions/SetInput/directives/OppiaResponseSetInputDirective.ts index 4b8805ec7660..1d0ee85ccef4 100644 --- a/extensions/interactions/SetInput/directives/OppiaResponseSetInputDirective.ts +++ b/extensions/interactions/SetInput/directives/OppiaResponseSetInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseSetInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/SetInput/directives/OppiaShortResponseSetInputDirective.ts b/extensions/interactions/SetInput/directives/OppiaShortResponseSetInputDirective.ts index 2930ccdb1f80..d504f2123b85 100644 --- a/extensions/interactions/SetInput/directives/OppiaShortResponseSetInputDirective.ts +++ b/extensions/interactions/SetInput/directives/OppiaShortResponseSetInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseSetInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/SetInput/directives/SetInputRulesService.ts b/extensions/interactions/SetInput/directives/SetInputRulesService.ts index 76e510b7529f..867f4bc53170 100644 --- a/extensions/interactions/SetInput/directives/SetInputRulesService.ts +++ b/extensions/interactions/SetInput/directives/SetInputRulesService.ts @@ -16,8 +16,6 @@ * @fileoverview Rules service for the interaction. */ -var oppia = require('AppInit.ts').module; - oppia.factory('SetInputRulesService', [function() { return { Equals: function(answer, inputs) { diff --git a/extensions/interactions/SetInput/directives/SetInputValidationService.ts b/extensions/interactions/SetInput/directives/SetInputValidationService.ts index 9b7fe59786f9..c9eb4e22a379 100644 --- a/extensions/interactions/SetInput/directives/SetInputValidationService.ts +++ b/extensions/interactions/SetInput/directives/SetInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('SetInputValidationService', [ 'baseInteractionValidationService', function(baseInteractionValidationService) { diff --git a/extensions/interactions/TextInput/TextInputPredictionService.ts b/extensions/interactions/TextInput/TextInputPredictionService.ts index 7a37efef9ae2..20d9d94d0f8a 100644 --- a/extensions/interactions/TextInput/TextInputPredictionService.ts +++ b/extensions/interactions/TextInput/TextInputPredictionService.ts @@ -27,8 +27,6 @@ require('classifiers/CountVectorizerService.ts'); require('interactions/interactions-extension.constants.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TextInputPredictionService', [ 'CountVectorizerService', 'SVMPredictionService', 'TextInputTokenizer', 'TEXT_INPUT_PREDICTION_SERVICE_THRESHOLD', function( diff --git a/extensions/interactions/TextInput/directives/OppiaInteractiveTextInputDirective.ts b/extensions/interactions/TextInput/directives/OppiaInteractiveTextInputDirective.ts index e86ac38178ab..dce5607ff7e0 100644 --- a/extensions/interactions/TextInput/directives/OppiaInteractiveTextInputDirective.ts +++ b/extensions/interactions/TextInput/directives/OppiaInteractiveTextInputDirective.ts @@ -28,8 +28,6 @@ require('services/contextual/WindowDimensionsService.ts'); require('services/HtmlEscaperService.ts'); require('services/stateful/FocusManagerService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaInteractiveTextInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/TextInput/directives/OppiaResponseTextInputDirective.ts b/extensions/interactions/TextInput/directives/OppiaResponseTextInputDirective.ts index 2974495d376a..6de0314fbbe1 100644 --- a/extensions/interactions/TextInput/directives/OppiaResponseTextInputDirective.ts +++ b/extensions/interactions/TextInput/directives/OppiaResponseTextInputDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaResponseTextInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/TextInput/directives/OppiaShortResponseTextInputDirective.ts b/extensions/interactions/TextInput/directives/OppiaShortResponseTextInputDirective.ts index 54b69603ac15..b3f730b9e93b 100644 --- a/extensions/interactions/TextInput/directives/OppiaShortResponseTextInputDirective.ts +++ b/extensions/interactions/TextInput/directives/OppiaShortResponseTextInputDirective.ts @@ -25,8 +25,6 @@ require('filters/string-utility-filters/truncate-at-first-line.filter.ts'); require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaShortResponseTextInput', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/interactions/TextInput/directives/TextInputRulesService.ts b/extensions/interactions/TextInput/directives/TextInputRulesService.ts index 6f49e867b653..b0871549005f 100644 --- a/extensions/interactions/TextInput/directives/TextInputRulesService.ts +++ b/extensions/interactions/TextInput/directives/TextInputRulesService.ts @@ -18,8 +18,6 @@ require('filters/string-utility-filters/normalize-whitespace.filter.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TextInputRulesService', ['$filter', function($filter) { return { Equals: function(answer, inputs) { diff --git a/extensions/interactions/TextInput/directives/TextInputValidationService.ts b/extensions/interactions/TextInput/directives/TextInputValidationService.ts index 0a06e18167d9..ba49a42cf95d 100644 --- a/extensions/interactions/TextInput/directives/TextInputValidationService.ts +++ b/extensions/interactions/TextInput/directives/TextInputValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('TextInputValidationService', [ 'baseInteractionValidationService', 'INTERACTION_SPECS', 'WARNING_TYPES', function(baseInteractionValidationService, INTERACTION_SPECS, WARNING_TYPES) { diff --git a/extensions/interactions/baseInteractionValidationService.ts b/extensions/interactions/baseInteractionValidationService.ts index 4ec2cbfe5421..7c829eab629d 100644 --- a/extensions/interactions/baseInteractionValidationService.ts +++ b/extensions/interactions/baseInteractionValidationService.ts @@ -18,8 +18,6 @@ require('interactions/baseInteractionValidationService.ts'); -var oppia = require('AppInit.ts').module; - oppia.factory('baseInteractionValidationService', [ '$filter', 'WARNING_TYPES', function($filter, WARNING_TYPES) { return { diff --git a/extensions/interactions/interactions-extension.constants.ts b/extensions/interactions/interactions-extension.constants.ts index 33114d908f62..017c45e6f40a 100644 --- a/extensions/interactions/interactions-extension.constants.ts +++ b/extensions/interactions/interactions-extension.constants.ts @@ -16,8 +16,6 @@ * @fileoverview Constants for interactions extensions. */ -var oppia = require('AppInit.ts').module; - // Minimum confidence required for a predicted answer group to be shown to user. // Generally a threshold of 0.7-0.8 is assumed to be a good one in practice, // however value need not be in those bounds. diff --git a/extensions/objects/templates/BooleanEditorDirective.ts b/extensions/objects/templates/BooleanEditorDirective.ts index b92993d04b4f..2f9c36b604f0 100644 --- a/extensions/objects/templates/BooleanEditorDirective.ts +++ b/extensions/objects/templates/BooleanEditorDirective.ts @@ -18,8 +18,6 @@ // The value for this editor is always editable. -var oppia = require('AppInit.ts').module; - oppia.directive('booleanEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/CodeStringEditorDirective.ts b/extensions/objects/templates/CodeStringEditorDirective.ts index 673ebca58a56..04f96f66b491 100644 --- a/extensions/objects/templates/CodeStringEditorDirective.ts +++ b/extensions/objects/templates/CodeStringEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('codeStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/CoordTwoDimEditorDirective.ts b/extensions/objects/templates/CoordTwoDimEditorDirective.ts index e448d0bca97e..4c9d1e0eb6d3 100644 --- a/extensions/objects/templates/CoordTwoDimEditorDirective.ts +++ b/extensions/objects/templates/CoordTwoDimEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for coord two dim editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('coordTwoDimEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/DragAndDropHtmlStringEditorDirective.ts b/extensions/objects/templates/DragAndDropHtmlStringEditorDirective.ts index 1fe9e8bb4187..22e7463ecbb0 100644 --- a/extensions/objects/templates/DragAndDropHtmlStringEditorDirective.ts +++ b/extensions/objects/templates/DragAndDropHtmlStringEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for drag and drop HTML string editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('dragAndDropHtmlStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/DragAndDropPositiveIntEditorDirective.ts b/extensions/objects/templates/DragAndDropPositiveIntEditorDirective.ts index afa120388a70..8c3add3ac41f 100644 --- a/extensions/objects/templates/DragAndDropPositiveIntEditorDirective.ts +++ b/extensions/objects/templates/DragAndDropPositiveIntEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for drag and drop positive int editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('dragAndDropPositiveIntEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/FilepathEditorDirective.ts b/extensions/objects/templates/FilepathEditorDirective.ts index e5d83920d299..d5abdf16ab2c 100644 --- a/extensions/objects/templates/FilepathEditorDirective.ts +++ b/extensions/objects/templates/FilepathEditorDirective.ts @@ -18,8 +18,6 @@ // This directive can only be used in the context of an exploration. -var oppia = require('AppInit.ts').module; - oppia.directive('filepathEditor', [ '$http', '$sce', 'AlertsService', 'AssetsBackendApiService', 'ContextService', 'UrlInterpolationService', diff --git a/extensions/objects/templates/FractionEditorDirective.ts b/extensions/objects/templates/FractionEditorDirective.ts index 3aa31352c3b3..e7949d958729 100644 --- a/extensions/objects/templates/FractionEditorDirective.ts +++ b/extensions/objects/templates/FractionEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for fraction editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('fractionEditor', [ 'FractionObjectFactory', 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', diff --git a/extensions/objects/templates/GraphEditorDirective.ts b/extensions/objects/templates/GraphEditorDirective.ts index c90c6d4e426b..7b45ee7955a6 100644 --- a/extensions/objects/templates/GraphEditorDirective.ts +++ b/extensions/objects/templates/GraphEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('graphEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/GraphPropertyEditorDirective.ts b/extensions/objects/templates/GraphPropertyEditorDirective.ts index f11e98c4cca0..ecefa49b8259 100644 --- a/extensions/objects/templates/GraphPropertyEditorDirective.ts +++ b/extensions/objects/templates/GraphPropertyEditorDirective.ts @@ -21,8 +21,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('graphPropertyEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/HtmlEditorDirective.ts b/extensions/objects/templates/HtmlEditorDirective.ts index 2bfc0f5f8ce2..e6aba78700ba 100644 --- a/extensions/objects/templates/HtmlEditorDirective.ts +++ b/extensions/objects/templates/HtmlEditorDirective.ts @@ -22,8 +22,6 @@ // // This directive is based on the UnicodeString directive. -var oppia = require('AppInit.ts').module; - oppia.directive('htmlEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/ImageWithRegionsEditorDirective.ts b/extensions/objects/templates/ImageWithRegionsEditorDirective.ts index 2d7fab63ad6d..cb35ae04fa95 100644 --- a/extensions/objects/templates/ImageWithRegionsEditorDirective.ts +++ b/extensions/objects/templates/ImageWithRegionsEditorDirective.ts @@ -21,8 +21,6 @@ // in via initArgs. // TODO(czx): Uniquify the labels of image regions -var oppia = require('AppInit.ts').module; - oppia.directive('imageWithRegionsEditor', [ '$document', '$sce', 'AlertsService', 'AssetsBackendApiService', 'ContextService', 'UrlInterpolationService', diff --git a/extensions/objects/templates/IntEditorDirective.ts b/extensions/objects/templates/IntEditorDirective.ts index d5c388344a09..36f375a3e1ef 100644 --- a/extensions/objects/templates/IntEditorDirective.ts +++ b/extensions/objects/templates/IntEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('intEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/ListOfSetsOfHtmlStringsEditorDirective.ts b/extensions/objects/templates/ListOfSetsOfHtmlStringsEditorDirective.ts index 7112f4c6e24f..fe2efcfaf101 100644 --- a/extensions/objects/templates/ListOfSetsOfHtmlStringsEditorDirective.ts +++ b/extensions/objects/templates/ListOfSetsOfHtmlStringsEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for list of sets of html strings editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('listOfSetsOfHtmlStringsEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/ListOfTabsEditorDirective.ts b/extensions/objects/templates/ListOfTabsEditorDirective.ts index be15bde7cdbe..e8284506458e 100644 --- a/extensions/objects/templates/ListOfTabsEditorDirective.ts +++ b/extensions/objects/templates/ListOfTabsEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('listOfTabsEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/ListOfUnicodeStringEditorDirective.ts b/extensions/objects/templates/ListOfUnicodeStringEditorDirective.ts index f00779281fba..b2891c35a8b2 100644 --- a/extensions/objects/templates/ListOfUnicodeStringEditorDirective.ts +++ b/extensions/objects/templates/ListOfUnicodeStringEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('listOfUnicodeStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/LogicErrorCategoryEditorDirective.ts b/extensions/objects/templates/LogicErrorCategoryEditorDirective.ts index e011596d60ba..de85b4f16677 100644 --- a/extensions/objects/templates/LogicErrorCategoryEditorDirective.ts +++ b/extensions/objects/templates/LogicErrorCategoryEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('logicErrorCategoryEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/LogicQuestionEditorDirective.ts b/extensions/objects/templates/LogicQuestionEditorDirective.ts index 17436e7def03..4c9b95033c07 100644 --- a/extensions/objects/templates/LogicQuestionEditorDirective.ts +++ b/extensions/objects/templates/LogicQuestionEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('logicQuestionEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/MathLatexStringEditorDirective.ts b/extensions/objects/templates/MathLatexStringEditorDirective.ts index 3bb27220dc99..43c443bde347 100644 --- a/extensions/objects/templates/MathLatexStringEditorDirective.ts +++ b/extensions/objects/templates/MathLatexStringEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('mathLatexStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/MusicPhraseEditorDirective.ts b/extensions/objects/templates/MusicPhraseEditorDirective.ts index 230b748c01dd..8267a3b5b9aa 100644 --- a/extensions/objects/templates/MusicPhraseEditorDirective.ts +++ b/extensions/objects/templates/MusicPhraseEditorDirective.ts @@ -18,8 +18,6 @@ // This directive is always editable. -var oppia = require('AppInit.ts').module; - oppia.directive('musicPhraseEditor', [ 'AlertsService', 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(AlertsService, UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/NonnegativeIntEditorDirective.ts b/extensions/objects/templates/NonnegativeIntEditorDirective.ts index bcb8e99ad83c..2542b4e78ff3 100644 --- a/extensions/objects/templates/NonnegativeIntEditorDirective.ts +++ b/extensions/objects/templates/NonnegativeIntEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('nonnegativeIntEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/NormalizedStringEditorDirective.ts b/extensions/objects/templates/NormalizedStringEditorDirective.ts index 1cd5738c28f2..a7f9fc93a9a9 100644 --- a/extensions/objects/templates/NormalizedStringEditorDirective.ts +++ b/extensions/objects/templates/NormalizedStringEditorDirective.ts @@ -18,8 +18,6 @@ // This is a copy of the UnicodeStringEditor. -var oppia = require('AppInit.ts').module; - oppia.directive('normalizedStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/NumberWithUnitsEditorDirective.ts b/extensions/objects/templates/NumberWithUnitsEditorDirective.ts index 7fb7a30dbf2f..5f790022133e 100644 --- a/extensions/objects/templates/NumberWithUnitsEditorDirective.ts +++ b/extensions/objects/templates/NumberWithUnitsEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for number with units editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('numberWithUnitsEditor', [ 'NumberWithUnitsObjectFactory', 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', diff --git a/extensions/objects/templates/ParameterNameEditorDirective.ts b/extensions/objects/templates/ParameterNameEditorDirective.ts index 26776c84a560..e06dbbe4a2ee 100644 --- a/extensions/objects/templates/ParameterNameEditorDirective.ts +++ b/extensions/objects/templates/ParameterNameEditorDirective.ts @@ -19,8 +19,6 @@ // NOTE TO DEVELOPERS: This editor requires ExplorationParamSpecsService to be // available in the context in which it is used. -var oppia = require('AppInit.ts').module; - oppia.directive('parameterNameEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/RealEditorDirective.ts b/extensions/objects/templates/RealEditorDirective.ts index 0fe5eab9140e..1eb45f7edb0b 100644 --- a/extensions/objects/templates/RealEditorDirective.ts +++ b/extensions/objects/templates/RealEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for real editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('realEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/SanitizedUrlEditorDirective.ts b/extensions/objects/templates/SanitizedUrlEditorDirective.ts index e4bdec6c8248..5077bfcc88bb 100644 --- a/extensions/objects/templates/SanitizedUrlEditorDirective.ts +++ b/extensions/objects/templates/SanitizedUrlEditorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for sanitized URL editor. */ -var oppia = require('AppInit.ts').module; - oppia.directive('sanitizedUrlEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/SetOfHtmlStringEditorDirective.ts b/extensions/objects/templates/SetOfHtmlStringEditorDirective.ts index be178d6cde70..8d6d38f22ccf 100644 --- a/extensions/objects/templates/SetOfHtmlStringEditorDirective.ts +++ b/extensions/objects/templates/SetOfHtmlStringEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('setOfHtmlStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/SetOfUnicodeStringEditorDirective.ts b/extensions/objects/templates/SetOfUnicodeStringEditorDirective.ts index 8d9b480da3ca..fcc774c2d20f 100644 --- a/extensions/objects/templates/SetOfUnicodeStringEditorDirective.ts +++ b/extensions/objects/templates/SetOfUnicodeStringEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('setOfUnicodeStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/objects/templates/UnicodeStringEditorDirective.ts b/extensions/objects/templates/UnicodeStringEditorDirective.ts index 0f27b068a9f4..603fa6a4bd99 100644 --- a/extensions/objects/templates/UnicodeStringEditorDirective.ts +++ b/extensions/objects/templates/UnicodeStringEditorDirective.ts @@ -20,8 +20,6 @@ // may be additional customization options for the editor that should be passed // in via initArgs. -var oppia = require('AppInit.ts').module; - oppia.directive('unicodeStringEditor', [ 'UrlInterpolationService', 'OBJECT_EDITOR_URL_PREFIX', function(UrlInterpolationService, OBJECT_EDITOR_URL_PREFIX) { diff --git a/extensions/rich_text_components/Collapsible/directives/OppiaNoninteractiveCollapsibleDirective.ts b/extensions/rich_text_components/Collapsible/directives/OppiaNoninteractiveCollapsibleDirective.ts index c9d20806568f..404f69f19ef8 100644 --- a/extensions/rich_text_components/Collapsible/directives/OppiaNoninteractiveCollapsibleDirective.ts +++ b/extensions/rich_text_components/Collapsible/directives/OppiaNoninteractiveCollapsibleDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaNoninteractiveCollapsible', [ '$rootScope', '$sce', 'HtmlEscaperService', 'UrlInterpolationService', function($rootScope, $sce, HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/rich_text_components/Image/directives/OppiaNoninteractiveImageDirective.ts b/extensions/rich_text_components/Image/directives/OppiaNoninteractiveImageDirective.ts index 16463d9710d7..1ea3dadd3af1 100644 --- a/extensions/rich_text_components/Image/directives/OppiaNoninteractiveImageDirective.ts +++ b/extensions/rich_text_components/Image/directives/OppiaNoninteractiveImageDirective.ts @@ -26,8 +26,6 @@ require('services/AssetsBackendApiService.ts'); require('services/ContextService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaNoninteractiveImage', [ '$rootScope', '$sce', 'AssetsBackendApiService', 'ContextService', 'HtmlEscaperService', 'ImagePreloaderService', diff --git a/extensions/rich_text_components/Link/directives/OppiaNoninteractiveLinkDirective.ts b/extensions/rich_text_components/Link/directives/OppiaNoninteractiveLinkDirective.ts index 8a291db3420c..231d8564a988 100644 --- a/extensions/rich_text_components/Link/directives/OppiaNoninteractiveLinkDirective.ts +++ b/extensions/rich_text_components/Link/directives/OppiaNoninteractiveLinkDirective.ts @@ -24,8 +24,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/ContextService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaNoninteractiveLink', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/rich_text_components/Math/directives/OppiaNoninteractiveMathDirective.ts b/extensions/rich_text_components/Math/directives/OppiaNoninteractiveMathDirective.ts index b6d0eef5e865..85c46dda3d3e 100644 --- a/extensions/rich_text_components/Math/directives/OppiaNoninteractiveMathDirective.ts +++ b/extensions/rich_text_components/Math/directives/OppiaNoninteractiveMathDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaNoninteractiveMath', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/rich_text_components/Tabs/directives/OppiaNoninteractiveTabsDirective.ts b/extensions/rich_text_components/Tabs/directives/OppiaNoninteractiveTabsDirective.ts index 2498a89e641e..23801aa7e708 100644 --- a/extensions/rich_text_components/Tabs/directives/OppiaNoninteractiveTabsDirective.ts +++ b/extensions/rich_text_components/Tabs/directives/OppiaNoninteractiveTabsDirective.ts @@ -23,8 +23,6 @@ require('domain/utilities/UrlInterpolationService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaNoninteractiveTabs', [ 'HtmlEscaperService', 'UrlInterpolationService', function(HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/rich_text_components/Video/directives/OppiaNoninteractiveVideoDirective.ts b/extensions/rich_text_components/Video/directives/OppiaNoninteractiveVideoDirective.ts index 041bdb9667e1..a8a3cc6b107b 100644 --- a/extensions/rich_text_components/Video/directives/OppiaNoninteractiveVideoDirective.ts +++ b/extensions/rich_text_components/Video/directives/OppiaNoninteractiveVideoDirective.ts @@ -25,8 +25,6 @@ require('services/AutoplayedVideosService.ts'); require('services/ContextService.ts'); require('services/HtmlEscaperService.ts'); -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaNoninteractiveVideo', [ '$sce', 'HtmlEscaperService', 'UrlInterpolationService', function($sce, HtmlEscaperService, UrlInterpolationService) { diff --git a/extensions/value_generators/templates/CopierDirective.ts b/extensions/value_generators/templates/CopierDirective.ts index 87c3dc8ff31d..7eb771e924e5 100644 --- a/extensions/value_generators/templates/CopierDirective.ts +++ b/extensions/value_generators/templates/CopierDirective.ts @@ -19,8 +19,6 @@ // TODO(sll): Remove this directive (as well as the whole of the value // generators framework). -var oppia = require('AppInit.ts').module; - oppia.directive('copier', ['$compile', function($compile) { return { link: function(scope: ICustomScope, element) { diff --git a/extensions/value_generators/templates/RandomSelectorDirective.ts b/extensions/value_generators/templates/RandomSelectorDirective.ts index c6f4de6dc106..4b5ceb969428 100644 --- a/extensions/value_generators/templates/RandomSelectorDirective.ts +++ b/extensions/value_generators/templates/RandomSelectorDirective.ts @@ -16,8 +16,6 @@ * @fileoverview Directive for random selector value generator. */ -var oppia = require('AppInit.ts').module; - oppia.directive('randomSelector', ['$compile', function($compile) { return { link: function(scope: ICustomScope, element) { diff --git a/extensions/visualizations/OppiaVisualizationBarChartDirective.ts b/extensions/visualizations/OppiaVisualizationBarChartDirective.ts index 1a6fa0f84460..abd6634e1888 100644 --- a/extensions/visualizations/OppiaVisualizationBarChartDirective.ts +++ b/extensions/visualizations/OppiaVisualizationBarChartDirective.ts @@ -21,8 +21,6 @@ require('services/HtmlEscaperService.ts'); // Each visualization receives three variables: 'data', 'options', and // 'isAddressed'. The exact format for each of these is specific to the // particular visualization. -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaVisualizationBarChart', [function() { return { restrict: 'E', diff --git a/extensions/visualizations/OppiaVisualizationEnumeratedFrequencyTableDirective.ts b/extensions/visualizations/OppiaVisualizationEnumeratedFrequencyTableDirective.ts index ffc6c2f8c0a2..91892b5acc98 100644 --- a/extensions/visualizations/OppiaVisualizationEnumeratedFrequencyTableDirective.ts +++ b/extensions/visualizations/OppiaVisualizationEnumeratedFrequencyTableDirective.ts @@ -22,8 +22,6 @@ require('services/HtmlEscaperService.ts'); // Each visualization receives three variables: 'data', 'options', and // 'isAddressed'. The exact format for each of these is specific to the // particular visualization. -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaVisualizationEnumeratedFrequencyTable', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/extensions/visualizations/OppiaVisualizationFrequencyTableDirective.ts b/extensions/visualizations/OppiaVisualizationFrequencyTableDirective.ts index 0c40e33a6245..b544f5fe70a9 100644 --- a/extensions/visualizations/OppiaVisualizationFrequencyTableDirective.ts +++ b/extensions/visualizations/OppiaVisualizationFrequencyTableDirective.ts @@ -22,8 +22,6 @@ require('services/HtmlEscaperService.ts'); // Each visualization receives three variables: 'data', 'options', and // 'isAddressed'. The exact format for each of these is specific to the // particular visualization. -var oppia = require('AppInit.ts').module; - oppia.directive('oppiaVisualizationFrequencyTable', [ 'UrlInterpolationService', function(UrlInterpolationService) { return { diff --git a/package-lock.json b/package-lock.json index bb22273f4f16..0d9cb6e5ce1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,82 +4,10 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@angular/common": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-8.0.2.tgz", - "integrity": "sha512-9lwrKso0XjyS7wu+8dEWa5yN1kCTdbelP6JElFhh0kAt0TbPVHJ/dXEwvIFk9/2MjYv2PbooQo1zsc5kAB2Rlg==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/compiler": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-8.0.2.tgz", - "integrity": "sha512-ktobrxpWX1eCwbDKOIUm5GRj8WGlHW/8MAQvDDFUnsGqXBHfOGiaySiEYX/XjeN8qu34IfXs736QkdzpMM4+iw==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/core": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-8.0.2.tgz", - "integrity": "sha512-g8BRvGZxTXb5GZ/xoC5Z94DGK3wMiD2jbmEQEbXGNM+c8E/Mo/W8GF44P7EU2d+V1oJoUh75SRK6U/StC+rLqA==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/forms": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-8.0.2.tgz", - "integrity": "sha512-LGu3b/wjNMCki5PnMUsfQlyaVZVOedNO+XccfluP4ZBQ5G/E2cz2tJ0UIHg3RhLbbpWntmqokpYLyd7leUPpIQ==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/platform-browser": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-8.0.2.tgz", - "integrity": "sha512-iUoyhJ81jqvpmQI6Lu5NzRZR8azmnb2kX2FQ+LbwCvWQLfkLbTaa/Jl09/qN6KWpTsMogNQXVnjjgwoeaObvBw==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/platform-browser-dynamic": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-8.0.2.tgz", - "integrity": "sha512-i9hBmcXauiQpvzRRNbBpMbQSsRh9YMv9phw9Ih54w2LdTUB64Vtrm3scQEWZ0sIONY3QbwEtu57k8euQPASErQ==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/router": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-8.0.2.tgz", - "integrity": "sha512-kgSqkvx3cgY0+ZTzkBVLa0sf0y0Fl7q3N+KX746pbCNjRRGa5gBkN7z+oyPDoG1l0fEiM6NLbFfcmuFwsdBO5w==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "@angular/upgrade": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@angular/upgrade/-/upgrade-8.0.2.tgz", - "integrity": "sha512-ECsMGFTWjuoD++QMl7PUIax7YQ/UC589kqNhxW8zKkjiOqhd/NnZ+GxcnzsJtNklARpJ2DndXEEeIOQALOe3bA==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, "@babel/code-frame": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", - "integrity": "sha1-BuKrGb21NThVWaq7W6WXKUgoAPg=", + "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", "dev": true, "requires": { "@babel/highlight": "^7.0.0" @@ -115,12 +43,6 @@ "requires": { "minimist": "^1.2.0" } - }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true } } }, @@ -135,20 +57,12 @@ "lodash": "^4.17.11", "source-map": "^0.5.0", "trim-right": "^1.0.1" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "@babel/helper-function-name": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz", - "integrity": "sha1-oM6wFoX3M1XUNgwSR/WCv6/I/1M=", + "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.0.0", @@ -159,7 +73,7 @@ "@babel/helper-get-function-arity": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", - "integrity": "sha1-g1ctQyDipGVyY3NBE8QoaLZOScM=", + "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", "dev": true, "requires": { "@babel/types": "^7.0.0" @@ -188,7 +102,7 @@ "@babel/highlight": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", - "integrity": "sha1-9xDDjI1Fjm3ZogGvtjf8t4HOmeQ=", + "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", "dev": true, "requires": { "chalk": "^2.0.0", @@ -228,14 +142,6 @@ "debug": "^4.1.0", "globals": "^11.1.0", "lodash": "^4.17.11" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "@babel/types": { @@ -247,20 +153,12 @@ "esutils": "^2.0.2", "lodash": "^4.17.11", "to-fast-properties": "^2.0.0" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "@mapbox/stylelint-processor-arbitrary-tags": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@mapbox/stylelint-processor-arbitrary-tags/-/stylelint-processor-arbitrary-tags-0.2.0.tgz", - "integrity": "sha1-TCtQcRvZAzpsT38Z5Bi19D8aHlE=", + "integrity": "sha512-58l3WteJg2nvs1l8s0zoFffDZyDjeo+sM48IK6ZaG/luxM7xmThz+di3+KrwN61gnWDeb/cUmK2DT+Y99kTN0w==", "dev": true, "requires": { "execall": "^1.0.0", @@ -270,7 +168,7 @@ "@mrmlnc/readdir-enhanced": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha1-UkryQNGjYFJ7cwR17PoTRKpUDd4=", + "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", "dev": true, "requires": { "call-me-maybe": "^1.0.1", @@ -280,19 +178,19 @@ "@nodelib/fs.stat": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha1-K1o6s/kYzKSKjHVMCBaOPwPrphs=", + "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", "dev": true }, "@types/angular": { "version": "1.6.54", "resolved": "https://registry.npmjs.org/@types/angular/-/angular-1.6.54.tgz", - "integrity": "sha1-+dWgPk2nsCGm2r5dY+iZ7UVnpb0=", + "integrity": "sha512-xA1FuozWXeRQ7FClUbvk8ePL+dydBeDoCWRPFTHU5+8uvVtIIfLGiHA8CMkwsbddFCYnTDVbLxG85a/HBx7LtA==", "dev": true }, "@types/angular-animate": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/@types/angular-animate/-/angular-animate-1.5.10.tgz", - "integrity": "sha1-uUtFNYxhFj8UeHaOiwgcdkOcUV8=", + "integrity": "sha512-MnYYvTHAPUbtT6gqwrnl6k3a03A5BlNz1nVlwVGxyS+MeWCX4DC14SJ/pgJUa8wj+J04wZ2prMxFsOfp6cyjjQ==", "dev": true, "requires": { "@types/angular": "*" @@ -301,7 +199,7 @@ "@types/angular-mocks": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/@types/angular-mocks/-/angular-mocks-1.7.0.tgz", - "integrity": "sha1-MQ2ZmjxHwQ7Nju9Ga1hh34R5lCk=", + "integrity": "sha512-MeT5vxWBx4Ny5/sNZJjpZdv4K2KGwqQYiRQQZctan1TTaNyiVlFRYbcmheolhM4KKbTWmoxTVeuvGzniTDg1kw==", "dev": true, "requires": { "@types/angular": "*" @@ -310,7 +208,7 @@ "@types/ckeditor": { "version": "4.9.8", "resolved": "https://registry.npmjs.org/@types/ckeditor/-/ckeditor-4.9.8.tgz", - "integrity": "sha1-JYW/6kCcDZ6XDQRhH7InJsam0hk=", + "integrity": "sha512-UM2t8mRul1vT/Al3c1L5elal925YstzcBQHLHk+hVvEoFOUkQKokePnGgD1L7K9n4h3hoPDDwc5jEKeUU3UxMw==", "dev": true }, "@types/d3": { @@ -576,19 +474,19 @@ "@types/events": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", - "integrity": "sha1-KGLz9Yqaf3w+eNefEw3U1xwlwqc=", + "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==", "dev": true }, "@types/geojson": { "version": "7946.0.7", "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.7.tgz", - "integrity": "sha1-yPpTK2CgBCIZzfFzyiGpde8GZq0=", + "integrity": "sha512-wE2v81i4C4Ol09RtsWFAqg3BUitWbHSpSlIo+bNdsCJijO9sjme+zm+73ZMCa/qMC8UEERxzGbvmr1cffo2SiQ==", "dev": true }, "@types/glob": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz", - "integrity": "sha1-qlmhxuP7xCHgfM0xqUTDDrpSFXU=", + "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==", "dev": true, "requires": { "@types/events": "*", @@ -611,7 +509,7 @@ "@types/jasminewd2": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/jasminewd2/-/jasminewd2-2.0.6.tgz", - "integrity": "sha1-L1eo2YdabJ7zKKFL0HC6FKBVrDk=", + "integrity": "sha512-2ZOKrxb8bKRmP/po5ObYnRDgFE4i+lQiEB27bAMmtMWLgJSqlIDqlLx6S0IRorpOmOPRQ6O80NujTmQAtBkeNw==", "dev": true, "requires": { "@types/jasmine": "*" @@ -620,7 +518,7 @@ "@types/jquery": { "version": "3.3.29", "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.3.29.tgz", - "integrity": "sha1-aAoiGc48klBINyL8z1Vw0eLQir0=", + "integrity": "sha512-FhJvBninYD36v3k6c+bVk1DSZwh7B5Dpb/Pyk3HKVsiohn0nhbefZZ+3JXbWQhFyt0MxSl2jRDdGQPHeOHFXrQ==", "dev": true, "requires": { "@types/sizzle": "*" @@ -629,7 +527,7 @@ "@types/jqueryui": { "version": "1.12.7", "resolved": "https://registry.npmjs.org/@types/jqueryui/-/jqueryui-1.12.7.tgz", - "integrity": "sha1-gVRqc9VGCifZcgCKi9HXOw4nWkg=", + "integrity": "sha512-MpHuknhR20kBNsDA2VAM6WZGc+CMApzfKfTZuzMOH2dEUzo5POPGicfGJ647wvl2T6ZgQKPCSWmCUhna3XpX0Q==", "dev": true, "requires": { "@types/jquery": "*" @@ -638,7 +536,7 @@ "@types/leaflet": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/@types/leaflet/-/leaflet-1.4.4.tgz", - "integrity": "sha1-Sj2YFf5sMqBKw6Iw/iN3K+jg3oM=", + "integrity": "sha512-CROxHvsRDFyR1OQKZv/WJsCVFv8Wj6wFF/FOI/yiGwX7GMivyvF8Ks5AT3/JYk269pGiE43wP9JOgcr7EK2eUw==", "dev": true, "requires": { "@types/geojson": "*" @@ -647,13 +545,13 @@ "@types/mathjax": { "version": "0.0.35", "resolved": "https://registry.npmjs.org/@types/mathjax/-/mathjax-0.0.35.tgz", - "integrity": "sha1-m35p3En00QWte5kndbP7pBKIlUM=", + "integrity": "sha512-flo9bVJE2Lzv3X5NQXVhNhv7srqk//Ngr8MT+/jRErkWGYkk8EBm42J5W0XUH6p4nWF1iLGe+atSuIkR5wA2yw==", "dev": true }, "@types/mathjs": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/@types/mathjs/-/mathjs-5.0.1.tgz", - "integrity": "sha1-uY4WPqOWtPJ77CDuJf+4/p5lavg=", + "integrity": "sha512-EFBuueI+BRed9bnUO6/9my55b4FH+VQIvqMm58h9JGbtaGCkqr3YSDhnmVbM1SJjF//8SURERSypzNwejOk7lA==", "dev": true, "requires": { "decimal.js": "^10.0.0" @@ -662,13 +560,13 @@ "@types/minimatch": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", - "integrity": "sha1-PcoOPzOyAPx9ETnAzZbBJoyt/Z0=", + "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", "dev": true }, "@types/mousetrap": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/@types/mousetrap/-/mousetrap-1.6.2.tgz", - "integrity": "sha1-X0i9vSjIpEcWcmOuQ2SI8di+By0=", + "integrity": "sha512-m67PUdzoHJGmYJ6Fno4iXocl+azw9cuz8tdUG21M04UzMRUT1YfxPIIIt3lQkXLMGwlGSKXYNGxCOMxKlGegIw==", "dev": true }, "@types/node": { @@ -680,19 +578,19 @@ "@types/q": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", - "integrity": "sha1-aQoUdbhPKohP0HzXl8APXzE1bqg=", + "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==", "dev": true }, "@types/requirejs": { "version": "2.1.31", "resolved": "https://registry.npmjs.org/@types/requirejs/-/requirejs-2.1.31.tgz", - "integrity": "sha1-ok6qDuT2uE/rj1IcplUNSEkLK8Y=", + "integrity": "sha512-b2soeyuU76rMbcRJ4e0hEl0tbMhFwZeTC0VZnfuWlfGlk6BwWNsev6kFu/twKABPX29wkX84wU2o+cEJoXsiTw==", "dev": true }, "@types/select2": { "version": "4.0.48", "resolved": "https://registry.npmjs.org/@types/select2/-/select2-4.0.48.tgz", - "integrity": "sha1-Bor57UbmRV506qr6ePhdIBs+ctc=", + "integrity": "sha512-C1cUbfwKBqlO+/3OWQKMajA4D/d5SvI9rSGoXCa7FQI9B1p1iRqZzetkfpGPY44BP1Y8emHL17rdUJYZEyzN+Q==", "dev": true, "requires": { "@types/jquery": "*", @@ -708,19 +606,19 @@ "@types/sizzle": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz", - "integrity": "sha1-qBG4wY4rq6t9VCszZYh64uTZ3kc=", + "integrity": "sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==", "dev": true }, "@types/unist": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz", - "integrity": "sha1-nAiGeYdvN061mD8VDUeHqm+zLX4=", + "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==", "dev": true }, "@types/vfile": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@types/vfile/-/vfile-3.0.2.tgz", - "integrity": "sha1-GcGM0jLfEc5vpq2AJZvIbDZrCbk=", + "integrity": "sha512-b3nLFGaGkJ9rzOcuXRfHkZMdjsawuDD0ENL9fzTophtBg8FJHSGbH7daXkEpcwy3v7Xol3pAvsmlYyFhR4pqJw==", "dev": true, "requires": { "@types/node": "*", @@ -731,7 +629,7 @@ "@types/vfile-message": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@types/vfile-message/-/vfile-message-1.0.1.tgz", - "integrity": "sha1-4emJXMazbEYtQkTmTm0Lbq9lNVo=", + "integrity": "sha512-mlGER3Aqmq7bqR1tTTIVHq8KSAFFRyGbrxuM8C/H82g6k7r2fS+IMEkIu3D7JHzG10NvPdR8DNx0jr0pwpp4dA==", "dev": true, "requires": { "@types/node": "*", @@ -772,7 +670,7 @@ "@webassemblyjs/ast": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.5.tgz", - "integrity": "sha1-UbHF/mV2o0lTv0slPfnw1JDZ41k=", + "integrity": "sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ==", "dev": true, "requires": { "@webassemblyjs/helper-module-context": "1.8.5", @@ -783,25 +681,25 @@ "@webassemblyjs/floating-point-hex-parser": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz", - "integrity": "sha1-G6kmopI2E+3OSW/VsC6M6KX0lyE=", + "integrity": "sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ==", "dev": true }, "@webassemblyjs/helper-api-error": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz", - "integrity": "sha1-xJ2tIvZFInxe22EL25aX8aq3Ifc=", + "integrity": "sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA==", "dev": true }, "@webassemblyjs/helper-buffer": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz", - "integrity": "sha1-/qk+Qphj3V5DOFVfQikjhaZT8gQ=", + "integrity": "sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q==", "dev": true }, "@webassemblyjs/helper-code-frame": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz", - "integrity": "sha1-mnQP9I4/qjAisd/1RCPfmqKTwl4=", + "integrity": "sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ==", "dev": true, "requires": { "@webassemblyjs/wast-printer": "1.8.5" @@ -810,13 +708,13 @@ "@webassemblyjs/helper-fsm": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz", - "integrity": "sha1-ugt9Oz9+RzPaYFnJMyJ12GBwJFI=", + "integrity": "sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow==", "dev": true }, "@webassemblyjs/helper-module-context": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz", - "integrity": "sha1-3vS5knsBAdyMu9jR7bW3ucguskU=", + "integrity": "sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -826,13 +724,13 @@ "@webassemblyjs/helper-wasm-bytecode": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz", - "integrity": "sha1-U3p1Dt31weky83RCBlUckcG5PmE=", + "integrity": "sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ==", "dev": true }, "@webassemblyjs/helper-wasm-section": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz", - "integrity": "sha1-dMpqa8vhnlCjtrRihH5pUD5r/L8=", + "integrity": "sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -844,7 +742,7 @@ "@webassemblyjs/ieee754": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz", - "integrity": "sha1-cSMp2+8kDza/V70ve4+5v0FUQh4=", + "integrity": "sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g==", "dev": true, "requires": { "@xtuc/ieee754": "^1.2.0" @@ -853,7 +751,7 @@ "@webassemblyjs/leb128": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.5.tgz", - "integrity": "sha1-BE7es06mefPgTNT9mCTV41dnrhA=", + "integrity": "sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A==", "dev": true, "requires": { "@xtuc/long": "4.2.2" @@ -862,13 +760,13 @@ "@webassemblyjs/utf8": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.5.tgz", - "integrity": "sha1-qL87XY/+mGx8Hjc8y9wqCRXwztw=", + "integrity": "sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw==", "dev": true }, "@webassemblyjs/wasm-edit": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz", - "integrity": "sha1-li2hKqWswcExyBxCMpkcgs5W4Bo=", + "integrity": "sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -884,7 +782,7 @@ "@webassemblyjs/wasm-gen": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz", - "integrity": "sha1-VIQHZsLBAC62TtGr5yCt7XFPmLw=", + "integrity": "sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -897,7 +795,7 @@ "@webassemblyjs/wasm-opt": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz", - "integrity": "sha1-sk2fa6UDlK8TSfUQr6j/y4pj0mQ=", + "integrity": "sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -909,7 +807,7 @@ "@webassemblyjs/wasm-parser": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz", - "integrity": "sha1-IVdvDsiLkUJzV7hTY4NmjvfGa40=", + "integrity": "sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -923,7 +821,7 @@ "@webassemblyjs/wast-parser": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz", - "integrity": "sha1-4Q7s1ULQ5705T2gnxJ899tTu+4w=", + "integrity": "sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -937,7 +835,7 @@ "@webassemblyjs/wast-printer": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz", - "integrity": "sha1-EUu8SB/RDKDiOzVg+oEnSLC65bw=", + "integrity": "sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -948,13 +846,13 @@ "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha1-7vAUoxRa5Hehy8AM0eVSM23Ot5A=", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", "dev": true }, "@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "dev": true }, "abbrev": { @@ -976,25 +874,25 @@ "acorn": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz", - "integrity": "sha1-fSWuBbuK0fm2mRCOEJTs14hK3B8=", + "integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==", "dev": true }, "acorn-dynamic-import": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", - "integrity": "sha1-SCIQFAWCo2uDw+NC4c/ryqkkCUg=", + "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", "dev": true }, "acorn-jsx": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", - "integrity": "sha1-MqBk/ZJUKSFqCbFBECv90YX65A4=", + "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", "dev": true }, "adm-zip": { "version": "0.4.13", "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.13.tgz", - "integrity": "sha1-WX4vjMNnIVHhMH0+lc3bx1ZyMUo=", + "integrity": "sha512-fERNJX8sOXfel6qCBCMPvZLzENBEhZTzKqg6vrOW5pvoEaQuJhRU4ndTAh6lHOxn1I6jnz2NHra56ZODM751uw==", "dev": true }, "after": { @@ -1015,7 +913,7 @@ "ajv": { "version": "6.10.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", - "integrity": "sha1-kNDVRDnaWHzX6EO/twRfUL0ivfE=", + "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", "dev": true, "requires": { "fast-deep-equal": "^2.0.1", @@ -1027,13 +925,13 @@ "ajv-errors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", - "integrity": "sha1-81mGrOuRr63sQQL72FAUlQzvpk0=", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", "dev": true }, "ajv-keywords": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz", - "integrity": "sha1-S4Mee1MUFafMUYzUBOc/YZPGNJ0=", + "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==", "dev": true }, "amdefine": { @@ -1043,22 +941,10 @@ "dev": true, "optional": true }, - "angular": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/angular/-/angular-1.6.6.tgz", - "integrity": "sha1-/Vo8+0N844LYVO4BEgeXl4Uny2Q=", - "dev": true - }, - "angular-route": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/angular-route/-/angular-route-1.6.6.tgz", - "integrity": "sha1-jBF0iqGVxxexthWn50ZEK/x8YfQ=", - "dev": true - }, "ansi-colors": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", - "integrity": "sha1-Y3S03V1HGP884npnGjscrQdxMqk=", + "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==", "dev": true, "requires": { "ansi-wrap": "^0.1.0" @@ -1067,7 +953,7 @@ "ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha1-h4C5j/nb9WOBUtHx/lwde0RCl2s=", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", "dev": true }, "ansi-gray": { @@ -1088,7 +974,7 @@ "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -1103,7 +989,7 @@ "anymatch": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha1-vLJLTzeTTZqnrBe0ra+J58du8us=", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "dev": true, "requires": { "micromatch": "^3.1.4", @@ -1133,7 +1019,7 @@ "aproba": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha1-aALmJk79GMeQobDVF/DyYnvyyUo=", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "dev": true }, "archy": { @@ -1145,7 +1031,7 @@ "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { "sprintf-js": "~1.0.2" @@ -1169,7 +1055,7 @@ "arr-flatten": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha1-NgSLv/TntH4TZkQxbJlmnqWukfE=", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true }, "arr-map": { @@ -1212,7 +1098,7 @@ "is-number": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha1-ACbjf1RU1z41bf5lZGmYZ8an8P8=", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", "dev": true } } @@ -1220,7 +1106,7 @@ "array-last": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/array-last/-/array-last-1.3.0.tgz", - "integrity": "sha1-eqdwc/7FZd2rJJP1+IGF9ASp0zY=", + "integrity": "sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==", "dev": true, "requires": { "is-number": "^4.0.0" @@ -1229,7 +1115,7 @@ "is-number": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha1-ACbjf1RU1z41bf5lZGmYZ8an8P8=", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", "dev": true } } @@ -1237,13 +1123,13 @@ "array-slice": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", - "integrity": "sha1-42jqFfibxwaff/uJrsOmx9SsItQ=", + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", "dev": true }, "array-sort": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-sort/-/array-sort-1.0.0.tgz", - "integrity": "sha1-5MBTVkU/VvU1EqfR1hI/LFTAqIo=", + "integrity": "sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg==", "dev": true, "requires": { "default-compare": "^1.0.0", @@ -1254,7 +1140,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -1283,7 +1169,7 @@ "arraybuffer.slice": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz", - "integrity": "sha1-O7xCdd1YTMGxCAm4nU6LY6aednU=", + "integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==", "dev": true }, "arrify": { @@ -1301,7 +1187,7 @@ "asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", "dev": true, "requires": { "safer-buffer": "~2.1.0" @@ -1310,7 +1196,7 @@ "asn1.js": { "version": "4.10.1", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", - "integrity": "sha1-ucK/WAXx5kqt7tbfOiv6+1pz9aA=", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", "dev": true, "requires": { "bn.js": "^4.0.0", @@ -1321,7 +1207,7 @@ "assert": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha1-VcEJqvbgrv2z3EtxJAxwv1dLGOs=", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", "dev": true, "requires": { "object-assign": "^4.1.1", @@ -1360,24 +1246,16 @@ "astral-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha1-bIw/uCfdQ+45GPJ7gngqt2WKb9k=", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", "dev": true }, "async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz", - "integrity": "sha1-GDMOp+bjE4h/XS8qkEusb+TdU4E=", + "integrity": "sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==", "dev": true, "requires": { "lodash": "^4.17.11" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "async-done": { @@ -1403,13 +1281,13 @@ "async-each": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", - "integrity": "sha1-tyfb+H12UWAvBvTUrDh/R9kbDL8=", + "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", "dev": true }, "async-limiter": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", - "integrity": "sha1-ePrtjD0HSrgfIrTphdeehzj3IPg=", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", "dev": true }, "async-settle": { @@ -1430,7 +1308,7 @@ "atob": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha1-bZUX654DDSQ2ZmZR6GvZ9vE1M8k=", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true }, "autoprefixer": { @@ -1456,7 +1334,7 @@ "aws4": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", "dev": true }, "babel-code-frame": { @@ -1582,7 +1460,7 @@ "base": { "version": "0.11.2", "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha1-e95c7RRbbVUakNuH+DxVi060io8=", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "dev": true, "requires": { "cache-base": "^1.0.1", @@ -1606,7 +1484,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -1615,7 +1493,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -1624,7 +1502,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -1643,7 +1521,7 @@ "base64-js": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", - "integrity": "sha1-yrHmEY8FEJXli1KBrqjBzSK/wOM=", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", "dev": true }, "base64id": { @@ -1673,25 +1551,25 @@ "big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha1-ZfCvOC9Xi83HQr2cKB6cstd2gyg=", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", "dev": true }, "binary-extensions": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha1-WYr+VHVbKGilMw0q/51Ou1Mgm2U=", + "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", "dev": true }, "blob": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz", - "integrity": "sha1-1oDu7yX4zZGtUz9bAe7UjmTK9oM=", + "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==", "dev": true }, "blocking-proxy": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-1.0.1.tgz", - "integrity": "sha1-gdb9H+E6TA1pV99/kbdemNrEDLI=", + "integrity": "sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA==", "dev": true, "requires": { "minimist": "^1.2.0" @@ -1706,13 +1584,13 @@ "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", - "integrity": "sha1-LN4J617jQfSEdGuwMJsyU7GxRC8=", + "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", "dev": true }, "body-parser": { "version": "1.19.0", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha1-lrJwnlfJxOCab9Zqj9l5hE9p8Io=", + "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", "dev": true, "requires": { "bytes": "3.1.0", @@ -1730,7 +1608,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -1750,16 +1628,10 @@ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", "dev": true }, - "bootstrap": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-3.3.7.tgz", - "integrity": "sha1-WjiTlFSfIzMIdaOxUGVldPip63E=", - "dev": true - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { "balanced-match": "^1.0.0", @@ -1769,7 +1641,7 @@ "braces": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha1-WXn9PxTNUxVl5fot8av/8d+u5yk=", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "dev": true, "requires": { "arr-flatten": "^1.1.0", @@ -1804,7 +1676,7 @@ "browserify-aes": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha1-Mmc0ZC9APavDADIJhTu3CtQo70g=", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { "buffer-xor": "^1.0.3", @@ -1818,7 +1690,7 @@ "browserify-cipher": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha1-jWR0wbhwv9q807z8wZNKEOlPFfA=", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", "dev": true, "requires": { "browserify-aes": "^1.0.4", @@ -1829,7 +1701,7 @@ "browserify-des": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha1-OvTx9Zg5QDVy8cZiBDdfen9wPpw=", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", "dev": true, "requires": { "cipher-base": "^1.0.1", @@ -1866,7 +1738,7 @@ "browserify-zlib": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha1-KGlFnZqjviRf6P4sofRuLn9U1z8=", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { "pako": "~1.0.5" @@ -1886,7 +1758,7 @@ "browserstack": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/browserstack/-/browserstack-1.5.2.tgz", - "integrity": "sha1-F9i7dhJ6HMDqQWQk34DSGPgDZz8=", + "integrity": "sha512-+6AFt9HzhKykcPF79W6yjEUJcdvZOV0lIXdkORXMJftGrDl0OKWqRF4GHqpDNkxiceDT/uB7Fb/aDwktvXX7dg==", "dev": true, "requires": { "https-proxy-agent": "^2.2.1" @@ -1919,7 +1791,7 @@ "buffer-alloc": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", - "integrity": "sha1-iQ3ZDZI6hz4I4Q5f1RpX5bfM4Ow=", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", "dev": true, "requires": { "buffer-alloc-unsafe": "^1.1.0", @@ -1929,7 +1801,7 @@ "buffer-alloc-unsafe": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha1-vX3CauKXLQ7aJTvgYdupkjScGfA=", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", "dev": true }, "buffer-equal": { @@ -1947,13 +1819,13 @@ "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha1-MnE7wCj3XAL9txDXx7zsHyxgcO8=", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, "buffer-json": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/buffer-json/-/buffer-json-2.0.0.tgz", - "integrity": "sha1-9z4TseQvGW/i/WfQAcfXEH7dfCM=", + "integrity": "sha512-+jjPFVqyfF1esi9fvfUs3NqM0pH1ziZ36VP4hmA/y/Ssfo/5w5xHKfTw9BwQjoJ1w/oVtpLomqwUHKdefGyuHw==", "dev": true }, "buffer-xor": { @@ -1980,7 +1852,7 @@ "bytes": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha1-9s95M6Ng4FiPqf3oVlHNx/gF0fY=", + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", "dev": true }, "cacache": { @@ -2040,7 +1912,7 @@ "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", "dev": true, "requires": { "collection-visit": "^1.0.0", @@ -2057,7 +1929,7 @@ "cache-loader": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/cache-loader/-/cache-loader-3.0.1.tgz", - "integrity": "sha1-zubPSzzcfGEJBbJrrWwvxDnIIa8=", + "integrity": "sha512-HzJIvGiGqYsFUrMjAJNDbVZoG7qQA+vy9AIoKs7s9DscNfki0I589mf2w6/tW+kkFH3zyiknoWV5Jdynu6b/zw==", "dev": true, "requires": { "buffer-json": "^2.0.0", @@ -2109,7 +1981,7 @@ "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M=", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true }, "camel-case": { @@ -2167,7 +2039,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -2202,7 +2074,7 @@ "chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, "chokidar": { @@ -2214,6 +2086,7 @@ "anymatch": "^2.0.0", "async-each": "^1.0.1", "braces": "^2.3.2", + "fsevents": "^1.2.7", "glob-parent": "^3.1.0", "inherits": "^2.0.3", "is-binary-path": "^1.0.0", @@ -2227,7 +2100,7 @@ "chownr": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", - "integrity": "sha1-VHJri4//TfBTxCGH6AH7RBLfFJQ=", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", "dev": true }, "chrome-trace-event": { @@ -2242,7 +2115,7 @@ "cipher-base": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha1-h2Dk7MJy9MNjUy+SbYdKriwTl94=", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { "inherits": "^2.0.1", @@ -2261,7 +2134,7 @@ "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha1-+TNprouafOAv1B+q0MqDAzGQxGM=", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "dev": true, "requires": { "arr-union": "^3.1.0", @@ -2284,7 +2157,7 @@ "clean-css": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", - "integrity": "sha1-LUEe92uFabbQyEBo2r6FsKpeXBc=", + "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", "dev": true, "requires": { "source-map": "~0.6.0" @@ -2293,7 +2166,7 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } @@ -2301,7 +2174,7 @@ "clean-webpack-plugin": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-2.0.2.tgz", - "integrity": "sha1-gFoZ/yDUagYSUpiiXrMRQuytIWY=", + "integrity": "sha512-pi1111o4OBd9qvacbgs+NRqClfVPKVIc66B4d8kx6Ho/L+i9entQ/NpK600CsTYTPu3kWvKwwyKarsYMvC2xeA==", "dev": true, "requires": { "del": "^4.0.0" @@ -2385,7 +2258,7 @@ "clone-regexp": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.1.tgz", - "integrity": "sha1-BRgFzTMXM3XYIRj8CRhgbaOf1g8=", + "integrity": "sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==", "dev": true, "requires": { "is-regexp": "^1.0.0", @@ -2445,7 +2318,7 @@ "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { "color-name": "1.1.3" @@ -2460,7 +2333,7 @@ "color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha1-k4NDeaHMmgxh+C9S8NBDIiUb1aI=", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true }, "colors": { @@ -2499,7 +2372,7 @@ "component-emitter": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", "dev": true }, "component-inherit": { @@ -2517,7 +2390,7 @@ "concat-stream": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha1-kEvfGUzTEi/Gdcd/xKw9T/D9GjQ=", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -2529,7 +2402,7 @@ "concat-with-sourcemaps": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/concat-with-sourcemaps/-/concat-with-sourcemaps-1.1.0.tgz", - "integrity": "sha1-1OqT8FriV5CVG5nns7CeOQikCC4=", + "integrity": "sha512-4gEjHJFT9e+2W/77h/DS5SGUgwDaOwprX8L/gl5+3ixnzkVJJsZWDSelmN3Oilw3LNDZjZV0yqH1hLG3k6nghg==", "dev": true, "requires": { "source-map": "^0.6.1" @@ -2538,7 +2411,7 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } @@ -2558,7 +2431,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -2590,13 +2463,13 @@ "content-type": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha1-4TjMdeBAxyexlm/l5fjJruJW/js=", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", "dev": true }, "convert-source-map": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", - "integrity": "sha1-UbU3qMQ+DwTewZk7/83VBOdYrCA=", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", "dev": true, "requires": { "safe-buffer": "~5.1.1" @@ -2611,7 +2484,7 @@ "copy-concurrently": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", - "integrity": "sha1-kilzmMrjSTf8r9bsgTnBgFHwteA=", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", "dev": true, "requires": { "aproba": "^1.1.1", @@ -2631,7 +2504,7 @@ "copy-props": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-2.0.4.tgz", - "integrity": "sha1-k7scrfr9MdpbuKnUtB9HHsOnLf4=", + "integrity": "sha512-7cjuUME+p+S3HZlbllgsn2CDwS+5eCCX16qBgNC4jgSTf49qR1VKy/Zhl400m0IQXl/bPGEVqncgUUMjrr4s8A==", "dev": true, "requires": { "each-props": "^1.3.0", @@ -2693,7 +2566,7 @@ "create-ecdh": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", - "integrity": "sha1-yREbbzMEXEaX8UR4f5JUzcd8Rf8=", + "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", "dev": true, "requires": { "bn.js": "^4.1.0", @@ -2703,7 +2576,7 @@ "create-hash": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha1-iJB4rxGmN1a8+1m9IhmWvjqe8ZY=", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "dev": true, "requires": { "cipher-base": "^1.0.1", @@ -2716,7 +2589,7 @@ "create-hmac": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha1-aRcMeLOrlXFHsriwRXLkfq0iQ/8=", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "dev": true, "requires": { "cipher-base": "^1.0.3", @@ -2730,7 +2603,7 @@ "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha1-Sl7Hxk364iw6FBJNus3uhG2Ay8Q=", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "requires": { "nice-try": "^1.0.4", @@ -2743,7 +2616,7 @@ "crypto-browserify": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha1-OWz58xN/A+S45TLFj2mCVOAPgOw=", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "dev": true, "requires": { "browserify-cipher": "^1.0.0", @@ -2786,7 +2659,7 @@ "css-what": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", - "integrity": "sha1-ptdgRXM2X+dGhsPzEcVlE9iChfI=", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", "dev": true }, "currently-unhandled": { @@ -2831,7 +2704,7 @@ "date-format": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/date-format/-/date-format-2.0.0.tgz", - "integrity": "sha1-fPexcvHsVk8AA7OeowLFSY+5jI8=", + "integrity": "sha512-M6UqVvZVgFYqZL1SfHsRGIQSz3ZL+qgbsV5Lp1Vj61LZVYuEwcMXYay7DRDtYs2HQQBK5hQtQ0fD9aEJ89V0LA==", "dev": true }, "date-now": { @@ -2853,7 +2726,7 @@ "debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { "ms": "^2.1.1" @@ -2896,7 +2769,7 @@ "default-compare": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/default-compare/-/default-compare-1.0.0.tgz", - "integrity": "sha1-y2ETGESthNhHiPto/QFoHKd4Gi8=", + "integrity": "sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ==", "dev": true, "requires": { "kind-of": "^5.0.2" @@ -2905,7 +2778,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -2919,7 +2792,7 @@ "define-properties": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "dev": true, "requires": { "object-keys": "^1.0.12" @@ -2928,7 +2801,7 @@ "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha1-1Flono1lS6d+AqgX+HENcCyxbp0=", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", "dev": true, "requires": { "is-descriptor": "^1.0.2", @@ -2938,7 +2811,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -2947,7 +2820,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -2956,7 +2829,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -3029,7 +2902,7 @@ "diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha1-QOjumPVaIUlgcUaSHGPhrl89KHU=", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "dev": true, "requires": { "bn.js": "^4.1.0", @@ -3040,7 +2913,7 @@ "dir-glob": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", - "integrity": "sha1-+gnwaUFTyJGLGLoN6vrpR2n8UMQ=", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", "dev": true, "requires": { "path-type": "^3.0.0" @@ -3049,7 +2922,7 @@ "path-type": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha1-zvMdyOCho7sNEFwM2Xzzv0f0428=", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, "requires": { "pify": "^3.0.0" @@ -3066,7 +2939,7 @@ "doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha1-rd6+rXKmV023g2OdyHoSF3OXOWE=", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, "requires": { "esutils": "^2.0.2" @@ -3075,7 +2948,7 @@ "dom-converter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", - "integrity": "sha1-ZyGp2u4uKTaClVtq/kFncWJ7t2g=", + "integrity": "sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==", "dev": true, "requires": { "utila": "~0.4" @@ -3096,7 +2969,7 @@ "dom-serializer": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", - "integrity": "sha1-HsQFnihLq+027sKUHUqXChic58A=", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", "dev": true, "requires": { "domelementtype": "^1.3.0", @@ -3106,19 +2979,19 @@ "domain-browser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha1-PTH1AZGmdJ3RN1p/Ui6CPULlTto=", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", "dev": true }, "domelementtype": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha1-0EjESzew0Qp/Kj1f7j9DM9eQSB8=", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", "dev": true }, "domhandler": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha1-iAUJfpM9ZehVRvcm1g9euItE+AM=", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", "dev": true, "requires": { "domelementtype": "1" @@ -3127,7 +3000,7 @@ "domutils": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", - "integrity": "sha1-Vuo0HoNOBuZ0ivehyyXaZ+qfjCo=", + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", "dev": true, "requires": { "dom-serializer": "0", @@ -3137,7 +3010,7 @@ "dot-prop": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", - "integrity": "sha1-HxngwuGqDjJ5fEl5nyg3rGr2nFc=", + "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", "dev": true, "requires": { "is-obj": "^1.0.0" @@ -3146,7 +3019,7 @@ "dotenv": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-7.0.0.tgz", - "integrity": "sha1-or481Sc2ZzIG6KhftSEO6ilijnw=", + "integrity": "sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g==", "dev": true }, "duplexer": { @@ -3158,7 +3031,7 @@ "duplexify": { "version": "3.7.1", "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", - "integrity": "sha1-Kk31MX9sz9kfhtb9JdjYoQO4gwk=", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", "dev": true, "requires": { "end-of-stream": "^1.0.0", @@ -3170,7 +3043,7 @@ "each-props": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/each-props/-/each-props-1.3.2.tgz", - "integrity": "sha1-6kWkFNFt1c+kGbGoFyDVygaJIzM=", + "integrity": "sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA==", "dev": true, "requires": { "is-plain-object": "^2.0.1", @@ -3202,7 +3075,7 @@ "elliptic": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz", - "integrity": "sha1-wtC3d2kRuGcixjLDwGxg8vgZk5o=", + "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==", "dev": true, "requires": { "bn.js": "^4.4.0", @@ -3217,7 +3090,7 @@ "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha1-kzoEBShgyF6DwSJHnEdIqOTHIVY=", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "dev": true }, "emojis-list": { @@ -3235,7 +3108,7 @@ "end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", - "integrity": "sha1-7SljTRm6ukY7bOa4CjchPqtx7EM=", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", "dev": true, "requires": { "once": "^1.4.0" @@ -3244,7 +3117,7 @@ "engine.io": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.2.1.tgz", - "integrity": "sha1-tgKBw1SEpw7gNR6g6/+D7IyVIqI=", + "integrity": "sha512-+VlKzHzMhaU+GsCIg4AoXF1UdDFjHHwMmMKqMJNDNLlUlejz58FCy4LBqB2YVJskHGYl06BatYWKP2TVdVXE5w==", "dev": true, "requires": { "accepts": "~1.3.4", @@ -3258,7 +3131,7 @@ "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "dev": true, "requires": { "ms": "2.0.0" @@ -3275,7 +3148,7 @@ "engine.io-client": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", - "integrity": "sha1-b1TAR13khxWKGnx30QF4cItq3TY=", + "integrity": "sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==", "dev": true, "requires": { "component-emitter": "1.2.1", @@ -3300,7 +3173,7 @@ "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "dev": true, "requires": { "ms": "2.0.0" @@ -3317,7 +3190,7 @@ "engine.io-parser": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", - "integrity": "sha1-dXq5cPvy37Mse3SwMyFtVznveaY=", + "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", "dev": true, "requires": { "after": "0.8.2", @@ -3330,7 +3203,7 @@ "enhanced-resolve": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz", - "integrity": "sha1-Qcfgv9/nSsH/4eV61qXGyfN0Kn8=", + "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==", "dev": true, "requires": { "graceful-fs": "^4.1.2", @@ -3347,13 +3220,13 @@ "entities": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha1-vfpzUplmTfr9NFKe1PhSKidf6lY=", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", "dev": true }, "errno": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", - "integrity": "sha1-RoTXF3mtOa8Xfj8AeZb3xnyFJhg=", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", "dev": true, "requires": { "prr": "~1.0.1" @@ -3362,7 +3235,7 @@ "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha1-tKxAZIEH/c3PriQvQovqihTU8b8=", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "requires": { "is-arrayish": "^0.2.1" @@ -3371,7 +3244,7 @@ "es-abstract": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", - "integrity": "sha1-rIYUX91QmdjdSVWMy6Lq+biOJOk=", + "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", "dev": true, "requires": { "es-to-primitive": "^1.2.0", @@ -3385,7 +3258,7 @@ "es-to-primitive": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", - "integrity": "sha1-7fckeAM0VujdqO8J4ArZZQcH83c=", + "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "dev": true, "requires": { "is-callable": "^1.1.4", @@ -3504,7 +3377,7 @@ "eslint": { "version": "5.16.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", - "integrity": "sha1-oeOsGq5KP72Clvz496tzFMu2q+o=", + "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", @@ -3545,12 +3418,6 @@ "text-table": "^0.2.0" }, "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - }, "semver": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", @@ -3587,19 +3454,19 @@ "eslint-utils": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz", - "integrity": "sha1-moUbqJ7nxGA0b5fPiTnHKYgn5RI=", + "integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==", "dev": true }, "eslint-visitor-keys": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", - "integrity": "sha1-PzGA+y4pEBdxastMnW1bXDSmqB0=", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", "dev": true }, "espree": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", - "integrity": "sha1-XWUm+k/H8HiKXPdbFfMDI+L4H3o=", + "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", "dev": true, "requires": { "acorn": "^6.0.7", @@ -3610,13 +3477,13 @@ "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, "esquery": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", - "integrity": "sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg=", + "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", "dev": true, "requires": { "estraverse": "^4.0.0" @@ -3625,7 +3492,7 @@ "esrecurse": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha1-AHo7n9vCs7uH5IeeoZyS/b05Qs8=", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "dev": true, "requires": { "estraverse": "^4.1.0" @@ -3667,13 +3534,13 @@ "events": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/events/-/events-3.0.0.tgz", - "integrity": "sha1-mgoN+vYok9krh1uPJpjKQRSXPog=", + "integrity": "sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA==", "dev": true }, "evp_bytestokey": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha1-f8vbGY3HGVlDLv4ThCaE4FJaywI=", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "dev": true, "requires": { "md5.js": "^1.3.4", @@ -3741,7 +3608,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -3785,7 +3652,7 @@ "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo=", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "dev": true }, "extend-shallow": { @@ -3801,7 +3668,7 @@ "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { "is-plain-object": "^2.0.4" @@ -3812,7 +3679,7 @@ "external-editor": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz", - "integrity": "sha1-WGbbKal4Jtvkvzr9JAcOrZ6kOic=", + "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==", "dev": true, "requires": { "chardet": "^0.7.0", @@ -3823,7 +3690,7 @@ "extglob": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha1-rQD+TcYSqSMuhxhxHcXLWrAoVUM=", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "dev": true, "requires": { "array-unique": "^0.3.2", @@ -3857,7 +3724,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -3866,7 +3733,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -3875,7 +3742,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -3894,7 +3761,7 @@ "fancy-log": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", - "integrity": "sha1-28GRVPVYaQFQojlToK29A1vkX8c=", + "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==", "dev": true, "requires": { "ansi-gray": "^0.1.1", @@ -3944,7 +3811,7 @@ "figgy-pudding": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz", - "integrity": "sha1-hiRwESkBxyeg5JWoB0S9W6odZ5A=", + "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==", "dev": true }, "figures": { @@ -3959,7 +3826,7 @@ "file-entry-cache": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", - "integrity": "sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w=", + "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", "dev": true, "requires": { "flat-cache": "^2.0.1" @@ -4006,7 +3873,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -4023,7 +3890,7 @@ "find-cache-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha1-jQ+UzRP+Q8bHwmGg2GEVypGMBfc=", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", "dev": true, "requires": { "commondir": "^1.0.1", @@ -4043,7 +3910,7 @@ "findup-sync": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz", - "integrity": "sha1-F7EI+e5RLft6XH88iyfqnhqcCNE=", + "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", "dev": true, "requires": { "detect-file": "^1.0.0", @@ -4055,7 +3922,7 @@ "fined": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz", - "integrity": "sha1-0AvszxqitHXRbUI7Aji3E6LEo3s=", + "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==", "dev": true, "requires": { "expand-tilde": "^2.0.2", @@ -4068,13 +3935,13 @@ "flagged-respawn": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz", - "integrity": "sha1-595vEnnd2cqarIpZcdYYYGs6q0E=", + "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==", "dev": true }, "flat-cache": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", - "integrity": "sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA=", + "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", "dev": true, "requires": { "flatted": "^2.0.0", @@ -4085,7 +3952,7 @@ "rimraf": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha1-stEE/g2Psnz54KHNqCYt04M8bKs=", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "requires": { "glob": "^7.1.3" @@ -4096,13 +3963,13 @@ "flatted": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz", - "integrity": "sha1-VRIrZTbqSWtLRIk+4mCBQdENmRY=", + "integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==", "dev": true }, "flush-write-stream": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", - "integrity": "sha1-jdfYc6G6vCB9lOrQwuDkQnbr8ug=", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", "dev": true, "requires": { "inherits": "^2.0.3", @@ -4112,7 +3979,7 @@ "follow-redirects": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.7.0.tgz", - "integrity": "sha1-SJ68GY3A5/ZBZ70jsDxMGbV4THY=", + "integrity": "sha512-m/pZQy4Gj287eNy94nivy5wchN3Kp+Q5WgUPNy5lJSZ3sgkVKSYV/ZChMAQVIgx1SqfZ2zBZtPA2YlXIWxxJOQ==", "dev": true, "requires": { "debug": "^3.2.6" @@ -4121,7 +3988,7 @@ "debug": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha1-6D0X3hbYp++3cX7b5fsQE17uYps=", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "dev": true, "requires": { "ms": "^2.1.1" @@ -4177,7 +4044,7 @@ "form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "requires": { "asynckit": "^0.4.0", @@ -4231,7 +4098,7 @@ "fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha1-TxicRKoSO4lfcigE9V6iPq3DSOk=", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", "dev": true, "requires": { "graceful-fs": "^4.1.2", @@ -4267,10 +4134,605 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsevents": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz", + "integrity": "sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.12.1", + "node-pre-gyp": "^0.12.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, + "optional": true + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "optional": true, + "requires": { + "ms": "^2.1.1" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore-walk": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "dev": true, + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "optional": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "minipass": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", + "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz", + "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true, + "optional": true + }, + "needle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.3.0.tgz", + "integrity": "sha512-QBZu7aAFR0522EyaXZM0FZ9GLpq6lvQ3uq8gteiDUp7wKdy0lSd2hPlgFwVuW1CBkfEs9PfDQsQzZghLs/psdg==", + "dev": true, + "optional": true, + "requires": { + "debug": "^4.1.0", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz", + "integrity": "sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==", + "dev": true, + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", + "dev": true, + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz", + "integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==", + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz", + "integrity": "sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw==", + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "optional": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "optional": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true, + "optional": true + }, + "semver": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", + "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.8", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz", + "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", + "dev": true, + "optional": true, + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "optional": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true + } + } + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, "functional-red-black-tree": { @@ -4282,7 +4744,7 @@ "get-caller-file": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha1-+Xj6TJDR3+f/LWvtoqUV5xO9z0o=", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", "dev": true }, "get-stdin": { @@ -4374,7 +4836,7 @@ "glob-watcher": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-5.0.3.tgz", - "integrity": "sha1-iKir8cTRMeuTkomUvEpZPC5d1iY=", + "integrity": "sha512-8tWsULNEPHKQ2MR4zXuzSmqbdyV5PtwwCaWSGQ1WwHsJ07ilNeN1JB8ntxhckbnpSHaf9dXFUHzIWvm1I13dsg==", "dev": true, "requires": { "anymatch": "^2.0.0", @@ -4388,7 +4850,7 @@ "global-modules": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha1-bXcPDrUjrHgWTXK15xqIdyZcw+o=", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", "dev": true, "requires": { "global-prefix": "^1.0.1", @@ -4445,7 +4907,7 @@ "glogg": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.2.tgz", - "integrity": "sha1-LX3XAr7aIus7/634gGltpthGMT8=", + "integrity": "sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==", "dev": true, "requires": { "sparkles": "^1.0.0" @@ -4454,7 +4916,7 @@ "gonzales-pe": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.2.4.tgz", - "integrity": "sha1-NWrjajEsRv4PECbdbLU5A5+FANI=", + "integrity": "sha512-v0Ts/8IsSbh9n1OJRnSfa7Nlxi4AkXIsWB6vPept8FDbL4bXn3FNuxjYtO/nmBGu7GDkL9MFeGebeSu6l55EPQ==", "dev": true, "requires": { "minimist": "1.1.x" @@ -4471,7 +4933,7 @@ "graceful-fs": { "version": "4.1.15", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", - "integrity": "sha1-/7cD4QZuig7qpMi4C6klPu77+wA=", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", "dev": true }, "gulp": { @@ -4495,7 +4957,7 @@ "gulp-cli": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-2.2.0.tgz", - "integrity": "sha1-VTMSbut/5BWn4+hKKX0zTVz3Drw=", + "integrity": "sha512-rGs3bVYHdyJpLqR0TUBnlcZ1O5O++Zs4bA0ajm+zr3WFCfiSLjGwoCBqFs18wzN+ZxahT9DkOK5nDf26iDsWjA==", "dev": true, "requires": { "ansi-colors": "^1.0.1", @@ -4593,7 +5055,7 @@ "handlebars": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz", - "integrity": "sha1-trN8HO0DBrIh4JT8eso+wjsTG2c=", + "integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==", "dev": true, "requires": { "neo-async": "^2.6.0", @@ -4605,7 +5067,7 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } @@ -4619,7 +5081,7 @@ "har-validator": { "version": "5.1.3", "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha1-HvievT5JllV2de7ZiTEQ3DUPoIA=", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", "dev": true, "requires": { "ajv": "^6.5.5", @@ -4629,7 +5091,7 @@ "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "requires": { "function-bind": "^1.1.1" @@ -4655,7 +5117,7 @@ "has-binary2": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz", - "integrity": "sha1-d3asYn8+p3JQz8My2rfd9eT10R0=", + "integrity": "sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==", "dev": true, "requires": { "isarray": "2.0.1" @@ -4732,7 +5194,7 @@ "hash.js": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha1-C6vKU46NTuSg+JiNaIZlN6ADz0I=", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", "dev": true, "requires": { "inherits": "^2.0.3", @@ -4742,7 +5204,7 @@ "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha1-hK5l+n6vsWX922FWauFLrwVmTw8=", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, "hmac-drbg": { @@ -4759,7 +5221,7 @@ "homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha1-dDKYzvTlrz4ZQWH7rcwhUdOgWOg=", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", "dev": true, "requires": { "parse-passwd": "^1.0.0" @@ -4768,13 +5230,13 @@ "hosted-git-info": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", - "integrity": "sha1-l/I2l3vW4SVAiTD/bePuxigewEc=", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", "dev": true }, "html-minifier": { "version": "3.5.21", "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz", - "integrity": "sha1-0AQOBUcw41TbAIRjWTGUAVIS0gw=", + "integrity": "sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA==", "dev": true, "requires": { "camel-case": "3.0.x", @@ -4789,13 +5251,13 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, "uglify-js": { "version": "3.4.10", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz", - "integrity": "sha1-mtlWPY6zrN+404WX0q8dgV9qdV8=", + "integrity": "sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw==", "dev": true, "requires": { "commander": "~2.19.0", @@ -4805,7 +5267,7 @@ "commander": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", - "integrity": "sha1-9hmKqE5bg8RgVLlN3tv+1e6f8So=", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", "dev": true } } @@ -4821,7 +5283,7 @@ "html-webpack-plugin": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.0.0-beta.5.tgz", - "integrity": "sha1-LFMIPBFRv+wgR5sfiq8AOed7VRM=", + "integrity": "sha512-y5l4lGxOW3pz3xBTFdfB9rnnrWRPVxlAhX6nrBYIcW+2k2zC3mSp/3DxlWVCMBfnO6UAnoF8OcFn0IMy6kaKAQ==", "dev": true, "requires": { "html-minifier": "^3.5.20", @@ -4830,34 +5292,18 @@ "pretty-error": "^2.1.1", "tapable": "^1.1.0", "util.promisify": "1.0.0" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "htmllint": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/htmllint/-/htmllint-0.8.0.tgz", - "integrity": "sha1-nbwuuZXtuEMUSbrW2DmQ+5Gx7Fk=", + "integrity": "sha512-rCiFTprPgpWQD0vcE+jVXWuditE/f7rxwnBuPHKWBhbdoDUJ/ZuJ3SxbABrsCZOhG9ulrO/+ot9ezzegpKHdLQ==", "dev": true, "requires": { "bulk-require": "^1.0.1", "htmlparser2": "^3.10.1", "lodash": "^4.17.11", "promise": "^8.0.3" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "htmllint-cli": { @@ -4885,7 +5331,7 @@ "cliui": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha1-NIQi2+gtgAswIu709qwQvy5NG0k=", + "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", "dev": true, "requires": { "string-width": "^2.1.1", @@ -4917,21 +5363,13 @@ "htmllint": { "version": "0.7.3", "resolved": "https://registry.npmjs.org/htmllint/-/htmllint-0.7.3.tgz", - "integrity": "sha1-s6IFFMD9182Drzf50OBVoQDooJY=", + "integrity": "sha512-h8wfCu0CC0FVo18Jkygv7xqj0fa23Xlv4QsR2n34LDr8eqpf4glfbNg1HTbiCqpT3ONioMOfk8EkFUbZgrO1KA==", "dev": true, "requires": { "bulk-require": "^1.0.1", "htmlparser2": "^3.10.0", "lodash": "^4.17.11", "promise": "^8.0.2" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "is-glob": { @@ -4972,7 +5410,7 @@ "os-locale": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha1-QrwpAKa1uL0XN2yOiCtlr8zyS/I=", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", "dev": true, "requires": { "execa": "^0.7.0", @@ -5013,7 +5451,7 @@ "yargs": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-11.1.0.tgz", - "integrity": "sha1-kLhpk07W6HERXqL/WLA/RyTtLXc=", + "integrity": "sha512-NwW69J42EsCSanF8kyn5upxvjp5ds+t3+udGBeTbFnERA+lF541DDpMawzo4z6W/QrzNM18D+BPMiOBibnFV5A==", "dev": true, "requires": { "cliui": "^4.0.0", @@ -5044,7 +5482,7 @@ "htmlparser2": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha1-vWedw/WYl7ajS7EHSchVu1OpOS8=", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", "dev": true, "requires": { "domelementtype": "^1.3.1", @@ -5071,7 +5509,7 @@ "http-errors": { "version": "1.7.2", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha1-T1ApzxMjnzEDblsuVSkrz7zIXI8=", + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", "dev": true, "requires": { "depd": "~1.1.2", @@ -5084,7 +5522,7 @@ "http-proxy": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", - "integrity": "sha1-etOElGWPhGBeL220Q230EPTlvpo=", + "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", "dev": true, "requires": { "eventemitter3": "^3.0.0", @@ -5112,7 +5550,7 @@ "https-proxy-agent": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz", - "integrity": "sha1-UVUpcPoE1yPgTFbQQXjD+SWSu8A=", + "integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==", "dev": true, "requires": { "agent-base": "^4.1.0", @@ -5122,7 +5560,7 @@ "debug": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha1-6D0X3hbYp++3cX7b5fsQE17uYps=", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "dev": true, "requires": { "ms": "^2.1.1" @@ -5133,7 +5571,7 @@ "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -5142,7 +5580,7 @@ "ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha1-7BaFWOlaoYH9h9N/VcMrvLZwi4Q=", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", "dev": true }, "iferr": { @@ -5154,7 +5592,7 @@ "ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha1-dQ49tYYgh7RzfrrIIH/9HvJ7Jfw=", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, "immediate": { @@ -5166,7 +5604,7 @@ "import-fresh": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz", - "integrity": "sha1-o9iX9CDKsOZxI2iX91vBS0iFw5A=", + "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==", "dev": true, "requires": { "parent-module": "^1.0.0", @@ -5182,7 +5620,7 @@ "import-local": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha1-VQcL44pZk88Y72236WH1vuXFoJ0=", + "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", "dev": true, "requires": { "pkg-dir": "^3.0.0", @@ -5235,13 +5673,13 @@ "ini": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc=", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "dev": true }, "inquirer": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.3.1.tgz", - "integrity": "sha1-ekE7XnlQgRATo9tJHGHR87d26Oc=", + "integrity": "sha512-MmL624rfkFt4TG9y/Jvmt8vdmOo836U7Y0Hxr2aFk3RelZEGX4Igk0KabWrcaaZaTv9uzglOqWh1Vly+FAWAXA==", "dev": true, "requires": { "ansi-escapes": "^3.2.0", @@ -5262,19 +5700,13 @@ "ansi-regex": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", - "dev": true - }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true }, "strip-ansi": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", "dev": true, "requires": { "ansi-regex": "^4.1.0" @@ -5285,7 +5717,7 @@ "interpret": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz", - "integrity": "sha1-1QYaYiS+WOgIOYX1AU2EQ1lXYpY=", + "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==", "dev": true }, "invert-kv": { @@ -5297,7 +5729,7 @@ "is-absolute": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", - "integrity": "sha1-OV4a6EsR8mrReV5zwXN45IowFXY=", + "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", "dev": true, "requires": { "is-relative": "^1.0.0", @@ -5370,13 +5802,13 @@ "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha1-76ouqdqg16suoTqXsritUf776L4=", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, "is-callable": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", - "integrity": "sha1-HhrfIZ4e62hNaR+dagX/DTCiTXU=", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", "dev": true }, "is-data-descriptor": { @@ -5414,7 +5846,7 @@ "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha1-Nm2CQN3kh8pRgjsaufB6EKeCUco=", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "dev": true, "requires": { "is-accessor-descriptor": "^0.1.6", @@ -5425,7 +5857,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -5472,7 +5904,7 @@ "is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha1-dWfb6fL14kZ7x3q4PEopSCQHpdw=", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", "dev": true, "requires": { "is-extglob": "^2.1.1" @@ -5549,7 +5981,7 @@ "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "requires": { "isobject": "^3.0.1" @@ -5579,7 +6011,7 @@ "is-relative": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", - "integrity": "sha1-obtpNc6MXboei5dUubLcwCDiJg0=", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", "dev": true, "requires": { "is-unc-path": "^1.0.0" @@ -5600,13 +6032,13 @@ "is-supported-regexp-flag": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz", - "integrity": "sha1-Ie4WUY0sHdPt0+mg1X5QIHrDZMo=", + "integrity": "sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==", "dev": true }, "is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", - "integrity": "sha1-oFX2rlcZLK7jKeeoYBGLSXqVDzg=", + "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", "dev": true, "requires": { "has-symbols": "^1.0.0" @@ -5621,7 +6053,7 @@ "is-unc-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", - "integrity": "sha1-1zHoiY7QkKEsNSrS6u1Qla0yLJ0=", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", "dev": true, "requires": { "unc-path-regex": "^0.1.2" @@ -5648,7 +6080,7 @@ "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha1-0YUOuXkezRjmGCzhKjDzlmNLsZ0=", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, "is-word-character": { @@ -5672,7 +6104,7 @@ "isbinaryfile": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", - "integrity": "sha1-XW3vPt6/boyoyunDAYOoBLX4voA=", + "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", "dev": true, "requires": { "buffer-alloc": "^1.2.0" @@ -5788,13 +6220,13 @@ "jasmine-core": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.4.0.tgz", - "integrity": "sha1-KnRhjpZgJlMMNRjwPp+EXSZHPOM=", + "integrity": "sha512-HU/YxV4i6GcmiH4duATwAbJQMlE0MsDIR5XmSVxURxKHn3aGAdbY1/ZJFmVRbKtnLwIxxMJD7gYaPsypcbYimg==", "dev": true }, "jasmine-spec-reporter": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz", - "integrity": "sha1-HWMq7ANBZwrTJPkrqEtLMrNeniI=", + "integrity": "sha512-FZBoZu7VE5nR7Nilzy+Np8KuVIOxF4oXDPDknehCYBDE080EnlPu0afdZNmpGDBRCUBv3mj5qgqCRmk6W/K8vg==", "dev": true, "requires": { "colors": "1.1.2" @@ -5812,22 +6244,16 @@ "integrity": "sha1-o6vicYryQaKykE+EpiWXDzia4yo=", "dev": true }, - "jquery": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-2.2.4.tgz", - "integrity": "sha1-LInWiJterFIqfuoywUUhVZxsvwI=", - "dev": true - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, "js-yaml": { "version": "3.13.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha1-r/FRswv9+o5J4F2iLnQV6d+jeEc=", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, "requires": { "argparse": "^1.0.7", @@ -5843,13 +6269,13 @@ "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk=", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, "json-parse-helpfulerror": { @@ -5870,7 +6296,7 @@ "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "json-stable-stringify-without-jsonify": { @@ -5918,7 +6344,7 @@ "jszip": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.2.1.tgz", - "integrity": "sha1-xdMt9ydAQigrFX77FuUitDQ14Bo=", + "integrity": "sha512-iCMBbo4eE5rb1VCpm5qXOAaUiRKRUKiItn8ah2YQQx9qymmSAY98eyQfioChEYcVQLh0zxJ3wS4A0mh90AVPvw==", "dev": true, "requires": { "lie": "~3.3.0", @@ -5936,7 +6362,7 @@ "karma": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/karma/-/karma-4.1.0.tgz", - "integrity": "sha1-0HOHyXQ6V1tA+vc+ij61Qhwhk+E=", + "integrity": "sha512-xckiDqyNi512U4dXGOOSyLKPwek6X/vUizSy2f3geYevbLj+UIdvNwbn7IwfUIL2g1GXEPWt/87qFD1fBbl/Uw==", "dev": true, "requires": { "bluebird": "^3.3.0", @@ -5968,16 +6394,10 @@ "useragent": "2.3.0" }, "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - }, "rimraf": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha1-stEE/g2Psnz54KHNqCYt04M8bKs=", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "requires": { "glob": "^7.1.3" @@ -5986,7 +6406,7 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } @@ -5994,7 +6414,7 @@ "karma-chrome-launcher": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-2.2.0.tgz", - "integrity": "sha1-zxudBxNswY/iOTJ9JGVMPbw2is8=", + "integrity": "sha512-uf/ZVpAabDBPvdPdveyk1EPgbnloPvFFGgmRhYLTDH7gEB4nZdSBk8yTU47w1g/drLSx5uMOkjKk7IWKfWg/+w==", "dev": true, "requires": { "fs-access": "^1.0.0", @@ -6004,7 +6424,7 @@ "karma-coverage": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-1.1.2.tgz", - "integrity": "sha1-zAnc61iagxAayl/nDCh2Re84dok=", + "integrity": "sha512-eQawj4Cl3z/CjxslYy9ariU4uDh7cCNFZHNWXWRpl0pNeblY/4wHR7M7boTYXWrn9bY0z2pZmr11eKje/S/hIw==", "dev": true, "requires": { "dateformat": "^1.0.6", @@ -6017,7 +6437,7 @@ "karma-jasmine": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-2.0.1.tgz", - "integrity": "sha1-JuPjHy+vJy3YDrsOGJiRTMOhl2M=", + "integrity": "sha512-iuC0hmr9b+SNn1DaUD2QEYtUxkS1J+bSJSn7ejdEexs7P8EYvA1CWkEdrDQ+8jVH3AgWlCNwjYsT1chjcNW9lA==", "dev": true, "requires": { "jasmine-core": "^3.3" @@ -6050,7 +6470,7 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true }, "known-css-properties": { @@ -6099,7 +6519,7 @@ "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha1-d4kd6DQGTMy6gq54QrtrFKE+1/I=", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true }, "levn": { @@ -6115,7 +6535,7 @@ "lie": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", - "integrity": "sha1-3Pgt7lRfRgdNryAMfBxaCOD0D2o=", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", "dev": true, "requires": { "immediate": "~3.0.5" @@ -6124,7 +6544,7 @@ "liftoff": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz", - "integrity": "sha1-ybpggfkIZwYH7nkGLXAN8GLFLtM=", + "integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==", "dev": true, "requires": { "extend": "^3.0.0", @@ -6161,13 +6581,13 @@ "loader-runner": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha1-7UcGa/5TTX6ExMe5mYwqdWB9k1c=", + "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", "dev": true }, "loader-utils": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz", - "integrity": "sha1-H/XcaRHJ8KBiUxpMBLYJQGEIwsc=", + "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -6186,9 +6606,9 @@ } }, "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", "dev": true }, "lodash.unescape": { @@ -6250,7 +6670,7 @@ "lru-cache": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80=", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", "dev": true, "requires": { "pseudomap": "^1.0.2", @@ -6260,7 +6680,7 @@ "make-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha1-XwMQ4YuL6JjMBwCSlaMK5B6R5vU=", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "requires": { "pify": "^4.0.1", @@ -6278,7 +6698,7 @@ "make-iterator": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", - "integrity": "sha1-KbM/MSqo9UfEpeSQ9Wr87JkTOtY=", + "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", "dev": true, "requires": { "kind-of": "^6.0.2" @@ -6287,13 +6707,13 @@ "mamacro": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz", - "integrity": "sha1-rSyVdhl8nxq/MI0Hh4Zb2XWj8+Q=", + "integrity": "sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA==", "dev": true }, "map-age-cleaner": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha1-fVg6cwZDTAVf5HSw9FB45uG0uSo=", + "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", "dev": true, "requires": { "p-defer": "^1.0.0" @@ -6382,7 +6802,7 @@ "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha1-tdB7jjIW4+J81yjXL3DR5qNCAF8=", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", "dev": true, "requires": { "hash-base": "^3.0.0", @@ -6445,19 +6865,19 @@ "merge2": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.3.tgz", - "integrity": "sha1-fumdvWm7ZIFoklPwGEiKG5ArDtU=", + "integrity": "sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA==", "dev": true }, "microevent.ts": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/microevent.ts/-/microevent.ts-0.1.1.tgz", - "integrity": "sha1-cLCbg/Q99RctAgWmMCW84Pc1f6A=", + "integrity": "sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g==", "dev": true }, "micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha1-cIWbyVyYQJUvNZoGij/En57PrCM=", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -6478,7 +6898,7 @@ "miller-rabin": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha1-8IA1HIZbDcViqEYpZtqlNUPHik0=", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "dev": true, "requires": { "bn.js": "^4.0.0", @@ -6494,13 +6914,13 @@ "mime-db": { "version": "1.40.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", - "integrity": "sha1-plBX6ZjbCQ9zKmj2wnbTh9QSbDI=", + "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==", "dev": true }, "mime-types": { "version": "2.1.24", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", - "integrity": "sha1-tvjQs+lR77d97eyhlM/20W9nb4E=", + "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", "dev": true, "requires": { "mime-db": "1.40.0" @@ -6509,13 +6929,13 @@ "mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha1-ggyGo5M0ZA6ZUWkovQP8qIBX0CI=", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", "dev": true }, "minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha1-LhlN4ERibUoQ5/f7wAznPoPk1cc=", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", "dev": true }, "minimalistic-crypto-utils": { @@ -6527,7 +6947,7 @@ "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -6542,7 +6962,7 @@ "minimist-options": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha1-+6TIGRM54T7PTWG+sD8HAQPz2VQ=", + "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", "dev": true, "requires": { "arrify": "^1.0.1", @@ -6552,7 +6972,7 @@ "mississippi": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", - "integrity": "sha1-6goykfl+C16HdrNj1fChLZTGcCI=", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", "dev": true, "requires": { "concat-stream": "^1.5.0", @@ -6570,7 +6990,7 @@ "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -6582,7 +7002,7 @@ "mixin-deep": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", - "integrity": "sha1-pJ5yaNzhoNlpjkUybFYm3zVD0P4=", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", "dev": true, "requires": { "for-in": "^1.0.2", @@ -6592,7 +7012,7 @@ "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { "is-plain-object": "^2.0.4" @@ -6617,12 +7037,6 @@ } } }, - "moment": { - "version": "2.17.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.17.1.tgz", - "integrity": "sha1-/tlQYGPzaxDwZsi1mhRNf66+HYI=", - "dev": true - }, "move-concurrently": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", @@ -6646,7 +7060,7 @@ "mute-stdout": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.1.tgz", - "integrity": "sha1-rLAwDrTeI6fd7sAU4+lgRLNHIzE=", + "integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg==", "dev": true }, "mute-stream": { @@ -6655,10 +7069,17 @@ "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, + "nan": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", + "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", + "dev": true, + "optional": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha1-uHqKpPwN6P5r6IiVs4mD/yZb0Rk=", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -6701,13 +7122,13 @@ "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha1-ozeKdpbOfSI+iPybdkvX7xCJ42Y=", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, "no-case": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha1-YLgTOWvjmz8SiKTB7V0efSi0ZKw=", + "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", "dev": true, "requires": { "lower-case": "^1.1.1" @@ -6782,7 +7203,7 @@ "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "requires": { "hosted-git-info": "^2.1.4", @@ -6812,7 +7233,7 @@ "now-and-later": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/now-and-later/-/now-and-later-2.0.1.tgz", - "integrity": "sha1-jlechoV2SnzALLaAOA6U9DzLH3w=", + "integrity": "sha512-KGvQ0cB70AQfg107Xvs/Fbu+dGmZoTRJp2TaPwcwQm3/7PteUyN2BCgk8KBMPGBUXZdVwyWS8fDCGFygBm19UQ==", "dev": true, "requires": { "once": "^1.3.2" @@ -6830,7 +7251,7 @@ "nth-check": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", - "integrity": "sha1-sr0pXDfj3VijvwcAN2Zjuk2c8Fw=", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", "dev": true, "requires": { "boolbase": "~1.0.0" @@ -6857,7 +7278,7 @@ "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", "dev": true }, "object-assign": { @@ -6906,7 +7327,7 @@ "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true }, "object-visit": { @@ -6921,7 +7342,7 @@ "object.assign": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha1-lovxEA15Vrs8oIbwBvhGs7xACNo=", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "dev": true, "requires": { "define-properties": "^1.1.2", @@ -7103,7 +7524,7 @@ "p-is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", - "integrity": "sha1-kYzrrqJIpiz3/6uOO8qMX4gvxC4=", + "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", "dev": true }, "p-limit": { @@ -7127,7 +7548,7 @@ "p-map": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha1-MQko/u+cnsxltosXaTAYpmXOoXU=", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", "dev": true }, "p-try": { @@ -7139,7 +7560,7 @@ "pako": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz", - "integrity": "sha1-Qyi621CGpCaqkPVBl31JVdpclzI=", + "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==", "dev": true }, "parallel-transform": { @@ -7165,7 +7586,7 @@ "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI=", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, "requires": { "callsites": "^3.0.0" @@ -7174,7 +7595,7 @@ "parse-asn1": { "version": "5.1.4", "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz", - "integrity": "sha1-N/Zij4I/vesic7TVQENKIvPvH8w=", + "integrity": "sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==", "dev": true, "requires": { "asn1.js": "^4.0.0", @@ -7222,7 +7643,7 @@ "parse-node-version": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", - "integrity": "sha1-4rXb7eAOf6m8NjYH9TMn6LBzGJs=", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true }, "parse-passwd": { @@ -7252,7 +7673,7 @@ "parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ=", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "dev": true }, "pascalcase": { @@ -7300,7 +7721,7 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, "path-root": { @@ -7349,7 +7770,7 @@ "pbkdf2": { "version": "3.0.17", "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", - "integrity": "sha1-l2wgZTBhexTrsyEUI597CTNuk6Y=", + "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", "dev": true, "requires": { "create-hash": "^1.1.2", @@ -7395,7 +7816,7 @@ "pkg-dir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha1-J0kCDyOe2ZCIGx9xIQ1R62UjvqM=", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", "dev": true, "requires": { "find-up": "^3.0.0" @@ -7438,7 +7859,7 @@ "postcss-html": { "version": "0.36.0", "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-0.36.0.tgz", - "integrity": "sha1-tAkT+U6qzCRT/TChMnrW7h+IsgQ=", + "integrity": "sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==", "dev": true, "requires": { "htmlparser2": "^3.10.0" @@ -7456,7 +7877,7 @@ "postcss-less": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-3.1.4.tgz", - "integrity": "sha1-Np9YZCtZKO+Jj/vBpuk8lYMExa0=", + "integrity": "sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==", "dev": true, "requires": { "postcss": "^7.0.14" @@ -7465,7 +7886,7 @@ "postcss-markdown": { "version": "0.36.0", "resolved": "https://registry.npmjs.org/postcss-markdown/-/postcss-markdown-0.36.0.tgz", - "integrity": "sha1-fyKEmuDj2xiCC3sNXngz8TpEdWA=", + "integrity": "sha512-rl7fs1r/LNSB2bWRhyZ+lM/0bwKv9fhl38/06gF6mKMo/NPnp55+K1dSTosSVjFZc0e1ppBlu+WT91ba0PMBfQ==", "dev": true, "requires": { "remark": "^10.0.1", @@ -7481,21 +7902,13 @@ "postcss-reporter": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-6.0.1.tgz", - "integrity": "sha1-fAVRIAYKl8iDe05IIVZhqvt0JF8=", + "integrity": "sha512-LpmQjfRWyabc+fRygxZjpRxfhRf9u/fdlKf4VHG4TSPbV2XNsuISzYW1KL+1aQzx53CAppa1bKG4APIB/DOXXw==", "dev": true, "requires": { "chalk": "^2.4.1", "lodash": "^4.17.11", "log-symbols": "^2.2.0", "postcss": "^7.0.7" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "postcss-resolve-nested-selector": { @@ -7507,7 +7920,7 @@ "postcss-safe-parser": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.1.tgz", - "integrity": "sha1-h1bZ5MNv3OLHKwkbvIyhdqsfzeo=", + "integrity": "sha512-xZsFA3uX8MO3yAda03QrG3/Eg1LN3EPfjjf07vke/46HERLZyHrTsQ9E1r1w1W//fWEhtYNndo2hQplN2cVpCQ==", "dev": true, "requires": { "postcss": "^7.0.0" @@ -7516,7 +7929,7 @@ "postcss-sass": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.3.5.tgz", - "integrity": "sha1-bT458QGlPS76CR+VNJMRbTK+tow=", + "integrity": "sha512-B5z2Kob4xBxFjcufFnhQ2HqJQ2y/Zs/ic5EZbCywCkxKd756Q40cIQ/veRDwSrw1BF6+4wUgmpm0sBASqVi65A==", "dev": true, "requires": { "gonzales-pe": "^4.2.3", @@ -7526,7 +7939,7 @@ "postcss-scss": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-2.0.0.tgz", - "integrity": "sha1-JIsKKK936nsysQEaug9zi9on3qE=", + "integrity": "sha512-um9zdGKaDZirMm+kZFKKVsnKPF7zF7qBAtIfTSnZXD1jZ0JNZIxdB6TxQOjCnlSzLRInVl2v3YdBh/M881C4ug==", "dev": true, "requires": { "postcss": "^7.0.0" @@ -7546,13 +7959,13 @@ "postcss-syntax": { "version": "0.36.2", "resolved": "https://registry.npmjs.org/postcss-syntax/-/postcss-syntax-0.36.2.tgz", - "integrity": "sha1-8IV4x9lYNFdOVZOoLfv6ivrjtRw=", + "integrity": "sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==", "dev": true }, "postcss-value-parser": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha1-n/giVH4okyE88cMO+lGsX9G6goE=", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", "dev": true }, "prelude-ls": { @@ -7592,13 +8005,13 @@ "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha1-foz42PW48jnBvGi+tOt4Vn1XLvg=", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, "promise": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/promise/-/promise-8.0.3.tgz", - "integrity": "sha1-9ZLgmcbN3AANU47nKDuxkEUrC/Y=", + "integrity": "sha512-HeRDUL1RJiLhyA0/grn+PTShlBAcLuh/1BJGtrvjwbvRDCTLLMEz9rOGCV+R3vHY4MixIuoMEd9Yq/XvsTPcjw==", "dev": true, "requires": { "asap": "~2.0.6" @@ -7613,7 +8026,7 @@ "protractor": { "version": "5.4.2", "resolved": "https://registry.npmjs.org/protractor/-/protractor-5.4.2.tgz", - "integrity": "sha1-Mp7+N/SLIUGrlGd5m+LU0S60jBM=", + "integrity": "sha512-zlIj64Cr6IOWP7RwxVeD8O4UskLYPoyIcg0HboWJL9T79F1F0VWtKkGTr/9GN6BKL+/Q/GmM7C9kFVCfDbP5sA==", "dev": true, "requires": { "@types/q": "^0.0.32", @@ -7642,7 +8055,7 @@ "@types/selenium-webdriver": { "version": "3.0.16", "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-3.0.16.tgz", - "integrity": "sha1-UKR1X44z7azZxAZynpuTDSRRkCo=", + "integrity": "sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA==", "dev": true }, "ansi-regex": { @@ -7713,7 +8126,7 @@ "ps-tree": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.1.tgz", - "integrity": "sha1-XxujVFW4wl7rcY0Ew33hVV2W09s=", + "integrity": "sha512-kef7fYYSKVqQffmzTMsVcUD1ObNJMp8sNSmHGlGKsZQyL/ht9MZKk86u0Rd1NhpTOAuhqwKCLLpktwkqz+MF8A==", "dev": true, "requires": { "event-stream": "=3.3.4" @@ -7734,7 +8147,7 @@ "public-encrypt": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha1-T8ydd6B+SLp1J+fL4N4z0HATMeA=", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", "dev": true, "requires": { "bn.js": "^4.1.0", @@ -7748,7 +8161,7 @@ "pump": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha1-Ejma3W5M91Jtlzy8i1zi4pCLOQk=", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -7758,7 +8171,7 @@ "pumpify": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", - "integrity": "sha1-NlE74karJ1cLGjdKXOJ4v9dDcM4=", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", "dev": true, "requires": { "duplexify": "^3.6.0", @@ -7769,7 +8182,7 @@ "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, "q": { @@ -7781,13 +8194,13 @@ "qjobs": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", - "integrity": "sha1-xF6cYYAL0IfviNfiVkI73Unl0HE=", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", "dev": true }, "qs": { "version": "6.7.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha1-QdwaAV49WB8WIXdr4xr7KHapsbw=", + "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", "dev": true }, "querystring": { @@ -7811,7 +8224,7 @@ "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha1-32+ENy8CcNxlzfYpE0mrekc9Tyo=", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "requires": { "safe-buffer": "^5.1.0" @@ -7820,7 +8233,7 @@ "randomfill": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha1-ySGW/IarQr6YPxvzF3giSTHWFFg=", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "dev": true, "requires": { "randombytes": "^2.0.5", @@ -7836,7 +8249,7 @@ "raw-body": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha1-oc5vucm8NWylLoklarWQWeE9AzI=", + "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", "dev": true, "requires": { "bytes": "3.1.0", @@ -7905,7 +8318,7 @@ "readdirp": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha1-DodiKjMlqjPokihcr4tOhGUppSU=", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "dev": true, "requires": { "graceful-fs": "^4.1.11", @@ -7932,16 +8345,10 @@ "strip-indent": "^1.0.1" } }, - "reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", - "dev": true - }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha1-H07OJ+ALC2XgJHpoEOaoXYOldSw=", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "dev": true, "requires": { "extend-shallow": "^3.0.2", @@ -7951,7 +8358,7 @@ "regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", - "integrity": "sha1-jRnTHPYySCtYkEn4KB+T28uk0H8=", + "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", "dev": true }, "relateurl": { @@ -7963,7 +8370,7 @@ "remark": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/remark/-/remark-10.0.1.tgz", - "integrity": "sha1-MFgHbcQXgb9QXYl4wpFIX+R2Z98=", + "integrity": "sha512-E6lMuoLIy2TyiokHprMjcWNJ5UxfGQjaMSMhV+f4idM625UjjK4j798+gPs5mfjzDE6vL0oFKVeZM6gZVSVrzQ==", "dev": true, "requires": { "remark-parse": "^6.0.0", @@ -7974,7 +8381,7 @@ "remark-parse": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-6.0.3.tgz", - "integrity": "sha1-yZExBSgJ2kghCEE/h7Duf1IYCjo=", + "integrity": "sha512-QbDXWN4HfKTUC0hHa4teU463KclLAnwpn/FBn87j9cKYJWWawbiLgMfP2Q4XwhxxuuuOxHlw+pSN0OKuJwyVvg==", "dev": true, "requires": { "collapse-white-space": "^1.0.2", @@ -7997,7 +8404,7 @@ "remark-stringify": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-6.0.4.tgz", - "integrity": "sha1-FqwinU0VkySQGGY8e93yiq/E4Ig=", + "integrity": "sha512-eRWGdEPMVudijE/psbIDNcnJLRVx3xhfuEsTDGgH4GsFF91dVhw5nhmnBppafJ7+NWINW6C7ZwWbi30ImJzqWg==", "dev": true, "requires": { "ccount": "^1.0.0", @@ -8019,7 +8426,7 @@ "remove-bom-buffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz", - "integrity": "sha1-wr8eN3Ug0yT2I4kuM8EMrCwlK1M=", + "integrity": "sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==", "dev": true, "requires": { "is-buffer": "^1.1.5", @@ -8046,7 +8453,7 @@ "renderkid": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.3.tgz", - "integrity": "sha1-OAF5wv9a4TZcUivy/Pz/AcW3QUk=", + "integrity": "sha512-z8CLQp7EZBPCwCnncgf9C4XAi3WR0dv+uWu/PjIyhhAb5d6IJ/QZqlHFprHeKT+59//V6BNUsLbvN8+2LarxGA==", "dev": true, "requires": { "css-select": "^1.1.0", @@ -8076,7 +8483,7 @@ "repeat-element": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha1-eC4NglwMWjuzlzH4Tv7mt0Lmsc4=", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", "dev": true }, "repeat-string": { @@ -8114,7 +8521,7 @@ "request": { "version": "2.88.0", "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha1-nC/KT301tZLv5Xx/ClXoEFIST+8=", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", "dev": true, "requires": { "aws-sign2": "~0.7.0", @@ -8142,7 +8549,7 @@ "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true } } @@ -8204,7 +8611,7 @@ "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha1-SrzYUq0y3Xuqv+m0DgCjbbXzkuY=", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, "resolve-options": { @@ -8235,7 +8642,7 @@ "ret": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w=", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", "dev": true }, "rfdc": { @@ -8256,7 +8663,7 @@ "ripemd160": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha1-ocGm9iR1FXe6XQeRTLyShQWFiQw=", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", "dev": true, "requires": { "hash-base": "^3.0.0", @@ -8293,7 +8700,7 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, "safe-regex": { @@ -8308,7 +8715,7 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, "samsam": { @@ -8320,7 +8727,7 @@ "saucelabs": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.5.0.tgz", - "integrity": "sha1-lAWnPDYNRJsjKDmRmobDltN5/Z0=", + "integrity": "sha512-jlX3FGdWvYf4Q3LFfFWS1QvPg3IGCGWxIc8QBFdPTbpTJnt/v17FHXYVAn7C8sHf1yUXo2c7yIM0isDryfYtHQ==", "dev": true, "requires": { "https-proxy-agent": "^2.2.1" @@ -8329,13 +8736,13 @@ "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true }, "schema-utils": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha1-C3mpMgTXtgDUsoUNH2bCo0lRx3A=", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", "dev": true, "requires": { "ajv": "^6.1.0", @@ -8346,7 +8753,7 @@ "selenium-webdriver": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-3.6.0.tgz", - "integrity": "sha1-K6h6FmLAILiYjJga5iyyoBKY6vw=", + "integrity": "sha512-WH7Aldse+2P5bbFBO4Gle/nuQOdVwpHMTL6raL3uuBj/vPG07k6uzt3aiahu352ONBr5xXh0hDlM3LhtXPOC4Q==", "dev": true, "requires": { "jszip": "^3.1.3", @@ -8384,7 +8791,7 @@ "serialize-javascript": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.7.0.tgz", - "integrity": "sha1-1uDfsqODKoyURo5usduX5VoZKmU=", + "integrity": "sha512-ke8UG8ulpFOxO8f8gRYabHQe/ZntKlcig2Mp+8+URDP1D8vJZ0KUt7LYo07q25Z/+JVSgpr/cui9PIp5H6/+nA==", "dev": true }, "set-blocking": { @@ -8402,7 +8809,7 @@ "set-value": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", - "integrity": "sha1-ca5KiPD+77v1LR6mBPP7MV67YnQ=", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", "dev": true, "requires": { "extend-shallow": "^2.0.1", @@ -8431,13 +8838,13 @@ "setprototypeof": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha1-fpWsskqpL1iF4KvvW6ExMw1K5oM=", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==", "dev": true }, "sha.js": { "version": "2.4.11", "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha1-N6XPC4HsvGlD3hCbopYNGyZYSuc=", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "dev": true, "requires": { "inherits": "^2.0.1", @@ -8486,7 +8893,7 @@ "slice-ansi": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha1-ys12k0YaY3pXiNkqfdT7oGjoFjY=", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", "dev": true, "requires": { "ansi-styles": "^3.2.0", @@ -8497,7 +8904,7 @@ "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha1-ZJIufFZbDhQgS6GqfWlkJ40lGC0=", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "dev": true, "requires": { "base": "^0.11.1", @@ -8513,7 +8920,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -8548,7 +8955,7 @@ "snapdragon-node": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha1-bBdfhv8UvbByRWPo88GwIaKGhTs=", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", "dev": true, "requires": { "define-property": "^1.0.0", @@ -8568,7 +8975,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -8577,7 +8984,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -8586,7 +8993,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -8599,7 +9006,7 @@ "snapdragon-util": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha1-+VZHlIbyrNeXAGk/b3uAXkWrVuI=", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "dev": true, "requires": { "kind-of": "^3.2.0" @@ -8619,7 +9026,7 @@ "socket.io": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-2.1.1.tgz", - "integrity": "sha1-oGnF/qvuPmshSnW0DOBlLhz7mYA=", + "integrity": "sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==", "dev": true, "requires": { "debug": "~3.1.0", @@ -8633,7 +9040,7 @@ "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "dev": true, "requires": { "ms": "2.0.0" @@ -8656,7 +9063,7 @@ "socket.io-client": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.1.1.tgz", - "integrity": "sha1-3LOBA0NqtFeN2wJmOK4vIbYjZx8=", + "integrity": "sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==", "dev": true, "requires": { "backo2": "1.0.2", @@ -8684,7 +9091,7 @@ "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "dev": true, "requires": { "ms": "2.0.0" @@ -8701,7 +9108,7 @@ "socket.io-parser": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz", - "integrity": "sha1-58Yii2qh+BTmFIrqMltRqpSZ4Hc=", + "integrity": "sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==", "dev": true, "requires": { "component-emitter": "1.2.1", @@ -8718,7 +9125,7 @@ "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "dev": true, "requires": { "ms": "2.0.0" @@ -8741,7 +9148,7 @@ "source-list-map": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha1-OZO9hzv8SEecyp6jpUeDXHwVSzQ=", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", "dev": true }, "source-map": { @@ -8753,7 +9160,7 @@ "source-map-resolve": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", - "integrity": "sha1-cuLMNAlVQ+Q7LGKyxMENSpBU8lk=", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "dev": true, "requires": { "atob": "^2.1.1", @@ -8766,7 +9173,7 @@ "source-map-support": { "version": "0.4.18", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha1-Aoam3ovkJkEzhZTpfM6nXwosWF8=", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", "dev": true, "requires": { "source-map": "^0.5.6" @@ -8781,13 +9188,13 @@ "sparkles": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz", - "integrity": "sha1-AI22XtzmxQ7sDF4ijhlFBh3QQ3w=", + "integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==", "dev": true }, "spdx-correct": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha1-+4PlBERSaPFUsHTiGMh8ADzTHfQ=", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -8797,13 +9204,13 @@ "spdx-exceptions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", - "integrity": "sha1-LqRQrudPKom/uUUZwH/Nb0EyKXc=", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", "dev": true }, "spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha1-meEZt6XaAOBUkcn6M4t5BII7QdA=", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "dev": true, "requires": { "spdx-exceptions": "^2.1.0", @@ -8813,13 +9220,13 @@ "spdx-license-ids": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz", - "integrity": "sha1-dezRqI3owYTvAV6vtRtbSL/RG7E=", + "integrity": "sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==", "dev": true }, "specificity": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.4.1.tgz", - "integrity": "sha1-qrXmRQEtsIuhguFRFlc40AiHsBk=", + "integrity": "sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==", "dev": true }, "split": { @@ -8840,7 +9247,7 @@ "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "dev": true, "requires": { "extend-shallow": "^3.0.0" @@ -8855,7 +9262,7 @@ "sshpk": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", "dev": true, "requires": { "asn1": "~0.2.3", @@ -8872,7 +9279,7 @@ "ssri": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha1-KjxBso3UW2K2Nnbst0ABJlrp7dg=", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", "dev": true, "requires": { "figgy-pudding": "^3.5.1" @@ -8920,7 +9327,7 @@ "stream-browserify": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha1-h1IdOKRKp+6RzhzSpH3wy0ndZgs=", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", "dev": true, "requires": { "inherits": "~2.0.1", @@ -8939,7 +9346,7 @@ "stream-each": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", - "integrity": "sha1-6+J6DDibBPvMIzZClS4Qcxr6m64=", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -8949,13 +9356,13 @@ "stream-exhaust": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/stream-exhaust/-/stream-exhaust-1.0.2.tgz", - "integrity": "sha1-rNrI2lnvK8HheiwMz2wyDRIOVV0=", + "integrity": "sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==", "dev": true }, "stream-http": { "version": "2.8.3", "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha1-stJCRpKIpaJ+xP6JM6z2I95lFPw=", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "dev": true, "requires": { "builtin-status-codes": "^3.0.0", @@ -8987,24 +9394,18 @@ "debug": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha1-6D0X3hbYp++3cX7b5fsQE17uYps=", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "dev": true, "requires": { "ms": "^2.1.1" } - }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true } } }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha1-q5Pyeo3BPSjKyBXEYhQ6bZASrp4=", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { "is-fullwidth-code-point": "^2.0.0", @@ -9023,7 +9424,7 @@ "stringify-entities": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.2.tgz", - "integrity": "sha1-qYQX5Ucf0iez5F09sYYcEcr2aPc=", + "integrity": "sha512-nrBAQClJAPN2p+uGCVJRPIPakKeKWZ9GtBCmormE7pWOSlHat7+x5A8gx85M7HM5Dt0BP3pP5RhVW77WdbJJ3A==", "dev": true, "requires": { "character-entities-html4": "^1.0.0", @@ -9292,12 +9693,6 @@ "path-exists": "^3.0.0" } }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - }, "map-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", @@ -9480,13 +9875,13 @@ "stylelint-config-recommended": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-2.2.0.tgz", - "integrity": "sha1-RqsTnbSg5xUf1flK8VVRKIbJbT8=", + "integrity": "sha512-bZ+d4RiNEfmoR74KZtCKmsABdBJr4iXRiCso+6LtMJPw5rd/KnxUWTxht7TbafrTJK1YRjNgnN0iVZaJfc3xJA==", "dev": true }, "stylelint-config-standard": { "version": "18.3.0", "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-18.3.0.tgz", - "integrity": "sha1-oqG3iNLPh2wBP+r/iuJ2EXob76c=", + "integrity": "sha512-Tdc/TFeddjjy64LvjPau9SsfVRexmTFqUhnMBrzz07J4p2dVQtmpncRF/o8yZn8ugA3Ut43E6o1GtjX80TFytw==", "dev": true, "requires": { "stylelint-config-recommended": "^2.2.0" @@ -9495,7 +9890,7 @@ "sugarss": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-2.0.0.tgz", - "integrity": "sha1-3dduASSyl9QL88yjHIsi7LQ7xh0=", + "integrity": "sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==", "dev": true, "requires": { "postcss": "^7.0.2" @@ -9504,7 +9899,7 @@ "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" @@ -9544,12 +9939,6 @@ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - }, "string-width": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", @@ -9575,7 +9964,7 @@ "tapable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha1-ofzMBrWNth/XpF2i2kT186Pme6I=", + "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", "dev": true }, "temp-fs": { @@ -9656,7 +10045,7 @@ "thread-loader": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/thread-loader/-/thread-loader-2.1.2.tgz", - "integrity": "sha1-9YXdOOhSx/nN7V0JKZIQgUj16zA=", + "integrity": "sha512-7xpuc9Ifg6WU+QYw/8uUqNdRwMD+N5gjwHKMqETrs96Qn+7BHwECpt2Brzr4HFlf4IAkZsayNhmGdbkBsTJ//w==", "dev": true, "requires": { "loader-runner": "^2.3.1", @@ -9673,7 +10062,7 @@ "through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha1-AcHjnrMdB8t9A6lqcIIyYLIxMs0=", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, "requires": { "readable-stream": "~2.3.6", @@ -9683,7 +10072,7 @@ "through2-filter": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz", - "integrity": "sha1-cA54bfI2fCyIzYqlvkz5weeDElQ=", + "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==", "dev": true, "requires": { "through2": "~2.0.0", @@ -9699,7 +10088,7 @@ "timers-browserify": { "version": "2.0.10", "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", - "integrity": "sha1-HSjj0qrfHVpZlsTp+VYBzQU0gK4=", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", "dev": true, "requires": { "setimmediate": "^1.0.4" @@ -9708,7 +10097,7 @@ "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha1-bTQzWIl2jSGyvNoKonfO07G/rfk=", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, "requires": { "os-tmpdir": "~1.0.2" @@ -9765,7 +10154,7 @@ "to-regex": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha1-E8/dmzNlUvMLUfM6iuG0Knp1mc4=", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", "dev": true, "requires": { "define-property": "^2.0.2", @@ -9796,13 +10185,13 @@ "toidentifier": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha1-fhvjRw8ed5SLxD2Uo8j013UrpVM=", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", "dev": true }, "tough-cookie": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha1-U/Nto/R3g7CSWvoG/587FlKA94E=", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", "dev": true, "requires": { "psl": "^1.1.24", @@ -9850,7 +10239,7 @@ "ts-loader": { "version": "5.4.5", "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-5.4.5.tgz", - "integrity": "sha1-oMHwNLAXqTRM7wlhv9l8wZJJK4s=", + "integrity": "sha512-XYsjfnRQCBum9AMRZpk2rTYSVpdZBpZK+kDh0TeT3kxmQNBDVIeUjdPjY5RZry4eIAb8XHc4gYSUiUWPYvzSRw==", "dev": true, "requires": { "chalk": "^2.3.0", @@ -9945,7 +10334,7 @@ "ultron": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", - "integrity": "sha1-n+FTahCmZKZSZqHjzPhf02MCvJw=", + "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", "dev": true }, "unc-path-regex": { @@ -9993,7 +10382,7 @@ "undertaker": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/undertaker/-/undertaker-1.2.1.tgz", - "integrity": "sha1-cBZi/4zjWHFTJN/UkqTwNgVd/ks=", + "integrity": "sha512-71WxIzDkgYk9ZS+spIB8iZXchFhAdEo2YU8xYqBYJ39DIUIqziK78ftm26eecoIY49X0J2MLhG4hr18Yp6/CMA==", "dev": true, "requires": { "arr-flatten": "^1.0.1", @@ -10026,7 +10415,7 @@ "unified": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/unified/-/unified-7.1.0.tgz", - "integrity": "sha1-UDLxwe4zZL0J2hLif91KdVPHvhM=", + "integrity": "sha512-lbk82UOIGuCEsZhPj8rNAkXSDXd6p0QLzIuSsCdxrqnqU56St4eyOB+AlXsVgVeRmetPTYydIuvFfpDIed8mqw==", "dev": true, "requires": { "@types/unist": "^2.0.0", @@ -10083,7 +10472,7 @@ "unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha1-HWl2k2mtoFgxA6HmrodoG1ZXMjA=", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", "dev": true, "requires": { "unique-slug": "^2.0.0" @@ -10101,7 +10490,7 @@ "unique-stream": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz", - "integrity": "sha1-xl0RDppK35psWUiygFPZqNBMvqw=", + "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==", "dev": true, "requires": { "json-stable-stringify-without-jsonify": "^1.0.1", @@ -10135,7 +10524,7 @@ "unist-util-stringify-position": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz", - "integrity": "sha1-Pzf881EnncvKdICrWIm7ioMu4cY=", + "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==", "dev": true }, "unist-util-visit": { @@ -10159,7 +10548,7 @@ "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY=", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true }, "unpipe": { @@ -10211,7 +10600,7 @@ "upath": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz", - "integrity": "sha1-PbZYYA7a7sy+bbXmhNZ+6MKs0Gg=", + "integrity": "sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==", "dev": true }, "upper-case": { @@ -10223,7 +10612,7 @@ "uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha1-lMVA4f93KVbiKZUHwBCupsiDjrA=", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, "requires": { "punycode": "^2.1.0" @@ -10256,13 +10645,13 @@ "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha1-1QyMrHmhn7wg8pEfVuuXP04QBw8=", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, "useragent": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", - "integrity": "sha1-IX+UOtVAyyEoZYqyP8lg9qiMmXI=", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", "dev": true, "requires": { "lru-cache": "4.1.x", @@ -10291,7 +10680,7 @@ "util.promisify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha1-RA9xZaRZyaFtwUXrjnLzVocJcDA=", + "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", "dev": true, "requires": { "define-properties": "^1.1.2", @@ -10313,13 +10702,13 @@ "uuid": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha1-G0r0lV6zB3xQHCOHL8ZROBFYcTE=", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", "dev": true }, "v8-compile-cache": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz", - "integrity": "sha1-APdJTSritojP4omd9u0sVL75Hb4=", + "integrity": "sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w==", "dev": true }, "v8flags": { @@ -10334,7 +10723,7 @@ "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha1-/JH2uce6FchX9MssXe/uw51PQQo=", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "requires": { "spdx-correct": "^3.0.0", @@ -10361,7 +10750,7 @@ "vfile": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-3.0.1.tgz", - "integrity": "sha1-RzMdKr4ygkJPSku2rNIKRMQSGAM=", + "integrity": "sha512-y7Y3gH9BsUSdD4KzHsuMaCzRjglXN0W2EcMf0gpvu6+SbsGhMje7xDc8AEoeXy6mIwCKMI6BkjMsRjzQbhMEjQ==", "dev": true, "requires": { "is-buffer": "^2.0.0", @@ -10373,7 +10762,7 @@ "is-buffer": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", - "integrity": "sha1-Ts8/z3ScvR5HJonhCaxmJhol5yU=", + "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", "dev": true } } @@ -10387,7 +10776,7 @@ "vfile-message": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-1.1.1.tgz", - "integrity": "sha1-WDOuB4od+i2W6WR4hs0ymTqzE+E=", + "integrity": "sha512-1WmsopSGhWt5laNir+633LszXvZ+Z/lxveBf6yhGsqnQIhlhzooZae7zV6YVM1Sdkw68dtAW3ow0pOdPANugvA==", "dev": true, "requires": { "unist-util-stringify-position": "^1.1.1" @@ -10396,7 +10785,7 @@ "vinyl": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.0.tgz", - "integrity": "sha1-2FsH2pbkWNJbL/4Z/s6fLKoT7YY=", + "integrity": "sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==", "dev": true, "requires": { "clone": "^2.1.1", @@ -10410,7 +10799,7 @@ "vinyl-fs": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-3.0.3.tgz", - "integrity": "sha1-yFhJQF9nQo/qu71cXb3WT0fTG8c=", + "integrity": "sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==", "dev": true, "requires": { "fs-mkdirp-stream": "^1.0.0", @@ -10476,7 +10865,7 @@ "watchpack": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", - "integrity": "sha1-S8EsLr6KonenHx0/FNaFx7RGzQA=", + "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", "dev": true, "requires": { "chokidar": "^2.0.2", @@ -10487,7 +10876,7 @@ "webdriver-js-extender": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz", - "integrity": "sha1-V9epPADbTMjVVuTT20tdsKgMO7c=", + "integrity": "sha512-lcUKrjbBfCK6MNsh7xaY2UAUmZwe+/ib03AjVOpFobX4O7+83BUveSrLfU0Qsyb1DaKJdQRbuU+kM9aZ6QUhiQ==", "dev": true, "requires": { "@types/selenium-webdriver": "^3.0.0", @@ -10497,7 +10886,7 @@ "@types/selenium-webdriver": { "version": "3.0.16", "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-3.0.16.tgz", - "integrity": "sha1-UKR1X44z7azZxAZynpuTDSRRkCo=", + "integrity": "sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA==", "dev": true } } @@ -10829,7 +11218,7 @@ "webpack-dev-middleware": { "version": "3.7.0", "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.0.tgz", - "integrity": "sha1-73UdJfTppcijXaYAxf2jWCtcbP8=", + "integrity": "sha512-qvDesR1QZRIAZHOE3iQ4CXLZZSQ1lAUsSpnQmlB1PBfoN/xdRjmge3Dok0W4IdaVLJOGJy3sGI4sZHwjRU0PCA==", "dev": true, "requires": { "memory-fs": "^0.4.1", @@ -10841,7 +11230,7 @@ "webpack-log": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", - "integrity": "sha1-W3ko4GN1k/EZ0y9iJ8HgrDHhtH8=", + "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", "dev": true, "requires": { "ansi-colors": "^3.0.0", @@ -10851,7 +11240,7 @@ "ansi-colors": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", - "integrity": "sha1-46PaS/uubIapwoViXeEkojQCb78=", + "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==", "dev": true } } @@ -10859,7 +11248,7 @@ "webpack-sources": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", - "integrity": "sha1-KijcufH0X+lg2PFJMlK17mUw+oU=", + "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", "dev": true, "requires": { "source-list-map": "^2.0.0", @@ -10869,7 +11258,7 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } @@ -10877,7 +11266,7 @@ "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha1-pFBD1U9YBTFtqNYvn1CRjT2nCwo=", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -10898,7 +11287,7 @@ "worker-farm": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", - "integrity": "sha1-JqlMU5G7ypJhUgAvabhKS/dy5ag=", + "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", "dev": true, "requires": { "errno": "~0.1.7" @@ -10907,7 +11296,7 @@ "worker-rpc": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/worker-rpc/-/worker-rpc-0.1.1.tgz", - "integrity": "sha1-y1Zb1tcHGo8WZgaGBR6WmtMvVNU=", + "integrity": "sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg==", "dev": true, "requires": { "microevent.ts": "~0.1.1" @@ -10969,7 +11358,7 @@ "write": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", - "integrity": "sha1-CADhRSO5I6OH5BUSPIZWFqrg9cM=", + "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", "dev": true, "requires": { "mkdirp": "^0.5.1" @@ -10978,7 +11367,7 @@ "ws": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", - "integrity": "sha1-8c+E/i1ekB686U767OeF8YeiKPI=", + "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", "dev": true, "requires": { "async-limiter": "~1.0.0", @@ -10995,7 +11384,7 @@ "xml2js": { "version": "0.4.19", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", - "integrity": "sha1-aGwg8hMgnpSr8NG88e+qKRx4J6c=", + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", "dev": true, "requires": { "sax": ">=0.6.0", @@ -11054,13 +11443,13 @@ "ansi-regex": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true }, "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA=", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "cliui": { @@ -11077,7 +11466,7 @@ "execa": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha1-xiNqW7TfbW8V6I5/AXeYIWdJ3dg=", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", "dev": true, "requires": { "cross-spawn": "^6.0.0", @@ -11092,13 +11481,13 @@ "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha1-T5RBKoLbMvNuOwuXQfipf+sDH34=", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, "get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha1-wbJVV189wh1Zv8ec09K0axw6VLU=", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", "dev": true, "requires": { "pump": "^3.0.0" @@ -11107,13 +11496,13 @@ "invert-kv": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", - "integrity": "sha1-c5P1r6Weyf9fZ6J2INEcIm4+7AI=", + "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", "dev": true }, "lcid": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", - "integrity": "sha1-bvXS32DlL4LrIopMNz6NHzlyU88=", + "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", "dev": true, "requires": { "invert-kv": "^2.0.0" @@ -11122,7 +11511,7 @@ "mem": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz", - "integrity": "sha1-Rhr0l7xK4JYIzbLmDu+2m/90QXg=", + "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", "dev": true, "requires": { "map-age-cleaner": "^0.1.1", @@ -11133,13 +11522,13 @@ "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true }, "os-locale": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", - "integrity": "sha1-qAKm7hfyTBBIOrmTVxnO9O0Wvxo=", + "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", "dev": true, "requires": { "execa": "^1.0.0", @@ -11150,7 +11539,7 @@ "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -11160,13 +11549,13 @@ "require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs=", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", "dev": true }, "string-width": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha1-InZ74htirxCBV0MG9prFG2IgOWE=", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "dev": true, "requires": { "emoji-regex": "^7.0.1", @@ -11203,7 +11592,7 @@ "y18n": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha1-le+U+F7MgdAHwmThkKEg8KPIVms=", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", "dev": true }, "yargs-parser": { @@ -11232,12 +11621,6 @@ "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", "dev": true - }, - "zone.js": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.9.1.tgz", - "integrity": "sha512-GkPiJL8jifSrKReKaTZ5jkhrMEgXbXYC+IPo1iquBjayRa0q86w3Dipjn8b415jpitMExe9lV8iTsv8tk3DGag==", - "dev": true } } } diff --git a/package.json b/package.json index 31252c39c7fd..944d00287410 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,6 @@ }, "homepage": "https://github.com/oppia/oppia#readme", "devDependencies": { - "@angular/common": "^8.0.0", - "@angular/compiler": "^8.0.0", - "@angular/core": "^8.0.0", - "@angular/forms": "^8.0.0", - "@angular/platform-browser": "^8.0.0", - "@angular/platform-browser-dynamic": "^8.0.0", - "@angular/router": "^8.0.0", - "@angular/upgrade": "^8.0.0", "@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0", "@types/angular": "^1.6.54", "@types/angular-animate": "^1.5.10", @@ -45,15 +37,11 @@ "@types/select2": "^4.0.48", "@types/selenium-webdriver": "^4.0.0", "@typescript-eslint/parser": "^1.7.0", - "angular": "1.6.6", - "angular-route": "1.6.6", "ajv": "^6.10.0", "babel-eslint": "^10.0.1", - "bootstrap": "3.3.7", "browserstack-local": "^1.3.7", "cache-loader": "^3.0.1", "clean-webpack-plugin": "^2.0.1", - "core-js": "^2.5.3", "dotenv": "^7.0.0", "enhanced-resolve": "^4.1.0", "eslint": "^5.16.0", @@ -67,7 +55,6 @@ "htmllint-cli": "0.0.7", "jasmine-core": "^3.4.0", "jasmine-spec-reporter": "^4.2.1", - "jquery": "^2.2.4", "karma": "^4.1.0", "karma-chrome-launcher": "^2.2.0", "karma-coverage": "^1.1.2", @@ -75,13 +62,9 @@ "karma-json-fixtures-preprocessor": "^0.0.6", "karma-ng-html2js-preprocessor": "^1.0.0", "karma-webpack": "^4.0.0-rc.3", - "lodash": "4.17.4", - "moment": "~2.17.1", "postcss-syntax": "^0.36.2", "protractor": "^5.4.2", "protractor-screenshot-reporter": "0.0.5", - "reflect-metadata": "^0.1.12", - "rxjs": "^6.4.0", "stylelint": "^10.0.1", "stylelint-config-standard": "^18.3.0", "thread-loader": "^2.1.2", @@ -92,8 +75,7 @@ "webdriver-manager": "^12.1.4", "webpack": "^4.30.0", "webpack-cli": "^3.3.1", - "yargs": "^13.2.2", - "zone.js": "^0.9.1" + "yargs": "^13.2.2" }, "keywords": [] } diff --git a/scripts/run_frontend_tests.sh b/scripts/run_frontend_tests.sh index d58bedc46608..3ff538f30ac5 100755 --- a/scripts/run_frontend_tests.sh +++ b/scripts/run_frontend_tests.sh @@ -51,12 +51,6 @@ export DEFAULT_SKIP_INSTALLING_THIRD_PARTY_LIBS=false export DEFAULT_RUN_MINIFIED_TESTS=false maybeInstallDependencies "$@" -# The following command finds all the spec files (except known failing files) -# and merges them all to a single file which Karma uses to run its tests. The -# Karma is unable to run the tests on multiple files and the DI fails in that -# case, the reason of which is unclear. -find . -type f \( -name "*.spec.ts" -o -name "*Spec.ts" \) -exec cat {} \; > ./core/templates/dev/head/combined-tests.spec.ts - echo "" echo " View interactive frontend test coverage reports by navigating to" echo "" @@ -79,7 +73,4 @@ if [ "$RUN_MINIFIED_TESTS" = "true" ]; then $XVFB_PREFIX $NODE_MODULE_DIR/karma/bin/karma start core/tests/karma.conf.ts --prodEnv fi -# The following command removes the file formed by combining the spec files. -rm ./core/templates/dev/head/combined-tests.spec.ts - echo Done! diff --git a/tsconfig.json b/tsconfig.json index 7d68a678af86..c855d1e6a99a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,9 +7,7 @@ "rootDir": ".", "skipLibCheck": true, "target": "es5", - "typeRoots": ["./node_modules/@types"], - "experimentalDecorators": true, - "emitDecoratorMetadata": true + "typeRoots": ["./node_modules/@types"] }, "files_explanation": "These files are included separately since we still do not have webpack in extensions folder and these files are still included through scripts tags, so they need to be compiled separately.", "files": [ @@ -17,6 +15,7 @@ "assets/rich_text_components_definitions.js", "core/tests/karma-globals.ts", "core/tests/karma.conf.ts", + "core/templates/dev/head/AppInit.ts", "core/templates/dev/head/mathjaxConfig.ts", "core/templates/dev/head/expressions/ExpressionParserService.js" ], diff --git a/webpack.config.ts b/webpack.config.ts index a11ad8d2f50c..2cb6892f9a6a 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -33,6 +33,7 @@ module.exports = { entries: { about: commonPrefix + '/pages/about-page/about-page.scripts.ts', admin: commonPrefix + '/pages/admin-page/admin-page.scripts.ts', + app: commonPrefix + '/App.ts', collection_editor: commonPrefix + '/pages/collection-editor-page/' + 'collection-editor-page.scripts.ts', @@ -101,27 +102,28 @@ module.exports = { topics_and_skills_dashboard: ( commonPrefix + '/pages/topics-and-skills-dashboard-page/' + - 'topics-and-skills-dashboard-page.scripts.ts' + 'topics-and-skills-dashboard-page.controller.ts' ), topic_viewer: commonPrefix + '/pages/topic-viewer-page/topic-viewer-page.scripts.ts', }, plugins: [ new HtmlWebpackPlugin({ - chunks: ['admin'], + chunks: ['app', 'admin'], filename: 'admin-page.mainpage.html', template: commonPrefix + '/pages/admin-page/admin-page.mainpage.html', minify: htmlMinifyConfig, inject: false }), new HtmlWebpackPlugin({ + chunks: ['app'], filename: 'base.html', template: 'core/templates/dev/head/pages/base.html', minify: htmlMinifyConfig, inject: false }), new HtmlWebpackPlugin({ - chunks: ['about'], + chunks: ['app', 'about'], filename: 'about-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -158,7 +160,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['contact'], + chunks: ['app', 'contact'], filename: 'contact-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -179,7 +181,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['donate'], + chunks: ['app', 'donate'], filename: 'donate-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -190,7 +192,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['email_dashboard'], + chunks: ['app', 'email_dashboard'], filename: 'email-dashboard-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -204,7 +206,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['email_dashboard_result'], + chunks: ['app', 'email_dashboard_result'], filename: 'email-dashboard-result.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -243,7 +245,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['get_started'], + chunks: ['app', 'get_started'], filename: 'get-started-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -255,7 +257,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['landing'], + chunks: ['app', 'landing'], filename: 'topic-landing-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -269,7 +271,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['learner_dashboard'], + chunks: ['app', 'learner_dashboard'], filename: 'learner-dashboard-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -290,7 +292,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['maintenance'], + chunks: ['app', 'maintenance'], filename: 'maintenance-page.mainpage.html', template: commonPrefix + '/pages/maintenance-page/maintenance-page.mainpage.html', @@ -298,7 +300,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['moderator'], + chunks: ['app', 'moderator'], filename: 'moderator-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -311,7 +313,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['privacy'], + chunks: ['app', 'privacy'], filename: 'privacy-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -323,7 +325,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['notifications_dashboard'], + chunks: ['app', 'notifications_dashboard'], filename: 'notifications-dashboard-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -348,7 +350,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['preferences'], + chunks: ['app', 'preferences'], filename: 'preferences-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -375,7 +377,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['signup'], + chunks: ['app', 'signup'], filename: 'signup-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -395,7 +397,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['splash'], + chunks: ['app', 'splash'], filename: 'splash-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -408,7 +410,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['splash'], + chunks: ['app', 'splash'], filename: 'splash_at0.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -434,7 +436,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['stewards'], + chunks: ['app', 'stewards'], filename: 'stewards-landing-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -467,7 +469,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['teach'], + chunks: ['app', 'teach'], filename: 'teach-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -480,7 +482,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['terms'], + chunks: ['app', 'terms'], filename: 'terms-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -493,7 +495,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['thanks'], + chunks: ['app', 'thanks'], filename: 'thanks-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', @@ -513,7 +515,7 @@ module.exports = { inject: false }), new HtmlWebpackPlugin({ - chunks: ['topics_and_skills_dashboard'], + chunks: ['app', 'topics_and_skills_dashboard'], filename: 'topics-and-skills-dashboard-page.mainpage.html', meta: { name: 'Personalized Online Learning from Oppia', diff --git a/webpack.dev.config.ts b/webpack.dev.config.ts index 43bb46b2491b..4c8fa12dd8d7 100644 --- a/webpack.dev.config.ts +++ b/webpack.dev.config.ts @@ -24,13 +24,8 @@ module.exports = { resolve: { modules: [ path.resolve(__dirname, 'core/templates/dev/head'), - path.resolve(__dirname, 'extensions'), - path.resolve(__dirname, 'node_modules') + path.resolve(__dirname, 'extensions') ], - alias: { - '@angular/upgrade/static': ( - '@angular/upgrade/bundles/upgrade-static.umd.js') - } }, entry: commonWebpackConfig.entries, plugins: commonWebpackConfig.plugins, diff --git a/webpack.prod.config.ts b/webpack.prod.config.ts index 858aaa77943f..d2da138d2d5c 100644 --- a/webpack.prod.config.ts +++ b/webpack.prod.config.ts @@ -24,13 +24,8 @@ module.exports = { resolve: { modules: [ path.resolve(__dirname, 'core/templates/dev/head'), - path.resolve(__dirname, 'extensions'), - path.resolve(__dirname, 'node_modules') + path.resolve(__dirname, 'extensions') ], - alias: { - '@angular/upgrade/static': ( - '@angular/upgrade/bundles/upgrade-static.umd.js') - } }, entry: commonWebpackConfig.entries, plugins: commonWebpackConfig.plugins,