fnp
/
fnpeditor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Refactorization
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvas
/
widgets.js
1
define([
2
'libs/jquery-1.9.1.min'
3
], function($) {
4
5
'use strict';
6
7
return {
8
labelWidget: function(tag, klass) {
9
return $('<span>')
10
.addClass('canvas-widget canvas-widget-label')
11
.text(tag + (klass ? ' / ' + klass : ''));
12
}
13
};
14
15
});