Tweak _.contains optimization.

Former-commit-id: 4c8040972806b2b18958379fde765858d22ceda8
This commit is contained in:
John-David Dalton
2013-08-27 08:21:37 -07:00
parent ea8e6d978d
commit 265b440c37
8 changed files with 17 additions and 23 deletions

View File

@@ -2841,7 +2841,7 @@
/*--------------------------------------------------------------------------*/
// expose Benchmark
// some AMD build optimizers, like r.js, check for specific condition patterns like the following:
// some AMD build optimizers, like r.js, check for condition patterns like the following:
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
// define as an anonymous module so, through path mapping, it can be aliased
define(['lodash', 'platform'], function(_, platform) {

View File

@@ -986,7 +986,7 @@
/*--------------------------------------------------------------------------*/
// expose platform
// some AMD build optimizers, like r.js, check for specific condition patterns like the following:
// some AMD build optimizers, like r.js, check for condition patterns like the following:
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
// define as an anonymous module so, through path mapping, it can be aliased
define(function() {