mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-15 15:26:31 +00:00
Remove no longer used angular flash-another component
Change-type: patch
This commit is contained in:
parent
2cd60af841
commit
3a7d770f6d
@ -1,24 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2019 balena.io
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import * as angular from 'angular';
|
|
||||||
import { react2angular } from 'react2angular';
|
|
||||||
import { FlashAnother } from './flash-another';
|
|
||||||
|
|
||||||
export const MODULE_NAME = 'Etcher.Components.FlashAnother';
|
|
||||||
const FlashAnotherModule = angular.module(MODULE_NAME, []);
|
|
||||||
|
|
||||||
FlashAnotherModule.component('flashAnother', react2angular(FlashAnother));
|
|
@ -28,11 +28,9 @@ import * as angularRouter from 'angular-ui-router';
|
|||||||
import { react2angular } from 'react2angular';
|
import { react2angular } from 'react2angular';
|
||||||
import MainPage from './MainPage';
|
import MainPage from './MainPage';
|
||||||
|
|
||||||
import { MODULE_NAME as flashAnother } from '../../components/flash-another';
|
|
||||||
|
|
||||||
export const MODULE_NAME = 'Etcher.Pages.Main';
|
export const MODULE_NAME = 'Etcher.Pages.Main';
|
||||||
|
|
||||||
const Main = angular.module(MODULE_NAME, [angularRouter, flashAnother]);
|
const Main = angular.module(MODULE_NAME, [angularRouter]);
|
||||||
|
|
||||||
Main.component('mainPage', react2angular(MainPage, [], ['$state']));
|
Main.component('mainPage', react2angular(MainPage, [], ['$state']));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user