-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopen_dig.js
More file actions
36 lines (23 loc) · 959 Bytes
/
open_dig.js
File metadata and controls
36 lines (23 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(function() {
var OpenDig, _ref,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
OpenDig = (function(_super) {
__extends(OpenDig, _super);
function OpenDig() {
_ref = OpenDig.__super__.constructor.apply(this, arguments);
return _ref;
}
OpenDig.set('media_server', 'http://media.opendig.org');
OpenDig.set('site', 'umayri');
OpenDig.root('fields#index');
OpenDig.resources('fields');
OpenDig.resources('squares');
OpenDig.route('loci/:locus_id', 'loci#show');
Batman.DOM.Yield.clearAllStale = function() {
return {};
};
return OpenDig;
})(Batman.App);
window.OpenDig = OpenDig;
}).call(this);