CODE
function Cnds() {};
Cnds.prototype.IsLargeNumber = function (number)
{
return number > 100;
};
Cnds.prototype.asd = function ()
{
return true;
};
pluginProto.cnds = new Cnds();
//////////////////////////////////////
// Actions
function Acts() {};
Acts.prototype.Alert = function ()
{
FBInstant.context
.chooseAsync()
.then(function() {
this.runtime.trigger(cr.plugins_.MyCompany_CustomImporter1.prototype.cnds.asd, this);
// 1234567890
});
};
pluginProto.acts = new Acts();
when i remove the "FBInstant.context.chooseAsync()" it can trigger the "trigger"
what is wrong with it?