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

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

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.2/code/assets/src/apps/js/admin/editor/course.js
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.2/raw/assets/src/apps/js/admin/editor/course.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/course.js#L10-L20`.

```javascript
import HTTP from './http';
import CourseStore from './store/course';

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

const $ = window.jQuery;

/**
 * Init app.
 *
 * @since 3.0.0
 */
$( document ).ready( function() {
	window.LP_Curriculum_Store = new $Vuex.Store( CourseStore( lpAdminCourseEditorSettings ) );
	HTTP( { ns: 'LPCurriculumRequest', store: LP_Curriculum_Store } );

	setTimeout( () => {
		window.LP_Course_Editor = new $Vue( {
			el: '#admin-editor-lp_course',
			template: '<lp-course-editor></lp-course-editor>',
		} );
	}, 100 );
} );

```
