mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
9 lines
383 B
JavaScript
9 lines
383 B
JavaScript
import { makeVoteable, addVoteType } from 'meteor/vulcan:voting';
|
|
import Movies from './movies/collection.js';
|
|
|
|
makeVoteable(Movies);
|
|
|
|
addVoteType('angry', { power: -1, exclusive: false});
|
|
addVoteType('sad', { power: -1, exclusive: false});
|
|
addVoteType('happy', { power: 1, exclusive: false});
|
|
addVoteType('laughing', { power: 1, exclusive: false});
|