Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / shared / backbone-adapter.js
blob83f4b28c2ea7891a9873f2be30faa67817805537
1 'use strict';
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);