Línea 26... |
Línea 26... |
26 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
26 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
27 |
*/
|
27 |
*/
|
28 |
define(['jquery', 'core/url', 'core/log'], function($, url, log) {
|
28 |
define(['jquery', 'core/url', 'core/log'], function($, url, log) {
|
29 |
// Private variables and functions.
|
29 |
// Private variables and functions.
|
30 |
/** @var {String} expandedImage The html for an expanded tree node twistie. */
|
30 |
/** @var {String} expandedImage The html for an expanded tree node twistie. */
|
31 |
var expandedImage = $('<img alt="" src="' + url.imageUrl('t/expanded') + '"/>');
|
31 |
var expandedImage = $('<img alt="" class="icon" src="' + url.imageUrl('t/expanded') + '"/>');
|
32 |
/** @var {String} collapsedImage The html for a collapsed tree node twistie. */
|
32 |
/** @var {String} collapsedImage The html for a collapsed tree node twistie. */
|
33 |
var collapsedImage = $('<img alt="" src="' + url.imageUrl('t/collapsed') + '"/>');
|
33 |
var collapsedImage = $('<img alt="" class="icon" src="' + url.imageUrl('t/collapsed') + '"/>');
|
Línea 34... |
Línea 34... |
34 |
|
34 |
|
35 |
/**
|
35 |
/**
|
36 |
* Constructor
|
36 |
* Constructor
|
37 |
*
|
37 |
*
|