Allow the module to be used in Universal apps#22
Allow the module to be used in Universal apps#22skratchdot merged 1 commit intoskratchdot:masterfrom
Conversation
jquery can not be initialised with nodeJs since there is no window or document.
Allow the module to be used in Universal apps
|
Still i am getting below mention error Can you please fix it? or help me with a solution. when we are already checking for 'window' object in if condition. We cannot use that in else clause. |
|
Ah, that's my mistake - I added window.jQuery in the else not fully realizing it's original purpose. I'll submit a PR to fix. |
Restores functionality introduced in skratchdot#22 but broken by skratchdot#71
|
PR opened: #75 |
Restores functionality introduced in skratchdot#22 but broken by skratchdot#71
|
thanks @sman591 for replying in short time. |
|
@ananddodia Looks like that might be due to changes #61 that introduced importing the boostrap package directly. This was reported in #73 - I posted a temporary workaround as well. |
jquery can not be initialised with nodeJs since there is no window or document.