Skip to content

Commit c3b5912

Browse files
committed
feat(DqElement): deprecate fromFrame function
1 parent 1035f9e commit c3b5912

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/core/utils/dq-element.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ DqElement.prototype = {
212212
}
213213
};
214214

215+
// @deprecated
215216
DqElement.fromFrame = function fromFrame(node, options, frame) {
216217
const spec = DqElement.mergeSpecs(node, frame);
217218
return new DqElement(frame.element, options, spec);

0 commit comments

Comments
 (0)