- Load the webpack plugin in your webpack config
import { UniversalAssetsPlugin } from '../lib/universal-assets/plugin';
...
{
plugins: [
new UniversalAssetsPlugin()
]
}
declare module 'react-request' { | |
interface FetchOptions extends RequestInit { | |
url: string; | |
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD'; | |
} | |
type ResponseType = | |
| 'json' | |
| 'text' | |
| 'blob' |
import React from 'react'; | |
import { Fetch, FetchSFCProps } from 'react-request'; | |
interface User { | |
id: number; | |
name: string; | |
username: string; | |
email: string; | |
address: { |
import React from 'react'; | |
import axios, { AxiosRequestConfig } from 'axios'; | |
/** | |
* Config | |
*/ | |
export type FetchConfig = AxiosRequestConfig; | |
/** | |
* Public |
module.exports = { | |
parser: "vue-eslint-parser", | |
extends: ["airbnb-base", "plugin:vue/recommended"] | |
}; |
import { UniversalAssetsPlugin } from '../lib/universal-assets/plugin';
...
{
plugins: [
new UniversalAssetsPlugin()
]
}
I hereby claim:
To claim this, I am signing this object:
if(app.activeDocument.selection[0]) { | |
var sel = app.activeDocument.selection[0]; | |
var POINTMM = 0.3527777; | |
alert("Pindala: " + (Math.round(sel.area * (POINTMM*POINTMM) * 10) / 10000) + " dm2"); | |
alert("Pikkus: " + (Math.round(sel.length * POINTMM * 100) / 100) + " mm"); | |
} |
// Generated by CoffeeScript 1.6.3 | |
(function() { | |
window.ColorExtract = (function() { | |
function ColorExtract() {} | |
ColorExtract.getColorMap = function(canvas, sx, sy, w, h, nc) { | |
var index, indexBase, pdata, pixels, x, y, _i, _j, _ref, _ref1; | |
if (nc == null) { | |
nc = 8; | |
} |
{ | |
"installed_packages": | |
[ | |
"Alignment", | |
"Better CoffeeScript", | |
"BracketHighlighter", | |
"CSScomb JS", | |
"DashDoc", | |
"DocBlockr", | |
"Git", |