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-11 16:46:50 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
04c3e4340d
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 10:03:30 -05:00
define
[
"
libs
"
]
,
() ->
angular
.
module
(
'
underscore
'
,
[
]
)
.
factory
'
_
'
,
->
return
window
.
_
Reference in a new issue
Copy permalink