mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Remove Narwhal reference from source.
This commit is contained in:
@@ -1075,7 +1075,7 @@
|
|||||||
support.nodeTag = objToString.call(document) != objectTag;
|
support.nodeTag = objToString.call(document) != objectTag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Detect if string indexes are non-enumerable (IE < 9, RingoJS, Rhino, Narwhal).
|
* Detect if string indexes are non-enumerable (IE < 9, RingoJS, Rhino).
|
||||||
*
|
*
|
||||||
* @memberOf _.support
|
* @memberOf _.support
|
||||||
* @type boolean
|
* @type boolean
|
||||||
@@ -12439,7 +12439,7 @@
|
|||||||
retUnwrapped = /^(?:join|pop|replace|shift)$/.test(methodName);
|
retUnwrapped = /^(?:join|pop|replace|shift)$/.test(methodName);
|
||||||
|
|
||||||
// Avoid array-like object bugs with `Array#shift` and `Array#splice` in
|
// Avoid array-like object bugs with `Array#shift` and `Array#splice` in
|
||||||
// IE < 9, Firefox < 10, Narwhal, and RingoJS.
|
// IE < 9, Firefox < 10, and RingoJS.
|
||||||
var func = !fixObjects ? protoFunc : function() {
|
var func = !fixObjects ? protoFunc : function() {
|
||||||
var result = protoFunc.apply(this, arguments);
|
var result = protoFunc.apply(this, arguments);
|
||||||
if (this.length === 0) {
|
if (this.length === 0) {
|
||||||
@@ -12519,7 +12519,7 @@
|
|||||||
if (moduleExports) {
|
if (moduleExports) {
|
||||||
(freeModule.exports = _)._ = _;
|
(freeModule.exports = _)._ = _;
|
||||||
}
|
}
|
||||||
// Export for Narwhal or Rhino with CommonJS.
|
// Export for Rhino with CommonJS support.
|
||||||
else {
|
else {
|
||||||
freeExports._ = _;
|
freeExports._ = _;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
params = root.arguments,
|
params = root.arguments,
|
||||||
system = root.system;
|
system = root.system;
|
||||||
|
|
||||||
/** Add `console.log()` support for Narwhal, Rhino, and RingoJS. */
|
/** Add `console.log()` support for Rhino and RingoJS. */
|
||||||
var console = root.console || (root.console = { 'log': root.print });
|
var console = root.console || (root.console = { 'log': root.print });
|
||||||
|
|
||||||
/** The file path of the lodash file to test. */
|
/** The file path of the lodash file to test. */
|
||||||
@@ -980,7 +980,7 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Avoid Underscore induced `OutOfMemoryError` in Rhino, Narwhal, and Ringo.
|
// Avoid Underscore induced `OutOfMemoryError` in Rhino and Ringo.
|
||||||
if (!isJava) {
|
if (!isJava) {
|
||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('`_.find` with `_.matches` shorthand')
|
Benchmark.Suite('`_.find` with `_.matches` shorthand')
|
||||||
|
|||||||
Reference in New Issue
Block a user