diff --git a/d2js/js.go b/d2js/js.go index 0fcca7da2..144c57504 100644 --- a/d2js/js.go +++ b/d2js/js.go @@ -162,12 +162,6 @@ func jsParse(this js.Value, args []js.Value) interface{} { return string(str) } - if len(g.Layers) > 0 || len(g.Scenarios) > 0 || len(g.Steps) > 0 { - ret := jsParseResponse{UserError: "layers, scenarios, and steps are not yet supported. Coming soon."} - str, _ := json.Marshal(ret) - return string(str) - } - for _, o := range g.Objects { if (o.Attributes.Top == nil) != (o.Attributes.Left == nil) { ret := jsParseResponse{UserError: `keywords "top" and "left" currently must be used together`}