【发布时间】:2016-02-10 17:08:16
【问题描述】:
我用 angularjs 和 parse.com rest api 制作了一个应用程序。
一切正常,但是当使用 grunt “构建”时,我在 uglify 任务中出现错误。
代码:
service.create(token,{
tipo:$scope.datos.tipo,
raza:$scope.datos.raza,
title:$scope.datos.titulo,
descrip:$scope.datos.descrip,
contact:$scope.datos.contact,
ACL: {
[userid] : { "read": true, "write": true }, // <-- error on variable
"*" : {"read": true}
}
})
我该如何解决这个问题?谢谢
【问题讨论】:
标签: javascript angularjs json parse-platform gruntjs