Skip to content

Commit f0cc68c

Browse files
committed
Removed original js that was wrapped in Moodle module.js
1 parent f2d7aed commit f0cc68c

3 files changed

Lines changed: 4 additions & 388 deletions

File tree

recordrtc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
$PAGE->requires->css( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css') );
3030
$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/RecordRTC.js') );
3131
$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/gumadapter.js') );
32-
//$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/view_init.js') );
3332

3433
$jsVars = array(
3534
'contextid' => $contextid,

tinymce/js/module.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ M.tinymce_recordrtc = M.tinymce_recordrtc || {};
3838
* Y YUI instance
3939
*/
4040

41-
var recordingDIV, recordingMedia, recordingPlayer, mediaContainerFormat;
41+
var recordingDIV = null;
42+
var recordingMedia = null;
43+
var recordingPlayer = null;
44+
var mediaContainerFormat = null;
4245

4346
M.tinymce_recordrtc.view_init = function(Y) {
4447
console.info('Init tinymce_recordrtc.js...');

0 commit comments

Comments
 (0)