mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
adding OO-style object wrapping (thanks macournoyer) -- now you can to _(array).each();
This commit is contained in:
@@ -33,6 +33,7 @@ $(document).ready(function() {
|
||||
var clone = {name : 'moe', lucky : [13, 27, 34]};
|
||||
ok(moe != clone, 'basic equality between objects is false');
|
||||
ok(_.isEqual(moe, clone), 'deep equality is true');
|
||||
ok(_(moe).isEqual(clone), 'OO-style deep equality works');
|
||||
});
|
||||
|
||||
test("objects: isElement", function() {
|
||||
|
||||
Reference in New Issue
Block a user