Thanks to visit codestin.com
Credit goes to github.com

Skip to content

History / JavaScript Tips and Gotchas

Revisions

  • Updated JavaScript Tips and Gotchas (markdown)

    @flimzy flimzy committed Aug 4, 2023
  • update wiki

    @pjebs pjebs committed Feb 12, 2020
  • Recomment fmtless context until GopherJS supports Go1.13+

    @pjebs pjebs committed Feb 12, 2020
  • change ref

    @pjebs pjebs committed Dec 17, 2019
  • Adding 'tips to shrink the Gopherjs output' section

    @upsampled upsampled committed Feb 19, 2019
  • Added hint about "Putting "non-scalar" types (like slices, arrays, and maps) in JS-structs doesn't work"

    @theclapp theclapp committed Jun 19, 2018
  • Oops, I was actually wrong about that, sorry!

    @Programmerino Programmerino committed Apr 24, 2018
  • Now GopherJS automatically replaces the HTTP library with a XHR version, which makes the binding unnecessary, as said by the author of said binding.

    @Programmerino Programmerino committed Apr 24, 2018
  • Added a paragraph about "Goroutines not waking up from sleep when you expect"

    @theclapp theclapp committed Apr 20, 2018
  • Fixed a typo, added some formatting.

    @theclapp theclapp committed Apr 9, 2018
  • Added a gotcha about decoding JSON into mixed Go/JS data structures.

    @theclapp theclapp committed Apr 9, 2018
  • Remove the link under "it only looks at the field at index 0" since it's easy for that line to change.

    @theclapp theclapp committed Apr 26, 2017
  • Move "wrap" tip under Tips heading; minor gofmt improvement.

    @dmitshur dmitshur committed Feb 7, 2017
  • Indent snippets to be aligned, gofmt, more consistent formatting.

    @dmitshur dmitshur committed Feb 7, 2017
  • Added level 3 headings to separate gotchas and tips sections

    @myitcv myitcv committed Feb 7, 2017
  • Updated JavaScript Tips and Gotchas (markdown)

    @myitcv myitcv committed Feb 7, 2017
  • Updated JavaScript Tips and Gotchas (markdown)

    @myitcv myitcv committed Feb 7, 2017
  • Remove reference to issue which has been resolved and refused.

    @flimzy flimzy committed Jan 31, 2017
  • Updated JavaScript Tips and Gotchas (markdown)

    @flimzy flimzy committed Jan 31, 2017
  • Update text based on outcome of the issue.

    @dmitshur dmitshur committed Dec 29, 2016
  • Fix Link that was not recognized by Github

    @zephyr zephyr committed Aug 25, 2016
  • Added: Do not use items or fields of type js.Object directly

    @theclapp theclapp committed Jul 13, 2016
  • Added a bullet point on *js.Object must be first in a struct.

    @theclapp theclapp committed Jul 13, 2016
  • Changed title

    @theclapp theclapp committed May 21, 2016