mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
Clean code.
This commit is contained in:
parent
07ffb9d995
commit
b39ba9cd00
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ modulejs.define('view/item', ['_', '$', 'core/format', 'core/location', 'core/re
|
||||||
'</li>';
|
'</li>';
|
||||||
|
|
||||||
|
|
||||||
function renderItem(item) {
|
function render(item) {
|
||||||
|
|
||||||
var $html = $(template);
|
var $html = $(template);
|
||||||
var $a = $html.find('a');
|
var $a = $html.find('a');
|
||||||
|
@ -55,6 +55,6 @@ modulejs.define('view/item', ['_', '$', 'core/format', 'core/location', 'core/re
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
render: renderItem
|
render: render
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue