parse-angular-patch 不再工作

parse-angular-patch not working anymore

我很高兴使用 parse-angular-patch。众所周知,parse.com 将在几个月后关闭。为了在parse开源服务器上使用parse SDK,您需要将javascript SDK版本升级到最新版本(1.9.2)。

我今天尝试将解析 javascript 版本升级到 1.9.2,但我的应用程序停止工作。我收到以下错误。

parse-angular.js:62 Uncaught TypeError: 
Cannot read property 'prototype' of undefined(anonymous function) 
@ parse-angular.js:62(anonymous function) 
@ parse-angular.js:60e 
@  angular.js:4142(anonymous function) 
@ angular.js:4065s 
@ angular.js:323ab  
@ angular.js:4064d 
@ angular.js:1447tc 
@ angular.js:1470Jd 
@ angular.js:1415(anonymous function) 
@ angular.js:26063j 
@ jquery.js:3094fireWith 
@ jquery.js:3206ready 
@ jquery.js:3412I 
@ jquery.js:3428

这是我的应用声明。

angular.module('app',[
    ...
    'parse-angular',
    'parse-angular.enhance',
    ...
])

我正在使用 angular 1.3.14。是否有人尝试使用 parse js sdk 迁移现有的 angular v1 代码来解析服务器基础架构并成功。任何帮助将不胜感激,以解决上述错误。

我今天刚遇到同样的问题,发现了这个:

https://github.com/JeremyPlease/parse-angular-patch

这似乎适用于新的解析 SDK。