Add this to settings.json (cmd ,
):
{
"editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
#!/usr/bin/env node | |
// Minimal example of loading a PEM certificate using pkijs (in node) | |
// babel-polyfill needs to be loaded for pkijs | |
// It uses webcrypto which needs browser shims | |
require('babel-polyfill') | |
const Pkijs = require('pkijs') | |
const Asn1js = require('asn1js') | |
const FS = require('fs') |
// Node v6.9.0 | |
// | |
// TEST FILE (cut down for simplicity) | |
// To ensure Golang encrypted string can be decrypted in NodeJS. | |
// | |
let crypto; | |
try { | |
crypto = require('crypto'); |
export let facebookSDK = { | |
mounted () { | |
let _this = this | |
this.$nextTick(() => { | |
window.fbAsyncInit = function () { | |
FB.init({ | |
appId: 'XXX', | |
xfbml: true, | |
version: 'v2.6' | |
}) |