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
Gitter migration: Point people to app.gitter.im (rollout pt. 1)
[gitter.git]
/
public
/
js
/
views
/
behaviors
/
lookup.js
blob
80d2b12b1b39d195703f2631199de823d2de2647
1
'use strict';
2
var Marionette = require('backbone.marionette');
3
4
module.exports = (function() {
5
var hash = {};
6
7
Marionette.Behaviors.behaviorsLookup = function() {
8
return hash;
9
};
10
11
return {
12
register: function(name, behaviour) {
13
hash[name] = behaviour;
14
}
15
};
16
})();