We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f95401f commit 63beeb7Copy full SHA for 63beeb7
d2js/js.go
@@ -162,12 +162,6 @@ func jsParse(this js.Value, args []js.Value) interface{} {
162
return string(str)
163
}
164
165
- if len(g.Layers) > 0 || len(g.Scenarios) > 0 || len(g.Steps) > 0 {
166
- ret := jsParseResponse{UserError: "layers, scenarios, and steps are not yet supported. Coming soon."}
167
- str, _ := json.Marshal(ret)
168
- return string(str)
169
- }
170
-
171
for _, o := range g.Objects {
172
if (o.Attributes.Top == nil) != (o.Attributes.Left == nil) {
173
ret := jsParseResponse{UserError: `keywords "top" and "left" currently must be used together`}
0 commit comments