core/example/models/man.js in screw-unit-server-0.3.0 vs core/example/models/man.js in screw-unit-server-0.5.3
- old
+ new
@@ -6,11 +6,11 @@
};
this.luck = function() {
return luck;
};
this.render = function() {
- return $('<ul class="man">')
- .append('<li class="hair">')
+ return $('<ul class="man"></ul>')
+ .append('<li class="hair"></li>')
.click(function() {
$(this).children('.hair').remove();
});
};
}
\ No newline at end of file