Skip to content

Instantly share code, notes, and snippets.

@mytc
mytc / meteor method save document using jagi astronomy v2
Created May 10, 2016 16:06
The method cannot be saved using jagi astronomy
EditSpace(data){
if(Roles.userIsInRole(this.userId, ['admin'])){
let input = {
title : data['title'].trim(),
content : data['content'],
location : data['location'],
tag : data['tag'],
col : Number(data['col']),
row : Number(data['row']),
}