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-11-21 20:47:08 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
67e2f6f942
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 10:03:30 -05:00
define
[
libs -> libraries don't use hash in non minjs version
2017-12-13 12:07:58 -05: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 10:03:30 -05:00
]
,
() ->
angular
.
module
(
'
underscore
'
,
[
]
)
.
factory
'
_
'
,
->
return
window
.
_
Reference in a new issue
Copy permalink