diff --git a/doc/README.md b/doc/README.md index 1331ebe80..8919ede0d 100644 --- a/doc/README.md +++ b/doc/README.md @@ -170,11 +170,11 @@ ## `Utilities` -* [`_.noop`](#_noop) * [`_.escape`](#_escapestring) * [`_.identity`](#_identityvalue) * [`_.mixin`](#_mixinobject-object) * [`_.noConflict`](#_noconflict) +* [`_.noop`](#_noop) * [`_.parseInt`](#_parseintvalue-radix) * [`_.random`](#_randommin0-max1-floatingfalse) * [`_.result`](#_resultobject-property) @@ -3941,25 +3941,6 @@ _.values({ 'one': 1, 'two': 2, 'three': 3 }); ## `“Utilities” Methods` - - -### `_.noop` -# [Ⓢ](https://github.com/lodash/lodash/blob/master/lodash.js#L6176 "View in source") [Ⓣ][1] - -*(unknown)*: A no-operation function. - -#### Example -```js -var object = { 'name': 'fred' }; -_.noop(object) === undefined; -// => true -``` - -* * * - - - - ### `_.escape(string)` @@ -4060,6 +4041,25 @@ var lodash = _.noConflict(); + + +### `_.noop()` +# [Ⓢ](https://github.com/lodash/lodash/blob/master/lodash.js#L6176 "View in source") [Ⓣ][1] + +A no-operation function. + +#### Example +```js +var object = { 'name': 'fred' }; +_.noop(object) === undefined; +// => true +``` + +* * * + + + + ### `_.parseInt(value, [radix])` diff --git a/vendor/docdown/src/DocDown/Entry.php b/vendor/docdown/src/DocDown/Entry.php index 3108aaede..51facb64d 100644 --- a/vendor/docdown/src/DocDown/Entry.php +++ b/vendor/docdown/src/DocDown/Entry.php @@ -77,7 +77,8 @@ class Entry { $this->isCtor() || count($this->getParams()) || count($this->getReturns()) || - preg_match('/\*[\t ]*@function\b/', $this->entry) + preg_match('/\*[\t ]*@function\b/', $this->entry) || + preg_match('#\*/\s*function #', $this->entry) ); } return $this->_isFunction;