We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99609ba + f8e2b5f commit b43e651Copy full SHA for b43e651
src/coffee/directives/api/utils/is-ready.coffee
@@ -11,10 +11,12 @@ angular.module('uiGmapgoogle-maps.directives.api.utils')
11
$timeout ->
12
if retriesLeft <= 0
13
deferred.reject('Your maps are not found we have checked the maximum amount of times. :)')
14
+ return
15
if _ctr != expectedInstances
16
_checkIfReady(deferred, expectedInstances, retriesLeft-1)
17
else
18
deferred.resolve(_promises())
19
20
, 100
21
22
spawn: ->
0 commit comments