feat(export): began working on export modal

This commit is contained in:
Torkel Ödegaard
2016-05-17 10:29:57 +02:00
parent 7cd663bbe8
commit ad7a1e15b4
10 changed files with 131 additions and 15 deletions

View File

@@ -109,7 +109,7 @@ func (this *DashTemplateEvaluator) findInput(varName string, varType string) *Im
func (this *DashTemplateEvaluator) Eval() (*simplejson.Json, error) {
this.result = simplejson.New()
this.variables = make(map[string]string)
this.varRegex, _ = regexp.Compile(`(\$\{\w+\})`)
this.varRegex, _ = regexp.Compile(`(\$\{.+\})`)
// check that we have all inputs we need
for _, inputDef := range this.template.Get("__inputs").MustArray() {