mirror of
https://github.com/discourse/discourse.git
synced 2025-02-04 07:55:02 +08:00
14 lines
220 B
JavaScript
14 lines
220 B
JavaScript
/**
|
|
A data model representing a group of UserActions
|
|
**/
|
|
export default Discourse.Model.extend({
|
|
push: function(item) {
|
|
if (!this.items) {
|
|
this.items = [];
|
|
}
|
|
return this.items.push(item);
|
|
}
|
|
});
|
|
|
|
|