add new JPushPlugin ,else plugin not loaded

This commit is contained in:
zhangqinghe 2014-07-23 17:08:13 +08:00
parent bce9508ec5
commit 734077536b

View File

@ -1,4 +1,7 @@
var JPushPlugin = function(){
};
JPushPlugin.prototype.isPlatformIOS = function(){
return device.platform == "iPhone" || device.platform == "iPad" || device.platform == "iPod touch" || device.platform == "iOS"
}