mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 09:36:18 +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);
|
|
|
|
})();
|