dist/browser.js in cqm-models-3.0.3 vs dist/browser.js in cqm-models-3.0.4

- old
+ new

@@ -26036,12 +26036,12 @@ this.element = build(json.element); } IndexOf.prototype.exec = function(ctx) { var el, i, index, itm, j, len, src; - src = this.source.exec(ctx); - el = this.element.exec(ctx); + src = this.source.execute(ctx); + el = this.element.execute(ctx); if ((src == null) || (el == null)) { return null; } for (i = j = 0, len = src.length; j < len; i = ++j) { itm = src[i]; @@ -28123,17 +28123,17 @@ module.exports.Tuple = Tuple = (function(superClass) { extend(Tuple, superClass); function Tuple(json) { - var el; + var el, elements; Tuple.__super__.constructor.apply(this, arguments); + elements = json.element != null ? json.element : []; this.elements = (function() { - var i, len, ref1, results; - ref1 = json.element; + var i, len, results; results = []; - for (i = 0, len = ref1.length; i < len; i++) { - el = ref1[i]; + for (i = 0, len = elements.length; i < len; i++) { + el = elements[i]; results.push({ name: el.name, value: build(el.value) }); }