From 679325733d756a175ede510b4569aa88c2c6ec76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yago=20Gonz=C3=A1lez?= Date: Thu, 22 Jun 2017 23:40:39 +0200 Subject: [PATCH] zjquery: Add extend method. --- frontend_tests/zjsunit/zjquery.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend_tests/zjsunit/zjquery.js b/frontend_tests/zjsunit/zjquery.js index 4af0dd21f0..4c38963ddf 100644 --- a/frontend_tests/zjsunit/zjquery.js +++ b/frontend_tests/zjsunit/zjquery.js @@ -232,6 +232,10 @@ exports.make_zjquery = function () { }; }; + zjquery.extend = function (content, container) { + return _.extend(content, container); + }; + return zjquery; };