<commit_before>Meteor.methods({

	// Use Meteor methods if you need to call any sever method from the client

	addOrder() {
		console.log('ok');
	},

	removeOrder() {
	},

	addDish() {
	},

	updateDish() {
	},

	removeDish() {
	},

	addCategory() {
	},

	renameCategory() {
	},<commit_msg>addDish, removeDish methods<commit_after>Meteor.methods({

	// Use Meteor methods if you need to call any sever method from the client

	addOrder() {
	},

	removeOrder() {
	},

	addDish(name, price, category_id, image_url, resturant_id) {
		var dish = {
			name: name,
			price: price,
			category_id: category_id,
			image_url: image_url,
			resturant_id: resturant_id
		};
		if(Dishes.find({name: name, resturant_id: resturant_id}).count() === 0) {
			Dishes.insert(dish);
		}
	},

	updateDish() {
	},

	removeDish(_id) {
		Dishes.remove({_id: _id});
	},

	addCategory() {
	},

	renameCategory() {
	},
{'fraction_non_alphanumeric': 0.15582959641255606, 'fraction_numerical': 0.0011210762331838565, 'mean_word_length': 3.626943005181347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2251214', 'n_tokens_mistral': 380, 'n_tokens_neox': 342, 'n_words': 71}