Skip to content

Commit

Permalink
Revert the extend to use underscore.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelbabu committed Mar 27, 2013
1 parent c00208f commit f01f7b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/bob/bob.js
Expand Up @@ -18,7 +18,8 @@ osw.QueryBuilder = function(elem, callback, finish, context, spec) {
self.hasFinish = finish instanceof Function; self.hasFinish = finish instanceof Function;
self.noFinish = !self.hasFinish; self.noFinish = !self.hasFinish;


self.context = $.extend({}, context); self.context = _.extend({
}, context);


self.serialize = function() { self.serialize = function() {
state = {}; state = {};
Expand Down

2 comments on commit f01f7b6

@vitorbaptista
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! This is what you meant by fixing it? Well, it kinda of doesn't matter, as we're relying on jQuery for other parts in this code... underscore and jQuery's extend are basically the same...

@nigelbabu
Copy link
Contributor Author

@nigelbabu nigelbabu commented on f01f7b6 Mar 28, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.