mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 20:46:52 +00:00
Change new_widget to widget
I was avoiding doing this until after the merge.
This commit is contained in:
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