/* * Inline text editing tool for Raphaël 2.0 & compatible with Raphaël Free transform. * Source: https://github.com/marmelab/Raphael.InlineTextEditing * Licensed under the MIT license */ (function (root, factory) { if (typeof define === "function" && define.amd) { // AMD. Register as an anonymous module. define(["raphael"], function(Raphael) { // Use global variables if the locals are undefined. return factory(Raphael || root.Raphael); }); } else { // RequireJS isn't being used. Assume Raphael is loaded in