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 13:01:02 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
fba22dc11f
overleaf
/
services
/
web
/
public
/
coffee
/
utils
/
underscore.coffee
6 lines
94 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
"
]
,
() ->
angular
.
module
(
'
underscore
'
,
[
]
)
.
factory
'
_
'
,
->
return
window
.
_
Reference in a new issue
Copy permalink