shoes / shoes3

a tiny graphical app kit for ruby
http://walkabout.mvmanila.com
Other
181 stars 19 forks source link

Migrating from NSIS Unicode to QtIFW #330

Closed IanTrudel closed 7 years ago

IanTrudel commented 7 years ago

Advantages in the future:

ccoupe commented 7 years ago

One question in the javascript is

if (installer.value("os") === "win")

Is that how js compares things?

IanTrudel commented 7 years ago

JavaScript === is used for strict equal where it also ensures the objects both sides are of the same type. Then == would be an abstract equal where type conversion may be applied. Excerpt from https://www.impressivewebs.com/why-use-triple-equals-javascipt/ 👍

console.log(99 == "99"); // true
console.log(0 == false); // true

console.log(99 === "99"); // false
console.log(0 === false); // false