Report about typos or mistakes for a manuals and api docs (SOLVED)

Will be great to have feature on site like this plugin: https://wordpress.org/plugins/report-an-error/
User can pick out mistake press ctrl+enter then enter comment (maybe also captcha) and report about mistake or typo.
I think it will be more effective than report about every mistake on forum.

1 Like

And some mistakes:

  if (transaction.state == iap.TRANS_STATE_PURCHASED) then
    -- do server-side verification of purchase here..
    iap.finish(self, transation)
  end

iap.finish(self, transation) - should have only one parameter. http://www.defold.com/ref/iap/#iap.finish:transaction
transation - should be transaction (c was lost)


params = {facebook.PARAM_LEVEL = 30, facebook.PARAM_NUM_ITEMS = 2};
facebook.post_event(facebook.EVENT_SPENT_CREDITS, 25, params);

facebook.PARAM_LEVEL - should be in [] like

{[facebook.PARAM_LEVEL] = 30, [facebook.PARAM_NUM_ITEMS] = 2};

; - of cource lua allow to use ; but it’s contradicts to style of all other examples


I found more on last week, but I forgot most in most case.
Feature what I suggest will help to report about mistake and not to forget about it.

2 Likes

Thank you for reporting these! @sicher, will you do the update?

1 Like

Thanks, I’ll fix these.

1 Like

And actually… :slight_smile:

3 Likes

Wow! It was all time? Or new feature?

It’s a new feature.

1 Like

Super! Thank you!
Now make a bug report will be much easier!

2 Likes