HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/learnpress/assets/src/apps/js/admin/editor/question.js
import HTTP from './http';
import Store from './store/question';
import './fill-in-blanks';

window.$Vue = window.$Vue || Vue;
window.$Vuex = window.$Vuex || Vuex;

const $ = window.jQuery;

/**
 * Init app.
 *
 * @since 3.0.0
 */
$( document ).ready( function() {
	window.LP_Question_Store = new $Vuex.Store( Store( lp_question_editor ) );

	HTTP( { ns: 'LPQuestionEditorRequest', store: LP_Question_Store } );

	setTimeout( () => {
		if ( $( '#admin-editor-lp_question' ).length ) {
			window.LP_Question_Editor = new $Vue( {
				el: '#admin-editor-lp_question',
				template: '<lp-question-editor></lp-question-editor>',
			} );
		}
	}, 100 );
} );