diff --git a/lib/ext/Cite/index.js b/lib/ext/Cite/index.js index 118810a06..d1730ddc9 100644 --- a/lib/ext/Cite/index.js +++ b/lib/ext/Cite/index.js @@ -6,16 +6,18 @@ 'use strict'; -var domino = require('domino'); +const domino = require('domino'); -var ParsoidExtApi = module.parent.require('./extapi.js').versionCheck('^0.10.0'); -var ContentUtils = ParsoidExtApi.ContentUtils; -var DOMDataUtils = ParsoidExtApi.DOMDataUtils; -var DOMUtils = ParsoidExtApi.DOMUtils; -var TokenUtils = ParsoidExtApi.TokenUtils; -var WTUtils = ParsoidExtApi.WTUtils; -var Promise = ParsoidExtApi.Promise; -var Sanitizer = ParsoidExtApi.Sanitizer; +const ParsoidExtApi = module.parent.require('./extapi.js').versionCheck('^0.10.0'); +const { + ContentUtils, + DOMDataUtils, + DOMUtils, + TokenUtils, + WTUtils, + Promise, + Sanitizer, +} = ParsoidExtApi; /** * Simple token transform version of the Ref extension tag.