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.
This commit is contained in:
Brian Gough 2015-03-06 15:03:30 +00:00
parent 8d092fc84d
commit 24b2844ece

View file

@ -1,2 +1,5 @@
angular.module('underscore', []).factory '_', ->
return window._
define [
"libs"
], () ->
angular.module('underscore', []).factory '_', ->
return window._