/*jslint vars: true, white: true */ /*global jQuery, IQVOC */ IQVOC.FederatedConceptMapper = (function($) { "use strict"; var baseClass = IQVOC.ConceptMapper; // `selector` is either a jQuery object, a DOM node or a string function FederatedConceptMapper(selector) { baseClass.apply(this, arguments); var sources = this.root.data("datasets"); if(!sources) { // fall back to non-federated base class only return; } sources["_custom"] = this.root.data("translation-other"); sources = $.map(sources, function(name, url) { return $("