This file contains hidden or 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
Specification | Keyword | RGB hex value | |
---|---|---|---|
CSS Level 1 | black | #000000 | |
CSS Level 1 | silver | #c0c0c0 | |
CSS Level 1 | gray | #808080 | |
CSS Level 1 | white | #ffffff | |
CSS Level 1 | maroon | #800000 | |
CSS Level 1 | red | #ff0000 | |
CSS Level 1 | purple | #800080 | |
CSS Level 1 | fuchsia | #ff00ff | |
CSS Level 1 | magenta | #ff00ff |
This file contains hidden or 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 convertToCSV(objArray) { | |
var array = typeof objArray != 'object' ? JSON.parse(objArray) : objArray; | |
var str = ''; | |
for (var i = 0; i < array.length; i++) { | |
var line = ''; | |
for (var index in array[i]) { | |
if (line != '') line += ',' | |
line += array[i][index]; |
This file contains hidden or 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
@Directive({ selector: '[my-tooltip]' }) | |
export class TooltipDirective implements OnDestroy { | |
@Input() tooltipTitle: string = ''; | |
private id: string; | |
constructor(private tooltipService: TooltipService, private element: ElementRef) { } | |
@HostListener('mouseenter') | |
onMouseEnter(): void { |
This file contains hidden or 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
app_b95b26e6f55b3ce20310.js | |
assets.json | |
index.html | |
polyfills_b95b26e6f55b3ce20310.js | |
vendor_b95b26e6f55b3ce20310.js |
This file contains hidden or 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
{ | |
"app": { | |
"js": "/app_b95b26e6f55b3ce20310.js" | |
}, | |
"polyfills": { | |
"js": "/polyfills_b95b26e6f55b3ce20310.js" | |
}, | |
"vendor": { | |
"js": "/vendor_b95b26e6f55b3ce20310.js" | |
} |
This file contains hidden or 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
... | |
declare var window: any; | |
window.POLYFILLS_JS_LOADED = true; |
This file contains hidden or 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
... | |
declare var window: any; | |
window.VENDOR_JS_LOADED = true; |
This file contains hidden or 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
var AssetsPlugin = require('assets-webpack-plugin'); | |
... | |
output: { | |
path: helpers.root('dist'), // sets output folder to 'dist' | |
publicPath: '/', // tells webpack where we'll host the generated bundle | |
filename: '[name]_[hash].js', // output filename - e.g app.js or vendor.js | |
chunkFilename: '[id].chunk.js' //?? | |
}, |
This file contains hidden or 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
<script> | |
console.log('APP_ENVIRONMENT: ' + APP_ENVIRONMENT); | |
switch (APP_ENVIRONMENT) { | |
case 'DEVELOPMENT': | |
document.getElementById("polyfills_js").src = 'http://localhost:8085/polyfills.js'; | |
var vendorJsInterval = setInterval(function () { | |
if (window.POLYFILLS_JS_LOADED) { | |
document.getElementById("vendor_js").src = 'http://localhost:8085/vendor.js'; |
This file contains hidden or 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
<script id="polyfills_js" type="text/javascript"></script> | |
<script id="vendor_js" type="text/javascript"></script> | |
<script id="app_js" type="text/javascript"></script> |
NewerOlder