>I,c[d+1]=g*H>>I,c[d+2]=k*H>>I,f-=y,g-=z,k-=A,y-=a.r,z-=a.b,A-=a.a,d=x+((d=C+q)
2 |
3 |
4 | AntiModerate Demo
5 |
10 |
11 |
12 | AntiModerate
13 | The Progressive Image Loader
14 |
15 | we just pass an image, the base64 image data for the micro image, and then (optionally) a scale for the blur
16 |
17 | AntiModerate.process(img, img.getAttribute("data-antimoderate-idata"), img.getAttribute("data-antimoderate-scale"));
18 |
19 |
20 |
21 |
22 |
23 | Example 1
24 |
25 |
26 |
27 |
28 |
29 | Example 2
30 |
31 |
32 |
33 |
34 |
35 |
36 |
44 |
45 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "antimoderate",
3 | "version": "1.0.0",
4 | "description": "The progressive image loading library for great good!",
5 | "main": "antimoderate.min.js",
6 | "repository": {
7 | "type": "git",
8 | "url": "https://github.com/whackashoe/antimoderate.git"
9 | },
10 | "license": "MIT",
11 | "author": {
12 | "name": "Jett LaRue",
13 | "url": "https://jettlarue.com"
14 | },
15 | "keywords": [
16 | "antimoderate",
17 | "image",
18 | "progressive",
19 | "loading"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------