Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get(plugin) {
if (hasPlugin(plugin)) {
return function(element, options = {}) {
initializePlugin(plugin, element, options)
}
}
return null
},
has(plugin) {
return hasPlugin(plugin)
}
}
Pj.Initializer = Initializer
export default Initializer