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
<html><head> | |
<meta charset="utf-8" /> | |
<title> - jsFiddle demo</title> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.js"></script> | |
<link rel="stylesheet" type="text/css" href="/css/result-light.css"> |
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
<!doctype html> | |
<html> | |
<title>Flatten.js, General SVG Flattener</title> | |
<head> | |
<script> | |
/* | |
Random path and shape generator, flattener test base: https://jsfiddle.net/fjm9423q/embedded/result/ | |
Basic usage example: https://jsfiddle.net/nrjvmqur/embedded/result/ |
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 cacher(f, scope, postprocessor) | |
{ | |
function newf() | |
{ | |
var arg = Array.prototype.slice.call(arguments, 0), | |
args = arg.join("\u2400"), | |
cache = newf.cache = newf.cache || | |
{}, count = newf.count = newf.count || []; | |
if (cache.hasOwnProperty(args)) | |
{ |
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
/* build: `node build.js modules=ALL exclude=gestures,cufon,json minifier=uglifyjs` */ | |
/*! Fabric.js Copyright 2008-2013, Printio (Juriy Zaytsev, Maxim Chernyak) */ | |
var fabric = fabric || { version: "1.4.4" }; | |
if (typeof exports !== 'undefined') { | |
exports.fabric = fabric; | |
} | |
if (typeof document !== 'undefined' && typeof window !== 'undefined') { | |
fabric.document = document; |