Skip to content

Commit 78af8ea

Browse files
committed
Updated package name of the ThumbnailEditor from "javaxt.dhtml" to "javaxt.express"
1 parent 08bb0b4 commit 78af8ea

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

ui/javascript/widgets/ThumbnailEditor.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
if(!javaxt) var javaxt={};
2-
if(!javaxt.dhtml) javaxt.dhtml={};
2+
if(!javaxt.express) javaxt.express={};
33

44
//******************************************************************************
55
//** Thumbnail Editor
66
//*****************************************************************************/
77
/**
8-
* Used to resize and crop an image
8+
* Simple image editor used to create a thumbnail of an image. Provides
9+
* controls to center, resize, and crop a source image.
910
*
1011
******************************************************************************/
1112

12-
javaxt.dhtml.ThumbnailEditor = function(parent, config) {
13+
javaxt.express.ThumbnailEditor = function(parent, config) {
1314

1415
var me = this;
1516
var defaultConfig = {
@@ -135,6 +136,10 @@ javaxt.dhtml.ThumbnailEditor = function(parent, config) {
135136
//**************************************************************************
136137
//** setImage
137138
//**************************************************************************
139+
/** Used to update the panel with a source image.
140+
* @param src Image source (url or Base64 image data) used as the "src"
141+
* attribute in the main image panel.
142+
*/
138143
this.setImage = function(src){
139144
if (!src) return;
140145

0 commit comments

Comments
 (0)