You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just did something crude like returning a dummy component and that seems to work. You'll probably be able to think of a more sensible implementation. This is what I did:
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.VueRecaptcha = factory());
}(this, (function () {
'use strict';
// *************** CHANGED ***************
if (typeof window == 'undefined') {
console.log('RETURNING DUMMY COMPONENT...');
return {
name: 'VueRecaptcha',
render: function render(h) {
return h(
'div',
{ ref: 'container' },
[]
);
}
};;
}
// ***************************************
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var defer = function defer() {....... <the rest of the code beyond here>...
The text was updated successfully, but these errors were encountered:
@jazoom
I have implemented in current HEAD.
May you try it in your app to help me confirm that it work correctly?
I will publish the new version tomorrow at latest.
I just did something crude like returning a dummy component and that seems to work. You'll probably be able to think of a more sensible implementation. This is what I did:
The text was updated successfully, but these errors were encountered: