mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
31 lines
No EOL
692 B
JavaScript
31 lines
No EOL
692 B
JavaScript
Meteor.subscribe('users');
|
|
|
|
Posts = new Meteor.Collection('posts');
|
|
Meteor.subscribe('posts');
|
|
|
|
Comments = new Meteor.Collection('comments');
|
|
Meteor.subscribe('comments', function() {
|
|
StyleNewRecords = new Date();
|
|
});
|
|
|
|
Notifications = new Meteor.Collection('notifications');
|
|
Meteor.subscribe('notifications');
|
|
|
|
Settings = new Meteor.Collection('settings');
|
|
Meteor.subscribe('settings', function(){
|
|
|
|
// runs once on site load
|
|
|
|
if((proxinoKey=getSetting('proxinoKey'))){
|
|
Proxino.key = proxinoKey;
|
|
Proxino.track_errors();
|
|
}
|
|
});
|
|
|
|
$.fn.exists = function () {
|
|
return this.length !== 0;
|
|
}
|
|
|
|
$(document).bind('keyup', 'ctrl+n', function(){
|
|
$('.notifications').toggleClass('hidden');
|
|
}); |