Load ordering specifications for LABJS

This commit is contained in:
Rashid Khan
2013-05-29 12:30:38 -07:00
parent 8f88bd5e52
commit 6eae38eb3c
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ angular.module('kibana.map', [])
function render_panel() {
// Using LABjs, wait until all scripts are loaded before rendering panel
var scripts = $LAB.script("panels/map/lib/jquery.jvectormap.min.js")
var scripts = $LAB.script("panels/map/lib/jquery.jvectormap.min.js").wait()
.script("panels/map/lib/map."+scope.panel.map+".js")
// Populate element. Note that jvectormap appends, does not replace.