This website requires JavaScript.
Explore
Help
Sign in
github
/
overleaf
Watch
1
Star
0
Fork
You've already forked overleaf
0
mirror of
https://github.com/overleaf/overleaf.git
synced
2024-12-27 12:21:03 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
959db80177
overleaf
/
services
/
web
/
public
/
coffee
/
utils
/
underscore.coffee
6 lines
99 B
CoffeeScript
Raw
Normal View
History
Unescape
Escape
avoid race condition loading underscore make underscore.coffee angular module depend on libs, which depends on underscore-1.3.3 Have avoided adding an extra dependency on underscore itself so that the version number is not duplicated. We could have a single definition of underscore in the requirejs config, to keep the version number in one place.
2015-03-06 15:03:30 +00:00
define
[
libs -> libraries don't use hash in non minjs version
2017-12-13 17:07:58 +00:00
"
libraries
"
avoid race condition loading underscore make underscore.coffee angular module depend on libs, which depends on underscore-1.3.3 Have avoided adding an extra dependency on underscore itself so that the version number is not duplicated. We could have a single definition of underscore in the requirejs config, to keep the version number in one place.
2015-03-06 15:03:30 +00:00
]
,
() ->
angular
.
module
(
'
underscore
'
,
[
]
)
.
factory
'
_
'
,
->
return
window
.
_
Reference in a new issue
Copy permalink