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
@hanoii Yes, step no. 1 is necessary. Perhaps we should add something like jDrupal.addModule(); (and some corresponding docs) to make this more intuitive. Not many people get into jDrupal custom modules, 99% of the time people are using jDrupal by way of DrupalGap, and the usage of modules that way is much more well documented. Then we could have something like:
jDrupal.addModule('something');
function something_rest_pre_process(xhr, data) {
// Do something...
}
Do I need to add something manually to jDrupal.modules for it to be picked up and then just define a function in the global scope?
so would it be:
jDrupal.modules['something']
and then
2.
function something_rest_pre_process(xhr, data) {}
on the global spec?Is 1 necessary?
The text was updated successfully, but these errors were encountered: