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
""" | |
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 |
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($, 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(); | |
} |