Use mkws.$, not regular-ass $.
authorMike Taylor <mike@indexdata.com>
Thu, 2 Oct 2014 12:49:42 +0000 (13:49 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 2 Oct 2014 12:49:42 +0000 (13:49 +0100)
src/mkws-widget-record.js

index 13d67c3..6623842 100644 (file)
@@ -5,7 +5,7 @@ mkws.registerWidgetType('Record', function() {
   var team = this.team;
   team.queue("records").subscribe(function(data) {
     var template = team.loadTemplate(that.config.template || "Record");
-    var targs = $.extend({}, data.hits[0], that.config.template_vars);
+    var targs = mkws.$.extend({}, data.hits[0], that.config.template_vars);
     that.node.html(template(targs));
   });
   that.autosearch();