This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
build (travis): add prod build #254
Merged
Merged
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
56d56b4
build (travis): add prod build
subotic e4d3d2b
build (travis): add hacky fix to JDNConvertibleCalendarDateAdapter
subotic 1e2198c
build (travis): add hacky fix to JDNConvertibleCalendarDateAdapter
subotic bbaf6d7
refactor (salsah): remove file-uploader component
subotic 46877e9
refactor (salsah): remove file-uploader component
subotic cfa9db5
refactor (salsah): remove file-uploader component
subotic 2d4ccfa
refactor (salsah): remove file-uploader component
subotic b9a16d8
build (travis): add link to issue into comment
subotic File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright © 2016 Lukas Rosenthaler, André Kilchenmann, Andreas Aeschlimann, | ||
* Sofia Georgakopoulou, Ivan Subotic, Benjamin Geer, Tobias Schweizer. | ||
* This file is part of SALSAH. | ||
* SALSAH is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* SALSAH is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* You should have received a copy of the GNU Affero General Public | ||
* License along with SALSAH. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
import {NgModule} from '@angular/core'; | ||
import {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MAT_DATE_LOCALE_PROVIDER} from '@angular/material'; | ||
import {MAT_JDN_DATE_FORMATS} from 'jdnconvertiblecalendardateadapter/dist/JDNConvertibleCalendar-date-formats'; | ||
import {JDNConvertibleCalendarDateAdapter} from 'jdnconvertiblecalendardateadapter'; | ||
|
||
@NgModule({ | ||
providers: [ | ||
MAT_DATE_LOCALE_PROVIDER, | ||
{provide: DateAdapter, useClass: JDNConvertibleCalendarDateAdapter, deps: [MAT_DATE_LOCALE]} | ||
] | ||
}) | ||
export declare class JDNConvertibleCalendarDateAdapterModule { | ||
} | ||
|
||
@NgModule({ | ||
imports: [JDNConvertibleCalendarDateAdapterModule], | ||
providers: [{provide: MAT_DATE_FORMATS, useValue: MAT_JDN_DATE_FORMATS}], | ||
}) | ||
export declare class MatJDNConvertibleCalendarDateAdapterModule { | ||
} | ||
export { JDNConvertibleCalendarDateAdapter } from './JDNConvertibleCalendarDateAdapter'; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once we use the angular compiler to build
jdnconvertiblecalendardateadapter
, this should not be necessary any more. See dhlab-basel/JDNConvertibleCalendarDateAdapter#5