Skip to content

Commit

Permalink
new cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Sep 25, 2018
1 parent fe81a02 commit ae6b121
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/python/ripe_demo/static/js/ripe.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ ripe.assign = function(target) {
};

ripe.build = function() {
return ripe.assign.apply(this, arguments);
const _arguments = Array.prototype.slice.call(arguments);
_arguments.unshift({});
return ripe.assign.apply(this, _arguments);
};

// eslint-disable-next-line no-use-before-define
Expand Down

0 comments on commit ae6b121

Please sign in to comment.