Update test/underscore.html and test/backbone.html to account for chain existing in Lo-Dash.

Former-commit-id: f815e7a3ac6e9cc6c048eab82acc32e462dbb021
This commit is contained in:
John-David Dalton
2013-05-20 22:52:34 -07:00
parent 355b2f09bf
commit 25a1d74627
2 changed files with 1 additions and 8 deletions

View File

@@ -33,13 +33,6 @@
'debounce': lodash.debounce,
'defer': lodash.defer
});
if (!_.chain) {
_.mixin({
'chain': function(value) {
return new _(value);
}
});
}
</script>
<script src="../vendor/backbone/backbone.js"></script>
<script src="../vendor/backbone/test/environment.js"></script>

View File

@@ -34,7 +34,7 @@
push = arrayProto.push,
slice = arrayProto.slice;
if (_.chain) {
if (_.chain().__chain__) {
return;
}
_.mixin = function(object) {