From a7ecc9097399bd13c08d78f2dca02df2a8691988 Mon Sep 17 00:00:00 2001 From: David Landry Date: Fri, 5 Oct 2018 18:30:03 -0400 Subject: [PATCH] Missed renaming some identifiers --- pkg/runtime/values/helpers.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/runtime/values/helpers.go b/pkg/runtime/values/helpers.go index 78e47d49..327941b0 100644 --- a/pkg/runtime/values/helpers.go +++ b/pkg/runtime/values/helpers.go @@ -43,8 +43,8 @@ func GetIn(from core.Value, byPath []core.Value) (core.Value, error) { result = arr.Get(segment.(Int)) break - case core.HtmlElementType, core.HtmlDocumentType: - el := result.(HtmlNode) + case core.HTMLElementType, core.HTMLDocumentType: + el := result.(HTMLNode) if segmentType == core.IntType { result = el.GetChildNode(segment.(Int)) @@ -69,8 +69,8 @@ func GetIn(from core.Value, byPath []core.Value) (core.Value, error) { case "length": result = el.Length() case "url": - if result.Type() == core.HtmlDocumentType { - doc, ok := result.(HtmlDocument) + if result.Type() == core.HTMLDocumentType { + doc, ok := result.(HTMLDocument) if ok { result = doc.Url() @@ -92,8 +92,8 @@ func GetIn(from core.Value, byPath []core.Value) (core.Value, error) { from.Type(), core.ArrayType, core.ObjectType, - core.HtmlDocumentType, - core.HtmlElementType, + core.HTMLDocumentType, + core.HTMLElementType, ) } }