2015年8月20日 星期四

implementing class, function

function googleuploadAPI () {

            var PATH;
            var BUCKET;
            var downloadlink;
}


googleuploadAPI.prototype.insertObjectAccessControls = function (callback) {}
googleuploadAPI.prototype.insertObject = function (tf,uploadDetail,callback) {};

=========================================

function parseAPI (CLASSt) {

this.readParse = function (classt,index,val) {};

}

=========================================
var uploadAPI=new googleuploadAPI();
uploadAPI.insertObject(f,uploadDetail,function(){
          var PARSEAPI= new parseAPI();
    PARSEAPI.writeSignleCol("Building","Name","???","BuildingIntro",uploadAPI.downloadlink,function () {
                      alert("2");
                    });
                });


沒有留言:

張貼留言