Skip to content

Instantly share code, notes, and snippets.

@matopeto
matopeto / Eleksmaker.py
Created November 23, 2020 17:43 — forked from josephjunker/Eleksmaker.py
elekmaker inkscape plugin, fed through 2to3 with a couple tweaks
"""
Modified by Jay Johnson 2015, J Tech Photonics, Inc., jtechphotonics.com
modified by Adam Polak 2014, polakiumengineering.org
based on Copyright (C) 2009 Nick Drobchenko, nick@cnc-club.ru
based on gcode.py (C) 2007 hugomatic...
based on addnodes.py (C) 2005,2007 Aaron Spike, aaron@ekips.org
based on dots.py (C) 2005 Aaron Spike, aaron@ekips.org
based on interp.py (C) 2005 Aaron Spike, aaron@ekips.org
based on bezmisc.py (C) 2005 Aaron Spike, aaron@ekips.org
(function($, undefined) {
$.nette.ext('selectiveUnique', {
start: function(xhr, settings) {
if (!settings.uniqueTag || typeof settings.uniqueTag !== 'string')
return;
if (this.xhrs[settings.uniqueTag]) {
this.xhrs[settings.uniqueTag].abort();
}