mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Minor nit to move objCtorString above objToString.
This commit is contained in:
11
lodash.js
11
lodash.js
@@ -747,15 +747,15 @@
|
|||||||
/** Used to generate unique IDs. */
|
/** Used to generate unique IDs. */
|
||||||
var idCounter = 0;
|
var idCounter = 0;
|
||||||
|
|
||||||
|
/** Used to infer the `Object` constructor. */
|
||||||
|
var objCtorString = fnToString.call(Object);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
|
* Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
|
||||||
* of values.
|
* of values.
|
||||||
*/
|
*/
|
||||||
var objToString = objectProto.toString;
|
var objToString = objectProto.toString;
|
||||||
|
|
||||||
/** Used to infer the `Object` constructor. */
|
|
||||||
var objCtorString = fnToString.call(Object);
|
|
||||||
|
|
||||||
/** Used to restore the original `_` reference in `_.noConflict`. */
|
/** Used to restore the original `_` reference in `_.noConflict`. */
|
||||||
var oldDash = root._;
|
var oldDash = root._;
|
||||||
|
|
||||||
@@ -6515,13 +6515,14 @@
|
|||||||
/*------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the number of milliseconds that have elapsed since the Unix epoch
|
* Gets the timestamp of the number of milliseconds that have elapsed since
|
||||||
* (1 January 1970 00:00:00 UTC).
|
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @type Function
|
* @type Function
|
||||||
* @category Date
|
* @category Date
|
||||||
|
* @returns {number} Returns the timestamp.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* _.defer(function(stamp) {
|
* _.defer(function(stamp) {
|
||||||
|
|||||||
Reference in New Issue
Block a user