Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function modalPopup(opts={}) {
var [overlay, box] = explode(this, [
'.lf-overlay',
'.lm-container > div'
]);
var overlayAnimation = animateOverlay;
var overlayAnimationArgs = [];
if (opts.overlay) {
if (Ember.isArray(opts.overlay)) {
overlayAnimation = this.lookup(opts.overlay[0]);
overlayAnimationArgs = opts.overlay.slice(1);
} else {
overlayAnimation = this.lookup(opts.overlay);
}
}
var boxAnimation = animateDialog;