Vulcan/client/main.js

16 lines
392 B
JavaScript
Raw Normal View History

// Session variables
2015-03-28 18:30:26 +09:00
Session.set('postsLimit', Settings.get('postsPerPage', 10));
2014-07-06 14:09:55 +09:00
// Sort postModules array position using modulePositions as index
2014-12-13 17:43:52 +09:00
postModules = _.sortBy(postModules, 'order');
postHeading = _.sortBy(postHeading, 'order');
2014-07-15 07:45:37 +09:00
postMeta = _.sortBy(postMeta, 'order');
Meteor.startup(function () {
$('#rss-link').attr('title', i18n.t('new_posts'));
2014-11-29 11:14:44 +09:00
});
2015-03-28 18:30:26 +09:00
// AutoForm.debug();