mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-06 04:48:01 +00:00
Change new_widget
to widget
I was avoiding doing this until after the merge.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*\
|
||||
title: $:/core/modules/new_widgets/edit-text-codemirror.js
|
||||
title: $:/core/modules/widgets/edit-text-codemirror.js
|
||||
type: application/javascript
|
||||
module-type: new_widget
|
||||
module-type: widget
|
||||
|
||||
Extend the edit-text widget to use CodeMirror
|
||||
|
||||
@@ -16,7 +16,7 @@ if($tw.browser) {
|
||||
require("$:/plugins/tiddlywiki/codemirror/codemirror.js");
|
||||
}
|
||||
|
||||
var EditTextWidget = require("$:/core/modules/new_widgets/edit-text.js")["edit-text"];
|
||||
var EditTextWidget = require("$:/core/modules/widgets/edit-text.js")["edit-text"];
|
||||
|
||||
/*
|
||||
The edit-text widget calls this method just after inserting its dom nodes
|
||||
|
4
plugins/tiddlywiki/d3/barwidget.js
vendored
4
plugins/tiddlywiki/d3/barwidget.js
vendored
@@ -1,7 +1,7 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/d3/barwidget.js
|
||||
type: application/javascript
|
||||
module-type: new_widget
|
||||
module-type: widget
|
||||
|
||||
A widget for displaying stacked or grouped bar charts. Derived from http://bl.ocks.org/mbostock/3943967
|
||||
|
||||
@@ -12,7 +12,7 @@ A widget for displaying stacked or grouped bar charts. Derived from http://bl.oc
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
var Widget = require("$:/core/modules/new_widgets/widget.js").widget,
|
||||
var Widget = require("$:/core/modules/widgets/widget.js").widget,
|
||||
d3 = require("$:/plugins/tiddlywiki/d3/d3.js").d3;
|
||||
|
||||
var BarWidget = function(parseTreeNode,options) {
|
||||
|
4
plugins/tiddlywiki/d3/cloudwidget.js
vendored
4
plugins/tiddlywiki/d3/cloudwidget.js
vendored
@@ -1,7 +1,7 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/d3/cloudwidget.js
|
||||
type: application/javascript
|
||||
module-type: new_widget
|
||||
module-type: widget
|
||||
|
||||
A widget for displaying word clouds. Derived from https://github.com/jasondavies/d3-cloud
|
||||
|
||||
@@ -12,7 +12,7 @@ A widget for displaying word clouds. Derived from https://github.com/jasondavies
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
var Widget = require("$:/core/modules/new_widgets/widget.js").widget,
|
||||
var Widget = require("$:/core/modules/widgets/widget.js").widget,
|
||||
d3 = require("$:/plugins/tiddlywiki/d3/d3.js").d3;
|
||||
|
||||
if($tw.browser) {
|
||||
|
Reference in New Issue
Block a user