D
D
Dizic2019-04-29 12:12:09
Node.js
Dizic, 2019-04-29 12:12:09

Why does NWJS fire twice?

I use the editor from Microsoft
Addition https://marketplace.visualstudio.com/items?itemNam...
package.json:

{
  "main": "assets/index.html",
  "name": "AlkahCraft",
  "version": "0.1",
  "window": {
    "icon": "assets/img/icon.png",
    "title": "AlkahCraft",
    "toolbar": false,
    "width": 800,
    "height": 500,
    "frame": false,
    "resizable": false
  },
  "webkit": {
    "page-cache": true,
    "plugin": false
  }
}

in index.html added text: and it worked twice why ?
alert("gg")

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question