mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
lodash: Cleanup documentation. [jddalton]
Former-commit-id: 8fc7693bba4762d337bfe33d389912d37089832c
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
// set the version
|
||||
license = license.replace('@VERSION', /VERSION=([\'"])(.*?)\1/.exec(src).pop());
|
||||
license = license.replace('@VERSION', /VERSION:([\'"])(.*?)\1/.exec(src).pop());
|
||||
|
||||
// move vars exposed by Closure Compiler into the IIFE
|
||||
src = src.replace(/^([^(\n]+)\s*(\(function[^)]+\){)/, '$2$1');
|
||||
|
||||
Reference in New Issue
Block a user