mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 18:10:27 +00:00
21 lines
514 B
JavaScript
Executable File
21 lines
514 B
JavaScript
Executable File
/*\
|
|
title: $:/plugins/tiddlywiki/codemirror/edit-codemirror.js
|
|
type: application/javascript
|
|
module-type: widget
|
|
|
|
Edit-codemirror widget
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
var editTextWidgetFactory = require("$:/core/modules/editor/factory.js").editTextWidgetFactory,
|
|
CodeMirrorEngine = require("$:/plugins/tiddlywiki/codemirror/engine.js").CodeMirrorEngine;
|
|
|
|
exports["edit-codemirror"] = editTextWidgetFactory(CodeMirrorEngine,CodeMirrorEngine);
|
|
|
|
})();
|