repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Fix error handling in matrix-appserice-bridge@3
[gitter.git]
/
shared
/
backbone-adapter.js
blob
83f4b28c2ea7891a9873f2be30faa67817805537
1
'use strict';
2
3
module.exports = {
4
get: function(model, key) {
5
return model.get(key);
6
},
7
at: function(collection, index) {
8
return collection.at(index);
9
},
10
indexOf: function(collection, model) {
11
return collection.indexOf(model);
12
}
13
};