Skip to content

Instantly share code, notes, and snippets.

// Form variables.
descriptionControl: FormControl<string>;
form!: FormGroup<{
name: FormControl<string>;
timestart: FormControl<string>;
eventtype: FormControl<AddonCalendarEventType | null>;
categoryid: FormControl<number | null>;
courseid: FormControl<number>;
groupcourseid: FormControl<number | null>;
groupid: FormControl<number | null>;
object(Closure)#17299 (2) {
["this"]=>
object(behat_performance)#17257 (3) {
["measures":"behat_performance":private]=>
array(0) {
}
["mink":"Behat\MinkExtension\Context\RawMinkContext":private]=>
object(Behat\Mink\Mink)#1888 (2) {
["defaultSessionName":"Behat\Mink\Mink":private]=>
string(9) "webdriver"
this.saveData = (params) => {
this.CoreDomUtilsProvider.showModalLoading().then((modal) => {
params.vote = prep_data();
this.CoreSitePluginsProviders.callWS('mod_vote_vote', params, {getFromCache: 0, saveToCache: 0}).then((result) => {
check_response(result);
}).catch((error) => {
this.CoreDomUtilsProvider.showErrorModalDefault(error, 'core.serverconnection', true);
}).finally(() => {
modal.dismiss();
.remotetheme-bgimg {
background-image:url('https://www.google.es/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png');
}
function throttle(func, duration) {
let shouldWait = false
let hasIgnoredCalls = false;
return function (...args) {
if (!shouldWait) {
func.apply(this, args)
shouldWait = true
setTimeout(function () {
shouldWait = false
Getting error in dashboard:
Exception - Call to a member function get_instance_var() on null
line 324 of /mod/bigbluebuttonbn/classes/local/proxy/bigbluebutton_proxy.php: Error thrown
line 499 of /mod/bigbluebuttonbn/lib.php: call to mod_bigbluebuttonbn\local\proxy\bigbluebutton_proxy::view_get_activity_status()
line 7925 of /lib/moodlelib.php: call to mod_bigbluebuttonbn_core_calendar_is_event_visible()
line 339 of /calendar/classes/local/event/container.php: call to component_callback()
line 54 of /calendar/classes/local/event/factories/event_factory.php: call to core_calendar\local\event\container::apply_component_is_event_visible()
line 205 of /calendar/classes/local/event/factories/event_abstract_factory.php: call to core_calendar\local\event\factories\event_factory->expose_event()
line 360 of /calendar/classes/local/event/data_access/event_vault.php: call to core_calendar\local\event\factories\event_abstract_factory->create_instance()
line 172 of /calendar/classes/local/event/data_access/event_vault.php
/* Styles for Ionic 5. */
body.ionic5 ion-toolbar {
--background: #004C9C;
}
/* Behind the tabs */
body.ionic5 ion-tab-bar {
--background: #fff;
--color: #004C9C;
/**
* Function to add to the queue.
*/
export type CoreQueueFunction<T> = (...args: any[]) => T;
/**
* Queue item.
*/
export type CoreQueueItem<T> = {
verbose teardown shutting down workers.
901 info teardown Done in 0s
902 verbose stack TypeError: err.code.match is not a function
902 verbose stack at BB.try.catch.err (/home/travis/.nvm/versions/node/v11.15.0/lib/node_modules/npm/node_modules/pacote/lib/with-tarball-stream.js:110:55)
902 verbose stack at tryCatcher (/home/travis/.nvm/versions/node/v11.15.0/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
902 verbose stack at Promise._settlePromiseFromHandler (/home/travis/.nvm/versions/node/v11.15.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
902 verbose stack at Promise._settlePromise (/home/travis/.nvm/versions/node/v11.15.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
902 verbose stack at Promise._settlePromise0 (/home/travis/.nvm/versions/node/v11.15.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
902 verbose stack at Promise._settlePromises (/home/travis/.nvm/versions/node/v11
a {
color: #004C9C;
}
.toolbar-background-md {
border-color: #004C9C;
background: #004C9C;
}
.toolbar-background {
border-color: #004C9C;