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
let contextCounter = 0; | |
let sharedContext = []; | |
let innitializedContext = []; | |
let wasContextUpdated = false; | |
function createContext(lifecycle) { | |
sharedContext = []; | |
innitializedContext = [] | |
const loop = () => { | |
contextCounter = 0; |
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
(function () { | |
var Contrast = { | |
storage: 'contrastState', | |
cssClass: 'contrast', | |
currentState: null, | |
check: checkContrast, | |
getState: getContrastState, | |
setState: setContrastState, | |
toogle: toogleContrast, | |
updateView: updateViewContrast |
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
import { InjectionToken } from '@angular/core'; | |
export const ENVIRONMENT = new InjectionToken<any>('Environment injection token'); |
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
import { globalEnvironment } from '../../../../environments/environment.prod'; | |
export const environment = { | |
production: false, | |
title: 'Main production', | |
...globalEnvironment | |
}; |
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
export const globalEnvironment = { | |
production: true, | |
title: 'Global production' | |
}; |
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
import FooComponent from 'your-module/components/foo'; | |
import BarComponent from 'your-module/components/bar'; | |
import FooBarComponent from 'your-module/components/foo-bar'; |
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
import { FooComponent, BarComponent, FooBarComponent } from 'your-module'; |
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
export * from './src/components/foo'; | |
export * from './src/components/bar'; | |
export * from './src/components/foo-bar'; |
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
/** | |
* Created by klauskpm | |
*/ | |
(function () { | |
'use strict'; | |
app | |
.factory('contrastService', ContrastService); | |
ContrastService.$inject = ['storageService']; |
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
.notificacao { | |
width: 100%; | |
min-height: 20px; | |
position: fixed; | |
top: -1000px; | |
left: 0; | |
z-index: 250; | |
min-width: 250px; | |
} |
NewerOlder