# learnpress/4.1.7.2/assets/src/apps/js/admin/editor/question.js

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.1.7.2. 29 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.2/code/assets/src/apps/js/admin/editor/question.js
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.2/raw/assets/src/apps/js/admin/editor/question.js
- Modified: 2022-09-23T02:52:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.1.7.2/code/assets/src/apps/js/admin/editor/question.js#L10-L20`.

```javascript
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 );
} );

```
