mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 18:22:01 +00:00
24b2844ece
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.
5 lines
94 B
CoffeeScript
5 lines
94 B
CoffeeScript
define [
|
|
"libs"
|
|
], () ->
|
|
angular.module('underscore', []).factory '_', ->
|
|
return window._
|